Jan Pieter Cornet wrote:
So? Net::CIDR::Lite to the rescue:
$ perl -MNet::CIDR::Lite -le \
'print join("\n",
Net::CIDR::Lite->new("212.145.160.0-212.145.223.255")->list)'
212.145.160.0/19
212.145.192.0/19
I'll have a look at this. In the meantime, a different issue. I've
peppered md_syslog()
into the code, as in:
sub filter_relay($$) {
my ($hostname, $hostip) = @_;
md_syslog('info', "$QueueID: relay: $hostname, $hostip");
my $ip = inet_aton($hostip);
...
but I'm not seeing these messages output, even after doing a "reread".
Also, what messages go into /var/log/maillog that indicate that a message
was REJECTed?
-PHilip
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang