Results 1 to 2 of 2

Thread: sending eMail on comand line (&logwatch) - Ubuntu 6.06

Hybrid View

  1. #1
    Join Date
    May 2006
    Location
    Germany
    Posts
    30
    Rep Power
    9

    Default sending eMail on comand line (&logwatch) - Ubuntu 6.06

    Hiya,

    I've a zimbra 4.5 NE installation on Ubuntu 6.06 Server.

    PROBLEM: Send email from local server via command line:
    My problem is following, that I'm not able to send eMails on CLI or via logwatch and always got the message "sendmail: invalid option -- s"


    1) Installed the
    • MTA Dummy Package (dpkg -i mta-dummy_1.0_all.deb)
    to resolve mailer dependencies
    • Logwatch (apt-get install logwatch)

    Recognized that zimbra places the postfix-sendmail compatibility binary in
    /opt/zimbra/postfix-2.2.9/sbin/sendmail
    and proceeded.

    Config [vi /etc/logwatch/conf/logwatch.conf] to
    mailer = /opt/zimbra/postfix-2.2.9/sbin/sendmail
    I also tried "sendmail -t" and many other possibilities

    2) echo "test" | /opt/zimbra/postfix-2.2.9/sbin/sendmail -s test mymail@de.mail.com
    sendmail: invalid option -- s
    sendmail: fatal: usage: sendmail [options]

    3) logwatch
    sendmail: invalid option -- s
    sendmail: fatal: usage: sendmail [options]

    Any idea or clue why it's not working?

    Cheers
    Christian

    * As reference I checked:
    http://www.zimbra.com/forums/adminis...l-locally.html
    http://www.zimbra.com/forums/adminis...ding-mail.html
    http://www.zimbra.com/forums/adminis...ch-debian.html
    http://www.zimbra.com/forums/adminis...-logwatch.html
    ...
    --
    Zimbra NE - Ubuntu 6.06 LTS : FC SAN

  2. #2
    Join Date
    May 2006
    Location
    Germany
    Posts
    30
    Rep Power
    9

    Default sending eMail on comand line (&logwatch) - Ubuntu 6.06 [SOLVED]

    SOLUTION:
    -----------

    1) MTA Dummy Package

    "To install mailx without additional postfix" use "mta-dummy" package
    e.g.
    • wget http://ubuntu.lnix.net/misc/mta-dumm...my_1.0_all.deb
    • dpkg -i mta-dummy_1.0_all.deb

    Please check my further posts or google for it. It allows installing packages by resolve mailer dependencies.

    2) Use apt-get to install the 'mailx' package.

    3) Edit /etc/mail.rc to add the following:
    set sendmail=/opt/zimbra/postfix/sbin/sendmail

    4) ) Install Logwatch
    • apt-get install logwatch

    Tested mail by CLI & logwatch - OK!

    Big THANKS for the great support of Sean Gallagher from Zimbra Network Support Team

    RESOLVED, everything works fine.

    Cheers
    Christian
    --
    Zimbra NE - Ubuntu 6.06 LTS : FC SAN

Similar Threads

  1. Replies: 3
    Last Post: 11-07-2010, 12: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, 02: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
  •