OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: 19991231 and transport map

Re: 19991231 and transport map


Subject: Re: 19991231 and transport map
From: Wietse Venema (wietseporcupine.org)
Date: Sun Jan 02 2000 - 12:44:47 CST


If you use transport map entries to match domain names, the left-hand
side must match the domain name.

To route mail for host X without using DNS,

   fully.qualified.domain.name.of.X smtp:[the.ip.address.of.X]

Please point out where the documentation made you believe otherwise.

        Wietse

Giulio Orsero:
> On Sun, 2 Jan 2000 11:20:00 -0500 (EST), hai scritto:
>
> >Why are you delivering local mail via an SMTP loopback link?
>
> There is a box (with postfix), call it serverA, which accepts mail for
> the internet from a lan via smtp, queues it (smtp is deferred) and sends
> it when the dialup link goes up.
>
> There is another box in the lan, with postfix, call it serverB.
>
> I want users of serverA to be able to send mail to anotheruserserverB
> via smtp.
>
> smtp is deferred because serverA is not connected to the net all the
> time, but I want smtp deliveries for local servers be immediate.
>
> Till now I managed to do this but creating a new transport in master.cf
> (a copy of smtp transport with another name), this transport is not
> deferred; then I put a line in /etc/postfix/transport telling postfix
> that when it receives mail for serverB it should deliver it using the
> not-deferred smtp transport (which I called lansmtp).
> This worked so far.
>
> Now I upgraded to the latest official release. I used the old master.cf
> and main.cf; when I send mail for anotheruserserverB, postfix on
> serverA does a dns lookup for MX of serverB. This didn't happen before,
> at least so it seems to me. Now the local-smtp delivery is done after
> the dns timeout insted of immediately.
>
> I'm asking if something is changed in the "transport" handling that
> could cause this.
> I'm sorry if I sent wrong info in the last emails. Hope this is ok.
>
> Thanks.
>
> --
> giulioopobox.com
>
>
>



This archive was generated by hypermail 2b27 : Sun Jan 02 2000 - 12:48:07 CST