Chris Petersen writes:
In my attempt to combat spam, I've been building a rather large bofh
file. Part of this is a decently-sized section of freemail
definitions. I recently passed these to a friend who gets more mail
traffic than I do, and he noticed that
freemail aol.com
was causing messages to be rejected. His maillog shows:
May 27 09:35:49 penny courieresmtpd:
error,relay=::ffff:64.12.137.3,from=<vali...@aol.com>: 517-Sender
rejected: vali...@aol.com can be accepted only from
Reversing that IP address shows that it is imo-m22.mx.aol.com - clearly
within the "aol.com" domain, and according to the documentation, this
should have been accepted.
Our first guess is that this is a subdomain issue (courier is seeing
"mx.aol.com" as the domain and not bothering to look further). If this
is the case, either courier should be fixed to match further up the
subdomain change, or the docs should be ammended to mention this issue
so that it can be avoided.
I reviewed this code and determined that this can occur if there was a
temporary DNS error resolving the IP address back to the hostname.
This will be fixed in the next release.