Mon 08 Jan 2007 06:08:28 PM UTC, original submission:
I recently set up exim's sender verify callout to avoid some of the huge lot of spam I receive daily. When a remote SMTP connects to my server, my server checks if the sender address exists by connecting to the address's SMTP server, and issuing HELO, MAIL FROM, and RCPT TO commands.
A similar system has been implemented recently inside Debian, on an opt-in basis.
Since I set this up, I couldn't receive mail from gna anymore. I investigated the issue, and understood that when my server connects to mail.gna.org to check an address, it runs into a 30s timeout caused by the ident check on mail.gna.org:
rfc1413_hosts = *
rfc1413_query_timeout = 30s
Indeed, I see ident requests coming in, and connection being refused (I don't run an indent daemon). It's strange that mail.gna.org doesn't that the connection is refused, and continues to try to connect for 30s, but that's not the main issue, since the issue would be the same for servers which filter ident requests.
I think that the timeout for the ident check should be decreased to something like 5s, or the check should be completely removed (is it really of much use ?)
A list of other affected mail targets is available with
grep "451 Could not complete sender verify callout" /var/log/exim4/mainlog.1 /var/log/exim4/mainlog
Thank you
|