Okay, I've got it working now. Being that I am a total hack as it goes with Linux, what I did to get it working may or may not be recommended. And, who knows if I've broken something. So, you've been warned.
However, I uninstalled logwatch, postfix & mailx. Then I installed "sendemail" according to uxbod's suggestion above. Didn't seem to help or do anything.
But then I followed the instructions found at this link and added one more thing:
sending eMail on comand line (&logwatch) - Ubuntu 6.06 Quote:
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!
|
The last step is what might just be a bad 'hack' by me, but logwatch started working for me after I did this:
Quote:
|
ln -s /opt/zimbra/postfix-2.4.7.5z/sbin/sendmail /usr/sbin/sendmail
|
Hopefully, that will help others, and more hopefully, someone who really knows what they're doing will respond with approval or an understandable correction.
Cheers!
kazoo