Le 07/11/2010 12:09, Lennart Johansson a écrit :
Hi all,

I have a Postfix server doing relaying for a Lotus Domino system, some 
(domino)users have there own mailbox + a  shared  mailbox with its own mail 
address.
 From time to time users sends mail from the shared mailbox and the mail header 
look like this

sender: u...@domain.com
from: shared-m...@domain.com
return-path: u...@domain.com

There is nothing strange about this, and most of the time it works just fine. 
But if possible I would like to change return-path to the value of from field 
so that if somebody replies to a mail (or there is a bounce) the mail ends up 
in the shared mailbox and not in the sending users mailbox.
Does anybody have any suggestions how to accomplish this in postfix?


In principle, reply goes to the From: header address (ore reply-to if present). so you shouldn't have problems with replies.

Bounces go the envelope-sender however.

to change the envelope sender based on headers, you'll need to write a content filter that does so. But is it worth the pain?


Reply via email to