Hi All, I have asterisk 1.8.3.2 and having issue with not getting VoiceMail email. I can send mail through command line using sendmail but not via asterisk. We have centralized zimbra email server. why its trying to send email to local 127.0.0.1 address? is there any other configuration i am missing ? $cat voicemail.conf serveremail=asterisk at shirley.example.com sendvoicemail=yes 7623 => 2222,Satish Patel,satish at example.com,,attach=yes|delete=yes $cat /var/log/mail.log Apr 11 12:57:57 shirley sendmail[29698]: p3BJvvtp029698: from=asterisk, size=9339, class=0, nrcpts=1, msgid=<Asterisk-1-1388167162-7623-29658 at shirley>, relay=asterisk at localhost Apr 11 12:57:57 shirley sendmail[29698]: p3BJvvtp029698: to="Satish Patel" <satish at example.com>, ctladdr=asterisk (50011/50011), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=39339, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110411/4167772e/attachment.htm>
suck sendmail !!!!
Solution:
sudo apt-get remove sendmail
sudo apt-get install ssmtp mailutils
From: satish_lx at hotmail.com
To: asterisk-users at lists.digium.com
Date: Mon, 11 Apr 2011 20:11:27 +0000
Subject: [asterisk-users] Voicemail to email issue
Hi All,
I have asterisk 1.8.3.2 and having issue with not getting VoiceMail email. I can
send mail through command line using sendmail but not via asterisk. We have
centralized zimbra email server. why its trying to send email to local 127.0.0.1
address? is there any other configuration i am missing ?
$cat voicemail.conf
serveremail=asterisk at shirley.example.com
sendvoicemail=yes
7623 => 2222,Satish Patel,satish at example.com,,attach=yes|delete=yes
$cat /var/log/mail.log
Apr 11 12:57:57 shirley sendmail[29698]: p3BJvvtp029698: from=asterisk,
size=9339, class=0, nrcpts=1, msgid=<Asterisk-1-1388167162-7623-29658 at
shirley>, relay=asterisk at localhost
Apr 11 12:57:57 shirley sendmail[29698]: p3BJvvtp029698: to="Satish
Patel" <satish at example.com>, ctladdr=asterisk (50011/50011),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=39339, relay=[127.0.0.1]
[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20110411/e2bed0e1/attachment-0001.htm>
that is a sendmail issiue. Obviously asterisk is contacting 127.0.0.1 to try and deliver e-mail. Try help with sendmail folks, check that 127.0.0.1 is in the allowed to relay list or so.. On 11 April 2011 21:11, satish patel <satish_lx at hotmail.com> wrote:> Hi All, > > I have asterisk 1.8.3.2 and having issue with not getting VoiceMail email. > I can send mail through command line using sendmail but not via asterisk. We > have centralized zimbra email server. why its trying to send email to local > 127.0.0.1 address? is there any other configuration i am missing ? > > $cat voicemail.conf > > serveremail=asterisk at shirley.example.com > sendvoicemail=yes > > 7623 => 2222,Satish Patel,satish at example.com,,attach=yes|delete=yes > > > > $cat /var/log/mail.log > > Apr 11 12:57:57 shirley sendmail[29698]: p3BJvvtp029698: from=asterisk, > size=9339, class=0, nrcpts=1, > msgid=<Asterisk-1-1388167162-7623-29658 at shirley>, relay=asterisk at localhost > Apr 11 12:57:57 shirley sendmail[29698]: p3BJvvtp029698: to="Satish Patel" > <satish at example.com>, ctladdr=asterisk (50011/50011), delay=00:00:00, > xdelay=00:00:00, mailer=relay, pri=39339, relay=[127.0.0.1] [127.0.0.1], > dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110411/f0d5e397/attachment.htm>