[Mimedefang] Including archetypal filters to include in release?

Philip Prindeville philipp_subx at redfish-solutions.com
Tue Jan 10 16:01:21 EST 2006


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




More information about the MIMEDefang mailing list