cant send mail with mutt
I have been trying to resolve this but with no success and dont know where to look.
I'm trying to send a logfile with mutt, like this
It works to an internal adress on the zimbra server, but not to a external account, ex my gmail account
mutt -s "Backuplog" -a /tmp/filescopied.log.gz email@example.com < /var/log/zimbrabackup.log
cannot figure out why.
running zimbra 6 ocn debian 5. Sending mail is working from zimbra to external accounts, i am using a smart host relay for this if it matters
I've no other MTAs running
I've made a symbolic link from zimbras post fix to /usr/sbin/postfix
someone hwo have any clues?
Check /var/log/zimbra.log when you send the email to see why Postfix is refusing to send it.
Well... thats another strange thing. That log is over a day old, i think that log havn't been appended since I configured a smart host relay in the sac. Could that be right.
Originally Posted by uxbod
I now have made my script sending a mail to admin@FQDN on the zimbra and configured a filter on that accaount to forward any mail comming fron root@FQDN to the ritgh address.
A workaround, but I am still curious why it wouldn't work sending.
That log should be updating for which I would restart the syslog daemon first; and if that fails to kick it into action then schedule a Zimbra restart.
Create a .muttrc file with the content