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: Simon J Mudd (sjmuddpobox.com)
Date: Sun Jan 02 2000 - 14:45:16 CST


giulioopobox.com (Giulio Orsero) writes:

> 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.

Do you need to distinguish between the deferred and non-deferred smtp?
The postfix serverA (out of the box) will simply see that there is no
route to the Internet and defer the delivery of the mail to those
destinations. When the link goes up you can simply do a 'postfix
flush' to empty the queue.

However this won't work if you are using some sort of dial on demand
which would be triggered by postfix's first attempt to deliver
"Internet mail" by smtp, and you want to avoid this type of traffic
triggering the connection to the Internet.

Simon

-- 
Simon J Mudd, Madrid SPAIN    Tel: +34-91-408 4878    email: sjmuddpobox.com



This archive was generated by hypermail 2b27 : Sun Jan 02 2000 - 16:43:36 CST