[asterisk-users] voicemail not sending emails

Roberto Milani roberto.milani at sbcglobal.net
Wed May 14 15:27:42 CDT 2008


On May 14, 2008, at 1:00 PM, 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
>
> -- 
> Powered by Gentoo GNU/Linux
> http://linuxcrazy.com

Yes I'm using my isp
I'm using ~.msmptrc
and it works, but not from asterisk
It seems that it doesn't get called at all.

Ciao
Roberto





More information about the asterisk-users mailing list