Results 1 to 7 of 7

Thread: Sending email locally

  1. #1
    greywolf is offline Intermediate Member
    Join Date
    Feb 2007
    Location
    Richmond, Virginia
    Posts
    18
    Rep Power
    8

    Question Sending email locally

    Is there a way to send email from local server via command line to the zimbra server? I want to email the zimbra local logs to myself so I can track spam rejections and warning messages and am unsure how to do this via command line. I would like just use mailx to send them but I am getting a "Mailing to remote domains not supported" when attempting it.

    Thanks,
    Steve

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    Can't you use the cli version of sendmail to achieve what you want?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    greywolf is offline Intermediate Member
    Join Date
    Feb 2007
    Location
    Richmond, Virginia
    Posts
    18
    Rep Power
    8

    Default

    This is probably more of a local server issue than a Zimbra issue. When I use the command line, it never connects to zimbra postfix. I see nothing in the Zimbra logs but I get the error reported back to my local email account.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,582
    Rep Power
    57

    Default

    Are you on the same network? Are you authenticating against the Zimbra server? I'm not really a cli user myself and I've never used sendmail in that mode.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    greywolf is offline Intermediate Member
    Join Date
    Feb 2007
    Location
    Richmond, Virginia
    Posts
    18
    Rep Power
    8

    Default

    I probably should have been more specific in what I'm trying to do. Sorry about that.

    On the Zimbra server its self, I'm trying to locally scan /var/log/zimbra.log, create a separate file with relevant entries and then email that second log to my Zimbra account.

    -Steve

  6. #6
    lars_BE is offline Senior Member
    Join Date
    Jul 2006
    Location
    BELGIUM
    Posts
    54
    Rep Power
    9

    Default

    hi,

    i use mutt for sending from command line, it goes like this:
    mutt -s "subject" -a /tmp/attached_file.gz lars@we.be < /tmp/body.txt

    of course with sendmail i can be done too:

    $ /usr/sbin/sendmail lars@we.be
    hi Lars !!
    CTRL-D

  7. #7
    BenZi is offline Intermediate Member
    Join Date
    Jun 2009
    Posts
    19
    Rep Power
    6

    Default

    Hi,
    I'm trying to perform the same : send email locally.
    In order to do that, I use "mutt" but the following error appears :

    #mutt -d 5 -s "subject" me@domain.tld < file.txt
    Debugging at level 5.
    Error sending message, child exited 127 (Exec error.).
    Could not send the message.

    Any clue please ?
    Last edited by BenZi; 03-30-2010 at 02:44 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 11-07-2010, 01:54 PM
  2. Replies: 3
    Last Post: 07-19-2007, 02:00 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •