Hanno Hecker wrote:
Ok, here it is...
now the plugin accepts ip/mask pairs in the form
require_resolvable_fromhost 192.168.0.0/16 10.0.0.0/8
which are treated as invalid MX IPs, in addition to the default ones
defined in %invalid.
I hate to do this to you, but I've been having an offlist conversation
with Roger Walker, who pointed out that some people bind qpsmtpd to all
interfaces (0.0.0.0) and hence localhost might be valid. Rather than
make him hack his private copy, wouldn't it make more sense to populate
%invalid from a config/invalid_resolvable_fromhost file, then provide an
example file containing what you currently list in %invalid.
If you don't have time to change this, I'll see about doing so before
committing your patch. Fair warning, though, I am leaving for a three
week vacation next week and this may get put off, so anyone who wants to
jump in here is welcome to do so!
John