[asterisk-users] How to change sendmail return path

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Dec 19 08:39:49 CST 2007


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