Permissions? Try running msmtp from the asterisk account? (Assuming that is how you have it setup) I don't know msmtp - but is there a maillog equivalent?
MD -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roberto Milani Sent: May 13, 2008 7:49 PM To: Asterisk Users List Subject: [asterisk-users] voicemail not sending emails 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; [EMAIL PROTECTED] ;mailcmd=cat \> /tmp/asteriskvm-mail format=wav attach=yes [EMAIL PROTECTED] 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,[EMAIL PROTECTED] 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 _______________________________________________ -- 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
