I do have a mail transport agent configured It is msmtp and it is working just fine I tested it on the command line and I receive the test email
I have a link from sendmail pointing to msmtp. but it never get called. Ciao Roberto On May 15, 2008, at 12:54 AM, gres wrote: > i think you have to have a mail transport agent like sendmail or > postfix > installed and configured on your asterisk box , however if you > forward the > mails to say hotmail or yahoo or gamil those servers will reject the > mail > transfere > > ----- Original Message ----- > From: "david" <[EMAIL PROTECTED]> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <[email protected]> > Sent: Wednesday, May 14, 2008 1:00 PM > Subject: Re: [asterisk-users] voicemail not sending emails > > >> 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 >> >> -- >> 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 >> > > > _______________________________________________ > -- 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 _______________________________________________ -- 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
