Wietse Venema via Postfix-users:
> > Also, would check_recipient_mx_addres query just one MX record (the one 
> > with the highest priority)?
> 
> check_recipient_mx_addres matches MX hostnames in the order as received.

check_recipient_mx_addres tries to match an MX hostname (in MX
record) against the tcp_table, before tries to match its IP address
(from A or AAAA recored) against the tcp_table. Then it tries the next
MX hostname, and so on.

The tcp_table should therefore always reply with a 'FOUND' result,
so that check_recipient_mx_addres never does any address lookups.

Your tcp_table should not return NOTFOUND because that can result
in many tcp_table lookups per recipient, like nr of MX rcords plus
nr of address records for all MX hosts combined.

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to