[asterisk-users] How to change sendmail return path
shadowym
shadowym at hotmail.com
Wed Dec 19 17:44:15 CST 2007
Thanks for the info Tilghman,
I had high hopes for this solution for unfortunately it's not working. Did
exactly as you specified but "return path" is still "asterisk at domain.com"
even though "serveremail=noreply at domain.com" in voicemail.conf :(
-----Original Message-----
From: Tilghman Lesher [mailto:tilghman at mail.jeffandtilghman.com]
Sent: Wednesday, December 19, 2007 6:40 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to change sendmail return path
On Wednesday 19 December 2007 01:11:25 Johansson Olle E wrote:
> 19 dec 2007 kl. 01.07 skrev shadowym:
> > Unfortunately that only changes the "from" field. So if you were to
> > reply
> > to the email that is the one Outlook would use. The receiving mail
> > system
> > looks at the "return path" in the header of the email to determine
> > if it is
> > valid. "serveremail" and "fromstring" do not change that.
> >
> > Again, the "return path" in the email is set to
> > "asterisk at mydomain.com". I
> > can easily change "mydomain.com" in sendmail but cannot figure out
> > how to
> > change "asterisk".
>
> Sendmail has a notion of "trusted" users that are allowed to change the
> envelope sender's address. Your Asterisk process userid propably does
> not
> belong to that group. Add it to the group in the wonderfully elegant
> and simple
> sendmail configuration and change the mailcommand in voicemail.conf
> so that you specify another sender.
The line to do this is "Tasterisk" in sendmail.cf or in sendmail.mc:
define(`confTRUSTED_USERS', `asterisk')dnl
--
Tilghman
More information about the asterisk-users
mailing list