[asterisk-users] voicemail not sending emails

Roberto Milani roberto.milani at sbcglobal.net
Tue May 13 18:48:47 CDT 2008


Hello list users

I have a very nice installation of asterisk on a mac mini.
Everything seems to work fine, call works, vm works, even message  
transfer works but asterisk doesn't send any email.
this is my voicemail.conf:

[general]

mailcmd=/opt/local/bin/msmtp -t; --from=myemail at server.ext
;mailcmd=cat \> /tmp/asteriskvm-mail
format=wav
attach=yes
serveremail=from=myemail at server.ext
emailsubject=New message from ${VM_CALLERID}
emailbody=Hi, ${VM_NAME}!\n\nYou have a new message from $ 
{VM_CALLERID} in mailbox ${VM_MAILBOX}.
fromstring=My Telephone System

;max and min length of a message
maxmessage = 180

maxlogins = 3


[default]
100 => 4711,Front Desk,roberto.milani at sbcglobal.net

as you can see I'm using msmtp for mail and I tested it outside  
asterisk an it works.
from the commented line you can se that I tried to cat the output to a  
file but that never happens.
It really seems that asterisk don't send the emails.

any suggestions?

Thanks
Roberto



More information about the asterisk-users mailing list