On Mon, 18 Feb 2008, Ask Bj?rn Hansen wrote:
On Feb 14, 2008, at 7:12 PM, Charlie Brady wrote:
qmail could/should detect this by recognizing that 0.0.0.0 is a loopback
address, and that the recipient domain isn't listed in rcpthosts. But
there's a bug. And a patch:
http://www.suspectclass.com/~sgifford/qmail/qmail-0.0.0.0.patch
I don't know what postfix does, but I expect it's sane.
qpsmtpd could/should refuse any message where MX of the sender or recipient
domain is 0.0.0.0.
Where should we put this logic? Which standard plugin that's commonly used
would it best fit into?
require_resolvable_fromhost already contains logic to detect such domains.
I don't think there's any similar check for rcpt domain. We'd want such a
check to be done for mail from permitted relay clients.
(Goofy to make a plugin just for this, I think ...)
Maybe. But maybe it's only required to protect MTAs which don't do
adequate validity checking of their own.