OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
postfix smtp relay to multiple destinations

From: Andre Mamitzsch (andremamitzsch.de)
Date: Fri Sep 14 2007 - 03:01:21 CDT


Hi,

We have postfix running as a relay for incoming messages. This postfix
relays the mails to our internal mail servers load-balanced via MX-entries.
I' m not really happy with that kind of delivery, I furthermore want to
relay one incoming mail simultaneously via SMTP to both internal mail
servers, which are responsible to perform the local delivery to the user
directory.

The story behind is that we want to operate the two internal mail
servers as true "shared-nothing systems" to avoid issues with
synchronous replications.
Today , the two systems deliver the messages to a shared storage system.
In the future, we would like to split this storage system - each of our
mail servers will have his own storage.
The storage systems should operate absolutely independent from each
other - no synchronous replication will happen between them. We have
seen far too many issues with this in the past.

The user directories ( one maildir exist for the user on each storage
system ) are synchronised on a application level, which usually happens
within seconds.

Is there a way to "duplicate" an incoming message and send it off to two
mail servers simultaneously ? I could not find a hint in the
documentation - any help is highly appreciated.

Andre