[asterisk-users] voicemail not sending emails

OCG Technical Support support at ocg.ca
Tue May 13 21:28:33 CDT 2008


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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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; --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

_______________________________________________
-- 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




More information about the asterisk-users mailing list