[Gllug] Rejecting mail at backup MX

Bruce Richardson itsbruce at uklinux.net
Tue Feb 10 13:32:12 UTC 2004


On Tue, Feb 10, 2004 at 12:15:15PM +0000, Jack wrote:
> > There is no canonical way to deal with it.  Which mta do you use?  Exim 4
> > offers a very simple mechanism for dealing with it but that's no use to
> > you if you are using something else.
> 
> Postfix.
> 
> I use $local_recipient_maps together with $virtual_maps on my primary MX.
> On the backup MX, I have the appropriate domains in $relay_domains.

Right.  Well, if your backup MX were running Exim, you could use its
"call forward" feature where it can (if so configured) check the
recipients on incoming mail with the end system that it will eventually
deliver the mail to and reject the recipient if the end system does so.
It does this for each recipient as they are given in the course of the
smtp conversation, so no NDRs are generated by your system.  If the end
system can't be contacted then it can optionally defer or accept the
recipient.

I haven't used Postfix for anything serious in some time (come to think
of it, I replaced the last Postfix set-up a few weeks ago), so I don't
know if it has a similar feature.  I'd be interested to know if it does.
If not, your practical alternatives are LDAP lookups (which you said you
don't want) or synchronising user maps between the two boxes.

-- 
Bruce

I object to intellect without discipline.  I object to power without
constructive purpose. -- Spock
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20040210/0c0c43a4/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list