Change email messages to NOT use from=<wwwrun

Is there an easy way change it so emails sent from RT are sent through the
mail server using a legitimate user and NOT the wwwrun or Apache user?

Thanks.

Alan

Is there an easy way change it so emails sent from RT are sent through the
mail server using a legitimate user and NOT the wwwrun or Apache user?

Are you asking about the Sender header or about the envelope from?

seph

The sender header - where in the Postfix mail log I see
from=…to=ablake@timptech.com

I can change the envelope easily through a scrip, I can’t however, determine
where this wwwrun is being set.

Alan-----Original Message-----
From: seph [mailto:seph@directionless.org]
Sent: Thursday, March 24, 2005 5:03 PM
To: Alan Blake
Cc: rt-devel@fsck.com
Subject: Re: Change email messages to NOT use from=<wwwrun

Is there an easy way change it so emails sent from RT are sent through the
mail server using a legitimate user and NOT the wwwrun or Apache user?

Are you asking about the Sender header or about the envelope from?

seph

er, that sounds backwards.

My memory is that postfix doesn’t add Sender headers, and that the
logs are displaying the envelope, which I don’t think you can set at
all.

seph

“Alan Blake” ablake@timptech.com writes:

Is there an easy way change it so emails sent from RT are sent through the
mail server using a legitimate user and NOT the wwwrun or Apache user?

If you are using sendmailpipe you can add -fenvelope@sender.net to
$RT::SendmailArguments in SiteConfig.

If you’re using smtp, I think you can use $RT::SMTPFrom

-R