david wrote: > Roberto Milani wrote: > >> > >> >Roberto - I noticed in your original email you had the lines >> something like >> > >> >mailcmd=/opt/local/bin/msmtp -t ; --from blah >> > AND >> >serveremail=from=blah >> > >> >In mailcmd everything after the ; will be ignored as a comment >> >In serveremail - well - it should throw an error... >> > >> >I would probably test by adding the --debug to the mailcmd and watch >> >the logs. I also don't know mstmp but does it have a '-t' option? >> > >> >Brett >> Hi Brett >> msmtp is a stand-in for sendmail (using another SMTP server) so it has >> a -t option >> the real problem is that it never get called. >> even if I use the test mode: >> mailcmd=cat \> /tmp/astvm-mail >> to send the output to a file. >> Ciao >> Roberto >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> >> > Are you relaying the mail through your isp? > Are you using a system wide /etc/msmtprc > or for user asterisk > ~.msmtprc > > Some more info may help; ibm bin # cd /usr/sbin ibm sbin # ls -l sendmail lrwxrwxrwx 1 root root 14 Apr 21 08:26 sendmail -> /usr/bin/msmtp
I have nothing in /etc/voicemail.conf like; mailcmd=/opt/local/bin/msmtp -t ; --from blah I just use /etc/msmtprc, this is for bellsouth; account default host mail.bellsouth.net auto_from on maildomain bellsouth.net syslog LOG_MAIL -- Powered by Gentoo GNU/Linux http://linuxcrazy.com _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
