|Main Archive Page > Month Archives > postfix-users archives|
-----BEGIN PGP SIGNED MESSAGE-----
Nasser Heidari said the following on 06/03/11 06:43:
> Now I want to rewrite All of my emails domain from test.local to
> test.edu when they traveling to outside network.
I have many similar installations: Exchange (often on Windows SBS) inside and
Postfix as border MTA.
My solution is this, giving the domain name example.com and the exchange
On the Exchange server you configure each user with _main_ SMTP address
firstname.lastname@example.org and another SMTP address email@example.com (you can
also add SMTP addresses for example.local, but could not be needed).
In the Exchange SMTP connector you tell Exchange to use Postfix MTA as smart
relay (you have to enclose Postfix IP in square brackets in the appropriate
field of SMTP connector).
In Postfix you create an alias table (using /etc/aliases, or a database of your
choice) like this:
Of course you have to tell Postfix to deliver all the mail for
exchange.example.com to exchange server
If you follow this procedure, or something linke this, your email from Exchange
will have firstname.lastname@example.org because you have set it as the main email address
I have a bad feeling about this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----