[exim] Deny domains with nonexistent MX

Top Page
Delete this message
Reply to this message
Author: Odhiambo G. Washington
Date:  
To: exim-users
Subject: [exim] Deny domains with nonexistent MX
Hello,

Forgive me if I have missed an obvious answer to this in spec.txt.

What is the best way to deny smtp service to a sender_domain whose
MX records don't exist? I would like to do this even if the host is
in my +relay_from_hosts. For example, if I host a domain and I disable
dns entries for it, sender_addresses using that domain and are in my
+relay_from_hosts can still send mail via my server. I want to stop
that as well.
Other than listing them in a file and doing a lookup, is there another
straight way within exim, something close to what reverse_host_lookup,
but this time for MX only?



        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                    . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash _at_ wananchi _ dot _ com        . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121            . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post