[asterisk-users] How to change sendmail return path

Johansson Olle E oej at edvina.net
Wed Dec 19 01:11:25 CST 2007


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.

/Olle

---
* Olle E. Johansson - oej at edvina.net
* Asterisk Training http://edvina.net/training/






More information about the asterisk-users mailing list