[rt-users] How to change mail sender address in envelope

Emmanuel Lacour elacour at easter-eggs.com
Wed Jan 16 14:24:50 EST 2008


On Wed, Jan 16, 2008 at 07:41:33PM +0100, Michal Rybarik wrote:
> Hi,
> 
> some mailservers don't accept emails from our RT. This is caused by 
> sender address in outgoing mail envelope, which is 
> "apache at equinox.eccenet.sk" (apache is web server and equinox.eccenet.sk 
> is server hostname). This mail address is not valid - there is no 
> address apache@ recipient on this server, and also, equinox.eccenet.sk 
> is machine in corporate LAN, which has no publicly available MX record 
> (there is another mailserver to communicate with the world, and relaying 
> mail to and from equinox).
> 
> So I want RT to put another address in the envelope, or to rewrite 
> envelope to something else, for example somerealaddress at ecce.sk or so. I 
> cannot find the way how to do it. Any ideas? Thanks a lot...
> 

Depending of your smtp (here postfix), you can add something like this
to your RT_SiteConfig.pm:

Set($SendmailArguments , '-oi -t -f"<youre_wanted at from.address>"');




More information about the rt-users mailing list