Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Backup MX: verifying addresses

2006-12-08 by Matthias Scheler

On Fri, Dec 08, 2006 at 08:39:22AM +0100, Oliver Fromme wrote:
> Is there a _simple_ solution to solve the problem?

Simple: yes
Comfortable: no

> My idea is to have a milter that tells the secondary's
> sendmail which addresses are valid on the primary.

Sendmail supports that out of the box:

1.) Add the domain to "/etc/mail/relay-domains" on the secondary MX and
    reload sendmail.

2.) Add entries to "/etc/mail/access" on the secondary MX which look
    like this:

To:valid-address-1@...			RELAY
To:valid-address-2@...			RELAY
To:valid-address-3@...			RELAY
[...]
To:do.main					error:5.1.1:550 User unknown

That will do the job. The problem is keeping "/etc/mail/access" uptodate
on the secondary MX.

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.