[asterisk-users] How to change sendmail return path
shadowym
shadowym at hotmail.com
Tue Dec 18 17:57:52 CST 2007
"servermail=" changes what shows up in the "from" section of the email. It
doesn't change what shows up in the email header which is what the mail
system looks at as the REAL return path.
-----Original Message-----
From: Mark Michelson [mailto:mmichelson at digium.com]
Sent: Tuesday, December 18, 2007 11:57 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to change sendmail return path
shadowym wrote:
> Is there a way to change the return path sendmail uses when sending out
> voicemail to email?
>
> Currently the voicemails my asterisk system emails out have a return path
of
> "asterisk at mydomain.com"
> I would like the return path to be "noreply at mydomain.com"
>
> I cannot find any place where I can change that.
>
> I tried adding a sendmail alias to send "asterisk" to "noreply" and even
> tried "root"
> There are no config options anywhere in any asterisk *.conf or *.inc file
> which affect this
> There is nothing in my etc/hosts file which would cause the "asterisk".
>
> I'm running CentOS 5.1, Asterisk 1.4.15, FreePBX 2.3.1
The option you are looking for is called "serveremail". By default, if this
is
not set, it will be set to "asterisk". Set this in the [general] section of
voicemail.conf.
Mark Michelson
More information about the asterisk-users
mailing list