OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Fetch mail via ETRN?
From: Wietse Venema (wietseporcupine.org)
Date: Sat Feb 05 2000 - 07:58:46 CST


Ralf Hildebrandt:
> I want to setup my box as a fallback MX host for a domain whose mailserver
> isn't online all the time. My machine is supposed to queue the mail until
> that other machine comes up and tries to flush the queue by issuing an ETRN
> command.
>
> How do I tell my box to accept & queue the mail for that domain?

Add the domain to $relay_domains. Something like:

    relay_domains = $mydestination, the.remote.domain

With this, Postfix will accept mail for the remote domain, and will
defer delivery when the host isn't up. It will also try to the
deliver the mail again occasionally, and will bounce the mail as
undeliverable when the remote domain is off-line for too long.

Meanwhile, the remote site can trigger delivery with ETRN.

> A combination of virtual & transport?

No, the above is sufficient. With modern mailers you don't need
much to forward mail for another domain.

        Wietse