OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Secondary relayhost

From: Magnus Bäck (magnusdsek.lth.se)
Date: Fri Apr 02 2004 - 04:35:16 CST


On Friday, April 02, 2004 at 12:29 CEST,
     Aaron Roberts <aarondomicilium.com> wrote:

> I have a setup where a postfix server accepts emails for a small
> number of relay_domains and simply forwards them on over SMTP to a
> virus scanner. I use the relayhost = option for this. When the
> virus scanner is unavailable, I would like email to be relayed to a
> different server.

Why not use content_filter? Anyway, the hostname in relayhost is subject
to MX lookups (unless surrounded by brackets), so setup suitable MX
records in DNS.

--
Magnus Bäck
magnusdsek.lth.se