Forcing email headers

For various reasons, I need to force particular headers on all sent messages from the PP to my mail server.

The problem comes down to a client user, with a gmail account, for example, sending mail outbound through my mail server. Generally, you'd never allow such things in a tightly-run mta. Furthermore, my outbound relay (rollernet), would never let me send a message from my domain, with a gmail From: address. PP sends alerts as if they came from the PP user (or person).

The other issue is that, no matter that the email alerts state, "DO NOT REPLY TO THIS MESSAGE", people still do. I know, I know....

So I want to force the From: and Reply-To: fields to something of my choosing, like noreply@.... I'd also like to force the Return-Path:, so I can track bounces.

I looked through the Swift website, but couldn't dig up the variables.

Can I set this in our config/config.php somehow?

Thanks,
Josh

Ok, I found where to manipulate this in the notification component.

BTW, see my bug about email notifications for comments on messages.

Josh
Denver, CO

Hi,

This has been bugging me a bit as well, and I am considering modifying how the email system works for PP. I think your changes might be a useful starting point.

It would also be useful to discuss things in IRC or the mailing list if your keen.