Hi Matteo,
On berlin.example.com server how you define the users?
Local user like user2 user3 .. without virtual domain is correct?
Yes. When not using any database/ldap you create just system accounts,
login is primary-e-mail-address, i.e. user2
When setting mydestination to berlin.example.com postfix strips the
domain part and looks for a local user with the name part of the e-mail.
So all alias configuration like bob.us...@example.com or
sa...@example.com has to be done in the virtual a the central server.
Which is quite handy as you only have to deal with one virtual file.
You need to do something extra mydestination (on berlin....) to receive
correctly mail from
us...@berlin.example.com to user2 ?
No, just make sure to strip out example.com on server berlin. He is not
in charge for this domain, only for berlin.example.com.
BTW: The users don't need to know about the subdomains. They just send
out as us...@example.com.
For berlin.example.com which smtp server you use it self or external
(for send mail ?
On all branch servers always set the central server as relayhost. Every
e-mail has to make a loop, because the central one knows all the
aliases, makes the routing decisions and can probably filter if needed.
The central server is the only one to receive and send to the outside
world. Another bonus here: Only one place with a logfile to search for
lost communication.
Groetjes
Claus
--
--
Claus R. Wickinghoff, Dipl.-Ing.
using Linux since 1994 and still happy... :-)