OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: 2 postfix server on the same domain in different regions

From: Matteo D'Alfonso (werewolflinux.it)
Date: Fri Nov 30 2007 - 08:30:04 CST


Il giorno ven, 30/11/2007 alle 14.42 +0200, Antonis Faragitakis ha
scritto:
> Hello all,
>
> I have one domain name and two email server in different regions.
> What I'm trying to do is to use both mail servers under the same domain
> but without the need of subdomains for example mailone.mydomain.gr
> mailtwo.mydomain.gr, I want all users to have an email address like
> usermydomain.gr and when i sent an email to user1domain.gr and he/she
> is located at region1 or region2, postfix to undestard at which mail
> server it have to send the email.
>
> Can you please guide me?

You need to search "Postfix relaying depending on recipient address" in
the archive, mouss suggested to use transport_maps.

> Cheers

HTH,
Matteo alias Werewolf.

P.S. this question is becoming a FAQ :)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBHUB5seEwLLyTJSVYRAl9QAJ9UbXSN1/FWN9Z7wGlB+zlNsk3ryQCfWdlc
W8E57vsDXmfck3JOGVAT0xM=
=FRJ5
-----END PGP SIGNATURE-----