[asterisk-users] Bug in voicemail's serveremail setting in 1.4.18

OCG Technical Support support at ocg.ca
Wed Mar 19 09:43:54 CDT 2008


Getting closer....this seems to be a sendmail issue not asterisk.

 

It seems that if sendmail is run with -f (from) using any account other than
root, the from domain is NOT trusted, and so sendmail does ns lookup - which
of course resolves back to our firewall.

 

So it seems that I need to tell sendmail to trust the asterisk account or
voicemail from address....

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of OCG Technical
Support
Sent: March-19-08 9:57 AM
To: Asterisk Users List
Subject: Re: [asterisk-users] Bug in voicemail's serveremail setting in
1.4.18

 

For more info, I grab the relevant portion of the maillog.  It looks like
asterisk is trying to send using the right from email, but it's getting
changed.  This would suggest a sendmail problem, EXCEPT, it works fine when
I send mail from the command line.  Can anyone offer ideas?

 

Mar 19 09:41:07 pbx sendmail[28458]: m2JDf7AJ028458:
from=voicemail at pbx.MYDOMAIN.COM, size=57772, class=0, nrcpts=1,
msgid=<Asterisk-1-208889898-290-2040 at pbx.MYDOMAIN.COM>, relay=root at localhost

Mar 19 09:41:07 pbx sendmail[28459]: m2JDf7E1028459:
from=<voicemail at firewall.MYDOMAIN.COM>, size=57908, class=0, nrcpts=1,
msgid=<Asterisk-1-208889898-290-2040 at pbx.MYDOMAIN.COM>, proto=ESMTP,
daemon=MTA, relay=pbx.MYDOMAIN.COM [127.0.0.1]

Mar 19 09:41:07 pbx sendmail[28458]: m2JDf7AJ028458: to="TEST" <testuser>,
ctladdr=voicemail at pbx.MYDOMAIN.COM (0/0), delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=87772, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(m2JDf7E1028459 Message accepted for delivery)

Mar 19 09:41:07 pbx sendmail[28460]: STARTTLS=client, relay=[172.31.254.35],
version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-MD5, bits=128/128

Mar 19 09:41:07 pbx sendmail[28460]: m2JDf7E1028459: to=<test at MYDOMAIN.COM>,
delay=00:00:00, xdelay=00:00:00, mailer=smtp, pri=118089,

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of OCG Technical
Support
Sent: March-19-08 9:41 AM
To: Asterisk Users List
Subject: [asterisk-users] Bug in voicemail's serveremail setting in 1.4.18

 

Since upgrading from asterisk 1.2.x to 1.4.18 I've noticed a change (bug) in
the voicemail messaging emailing operation.  I had set serveremail option
to:

 

voicemail at pbx.mydomain.com

 

and under ast 1.2.x messages arrived at user mailboxes from
voicemail at pbx.mydomain.com .  However, since upgrading emails arrive from
voicemail at firewall.mydomain.com  (the path from asterisk box to our corp
mail server runs through firewall.mydomain.com).  Before someone jumps to
the obvious conclusion, I tried sending mail using "sendmail
me at mydomain.com" from the asterisk box, and the return address is correct!!
So, Asterisk is somehow messing up the return address.

 

It appears that as of asterisk 1.4.x, voicemail is incorrectly setting the
return address - just how/why I don't know.  The FROM name is properly set,
and the from email is partially set right (voicemail@) but the remainder of
the "serveremail" is wrong.

 

Is there something else I need to change?  Can someone explain this?

 

Thanks,

MD

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080319/73160b85/attachment.htm 


More information about the asterisk-users mailing list