Sender verify callout
- Server the eMail was sent from is checked
Verify the existence of email senders
- eMail is checked for validity regardless of where it is sent from
I think this statement is incorrect. I am not 100% sure but from my knowledge. By both means it is no matter where is the email come from. It is not necessary to send from the same server as MX record.
'Verify the existence of email senders' is a validation by lookup if there is a valid MX record for the sender email address. That's it.
'Sender verify callout' is the validation by sending SMTP request to the MX record of the sender email. SMTP request sent by NULL address <> (sparek-3 already explain it above post) which some of the server out there block it. This is the real pain as the sender verification will be failed. I have posted several times the EXIM ACL to use Sender verify callout with the lowest problem. I will post here again.
First in create the whiletist files at the first box of EXIM advanced editor.
Code:
domainlist rv_callout_sender_domain_whitelist = lsearch;/usr/local/cpanel/base/eximacl/rv_callout_sender_domain_whitelist
domainlist rv_callout_receiver_domain_whitelist = lsearch;/usr/local/cpanel/base/eximacl/rv_callout_receiver_domain_whitelist
Then for the verify = sender/callout amd change it to.
Code:
##
# Callout (create SMTP connection to test the sender address
# Deny unless the sender address can be verified.
# Testing only the sender that not listed in the callout whitelist and dsn.rfc-ignorant.org
##
deny message = From email address must be valid
# do not check address for lists or bounces
# or people in our company contact database
!senders = ^.*-request@.*:\
^bounce-.*@.*:\
^.*-bounce@.*:\
^owner-.*@.*:\
^listmaster@.*:\
^root@.*:\
^anonymous@.*:\
^nobody@.*
!domains = +rv_callout_receiver_domain_whitelist
!sender_domains = +rv_callout_sender_domain_whitelist
# Do not check for DSN-ignorant domains
# those that don't accept MAIL FROM:<>
!dnslists = dsn.rfc-ignorant.org/$sender_address_domain
!verify = sender/callout=10s,defer_ok