Some mail servers don’t comply with the RFC, and as a result you won’t be able to receive mails from them, because your mail server is too well-configured. Exim is one of those good mail servers, and nichandle.ovh.net is one those ill-configured mail servers.
nichandle.ovh.net is used by OVH (french ISP) to send important e-mails to its clients, like your password for your new xDSL connection. But if you use exim, since some time you won’t receive OVH mails anymore, because of this:
H=xx.mail-out.ovh.net [XX] sender verify defer for <email@example.com>: could not connect to robot.ovh.net [XX]: Connection refused H=xx.mail-out.ovh.net [XX] F=<firstname.lastname@example.org> rejected RCPT <root@mailserver>: relay not permitted H=xx.mail-out.ovh.net [XX] incomplete transaction (QUIT) from <email@example.com>
As you can see, Exim tries to check that firstname.lastname@example.org is a real email address by connecting to nichandle.ovh.net and doing this simple stuff :
EHLO mailserver MAIL FROM: <> RCPT TO: <email@example.com>
It won’t really send a mail to the sender, it will just check on the senders mail server if the address exists. This is a simple but effective idea to fight against spam, and it’s well known and implemented. You can read more on wikipedia on this subject: Callback verification.
For OVH, there’s a problem: nichandle.ovh.net (who is in fact an alias for robot.ovh.net) is not a mail server. It’s SMTP port 25 isn’t even open. So that will be hard for Exim to connect and check if the senders address exists, because nichandle.ovh.net doesn’t appear to be a mail server at all, so it rejects the mail.
I opened a ticket on OVH tracking interface but meanwhile I wanted to receive the OVH emails so I added a sender verify whitelist to Exim. For that you’ll have to add to the beginning to your exim configuration:
addresslist whitelist_senders = wildlsearch;/etc/exim4/whitelist_senders
require verify = sender
(Note that it might also be require verify = sender/callout.) With this:
deny !verify = sender !senders = +whitelist_senders deny !verify = sender/defer_ok/callout=10s !senders = +whitelist_senders
Then you’ll have to edit /etc/exim4/whitelist_senders and add whitelisted senders. It can be a single email address, or a wildcard:
*@nichandle.ovh.net firstname.lastname@example.org abuse@*