|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Victor Duchovni (Victor.Duchovni
MorganStanley.com)
Date: Thu Jul 12 2007 - 08:44:03 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jul 12, 2007 at 09:08:49AM +0200, Carsten Tschach wrote:
> Hello,
>
> with my old smail/exim configuration I do had a real-user transport which
> was able to deliver eMails to mailboxes by ignoring the local .forward file.
>
>
> An example for what this is needed:
>
> I want to deliver eMails to either user1 or user2. Whenever an eMail
> arrives it should deliver to that user, but a copy of it should be also
> send to the other user. The .forward-files looks like this:
>
> user1: .forward: user2, real-user1
> user2: .forward: user1, real-user2
main.cf:
transport_maps = hash:${config_directory}/transport
nodotfwd_destination_recipient_limit = 1
nodotfwd_destination_concurrency_limit = 2
master.cf:
nodotfwd unix - n n - - local
-o forward_path=
transport:
nodotfwd.localhost nodotfwd:localhost
As for the ".forward" files:
~user1/.forward: user1
nodotfwd.localhost, user2
nodotfwd.localhost
~user2/.forward: user2
nodotfwd.localhost, user1
nodotfwd.localhost
Both of the RHS addresses must be directed to the nodotfwd transport to
avoid a loop. When mail is sent to both users each will receive two
copies. It may be possible to work around the duplicate deliveries in
Postfix 2.5 (some but not all of the cases can be solved in earlier
releases).
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo
postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]