Joan Antoni Terre
2009-Aug-24 13:55 UTC
[asterisk-users] Problems sending voicemail emails
Hi everybody, I'm trying my Asterisk to send emails when a new message arribes to a voicemail user but no email arribes. my voicemail configuration is the following: VOICEMAIL.CONF: [general] format=wav serveremail=asterisk at mydomain.com attach=yes maxmsg=20 maxsecs=180 minsecs=3 maxsilence=10 silencethreshold=128 maxlogins=3 fromstring="My Asterisk" When I look at maillog file, this is what I get: * n7OCivth003603: from=root, size=5340, class=0, nrcpts=1, msgid=< Asterisk-1-227856683-222-3479 at MYSERVER>, relay=root at localhost * n7OCiw9W003604: from=<root at localhost.localdomain>, size=5473, class=0, nrcpts=1, msgid=<Asterisk-1-227856683-222-3479 at PROSIMA>, proto=ESMTP, daemon=MTA, relay=MYSERVER [127.0.0.1] * n7OCivth003603: to="Test User 1" <testuser at mydomain.com>, ctladdr=root (0/0), delay=00:00:06, xdelay=00:00:05, mailer=relay, pri=35340, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7OCiw9W003604 Message accepted for delivery) * n7OCiw9W003604: to=<testuser at mydomain.com>, ctladdr=< root at localhost.localdomain> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=125473, relay=mx1.datagrama.net. [212.9.65.111], dsn=5.1.8, stat=User unknown * n7OCiw9W003604: n7OCj49W003606: DSN: User unknown * n7OCj49W003606: to=<root at localhost.localdomain>, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=36710, dsn=2.0.0, stat=Sent I don't understand why it looks as the message is been sent (Message accepted for delivery) but then I get the message "dsn=5.1.8, stat=User unknown" and fiinally I get the message "Sent" but I don't receive any email. do I have to change any configuration? Many thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090824/d17d8a23/attachment.htm
Start with simple mail testing (forget asterisk) Does mx1.datagrama.net accept messages for testuser at mydomain.com ? Try a telnet session first... _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joan Antoni Terre Sent: Monday, August 24, 2009 9:56 AM To: Asterisk Users List Subject: [asterisk-users] Problems sending voicemail emails Hi everybody, I'm trying my Asterisk to send emails when a new message arribes to a voicemail user but no email arribes. my voicemail configuration is the following: VOICEMAIL.CONF: [general] format=wav serveremail=asterisk at mydomain.com attach=yes maxmsg=20 maxsecs=180 minsecs=3 maxsilence=10 silencethreshold=128 maxlogins=3 fromstring="My Asterisk" When I look at maillog file, this is what I get: * n7OCivth003603: from=root, size=5340, class=0, nrcpts=1, msgid=<Asterisk-1-227856683-222-3479 at MYSERVER>, relay=root at localhost * n7OCiw9W003604: from=<root at localhost.localdomain>, size=5473, class=0, nrcpts=1, msgid=<Asterisk-1-227856683-222-3479 at PROSIMA>, proto=ESMTP, daemon=MTA, relay=MYSERVER [127.0.0.1] * n7OCivth003603: to="Test User 1" <testuser at mydomain.com>, ctladdr=root (0/0), delay=00:00:06, xdelay=00:00:05, mailer=relay, pri=35340, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n7OCiw9W003604 Message accepted for delivery) * n7OCiw9W003604: to=<testuser at mydomain.com>, ctladdr=<root at localhost.localdomain> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=125473, relay=mx1.datagrama.net. [212.9.65.111], dsn=5.1.8, stat=User unknown * n7OCiw9W003604: n7OCj49W003606: DSN: User unknown * n7OCj49W003606: to=<root at localhost.localdomain>, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=36710, dsn=2.0.0, stat=Sent I don't understand why it looks as the message is been sent (Message accepted for delivery) but then I get the message "dsn=5.1.8, stat=User unknown" and fiinally I get the message "Sent" but I don't receive any email. do I have to change any configuration? Many thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090824/909ad6ee/attachment.htm