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:
Sending email locally Logwatch stops sending mail? [SOLVED] Logwatch & Debian Multi-server and Logwatch
...