Re: [exim] Lowest MX records test

Top Pagina
Delete this message
Reply to this message
Auteur: Magnus Holmgren
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Lowest MX records test
On Wednesday 27 December 2006 03:44, Marc Perkel wrote:
> How would I do this in an ACL? I want to test to see if the IP of the
> interface that my server received the message on is the lowest MX record
> for the domain that it's being sent to.


This might work, but I'm not completely sure:

domains = @mx_primary/ignore=!$interface_address

Should match if the recipient domain is one that the local host is a primary
MX for, ignoring all addresses except the interface accepting the connection.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans