Thank's, i explain better why i need it, i need to do sò because i need
to reduce
the traffic between server b to server a and viceversa this is
for me the first priority.
Il 11/02/2011 14:28, Victor Duchovni ha scritto:
On Fri, Feb 11, 2011 at 01:35:51PM +0100, Matteo Cazzador wrote:
Hello i've a new question about two postfix server with the same mail
domain for different users.
Example
server a -> a...@example.com
a...@example.com
server b ->b...@example.com
b...@example.com
this is my question, is it possibile to receive to the correct mail to the
correct server without use $myhostname in mydestination or
virtual_mailbox_domains
/etc/postfix/virtual
All MX hosts for the domain need to accept mail for both users. All
the users need to route to the right destination. If you don't want
to rewrite (alias), you can use per-user transport table entries to
select the right transport:nexthop pair. This works best when none
of the MX hosts are the final host where the mailbox is located,
otherwise you need different transport tables on each host.
Your allergy to rewriting is I believe unwarranted, generally it is
best to in-fact rewrite the two users to addresses in two different
domains that are each routed to the right destination via per-domain
transport entries. In some cases you can rewrite back the primary
logical address of the user in [sl]mtp_generic_maps as mail is sent
to the destination mailstore via SMTP or LMTP.
--
Rispetta l'ambiente: se non ti è necessario, non stampare questa mail.
Le informazioni contenute in questa e-mail e nei files eventualmente allegati
sono destinate unicamente ai destinatari della stessa e sono da considerarsi
strettamente riservate. E' proibito copiare, salvare, utilizzare, inoltrare a
terzi e diffondere il contenuto della presente senza il preventivo consenso, ai
sensi dell'articolo 616 c.p. e della Legge n. 196/2003. Se avete ricevuto
questo messaggio per errore siete pregati di comunicarlo immediatamente
all'indirizzo mittente, nonché di cancellarne il contenuto senza procedere ad
ulteriore o differente trattamento.
******************************************
Ing. Matteo Cazzador
NetLite snc di Cazzador Gagliardi
Corso Vittorio Emanuele II, 188 37069
Villafranca di Verona VR
Tel 0454856656
Fax 0454856655
Email: mat...@netlite.it
Web: http://www.netlite.it
******************************************