Hi and thanks for your reply, What does it take to write a content filter that does this and will it slow down the postfix server? I guess that all messages has to go pass the filter. Its about 100 shared mailboxes and 300 senders and I know witch users that sends from the shared mailboxes. Any pointers in the right direction is apriciated.
Best regards Lennart Johansson >>> mouss <mo...@ml.netoyen.net> 2010-11-07 17:22 >>> 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? -- Meddelandet har kontrollerats mot virus och skadligt innehÃ¥Ãll och förmodas vara säkert. Klicka här för att rapportera det som SPAM. http://mail.lj-teknik.se/cgi-bin/learn-msg.cgi?=B316027EF9.A29A3