* Patrick Chemla <patrick.che...@perfaction.net>: > Hi, > > I am managing my emails on 2 Postfix 2.7 servers. > > A front smtpd server receives all messages from outside and inside > users, and a back server handles email boxes for local domains > deliveries. > > I am trying to send directly messages from the front smtpd to the > back server without looking to MX from DNS. > > So, in the /etc/postfix/transport file, I put lines as follow: > > example1.com :[10.0.0.2] > example2.com :[10.0.0.2] > example3.com :[10.0.0.2] > example4.com :[10.0.0.2] > > exampleN.com are domains to relay directly to internal server > 10.0.0.2 without looking to DNS (using brackets). > > I have run postmap transport and postfix reload.
postfix reload is not needed (I think) > I made some simple tests puting mails through a telnet to port 25 of > the front server. > > It still lookup for MX for domains exampleN.com and delivers through > an outside address. How do you know that? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de