[Mimedefang] Including archetypal filters to include in release?

Jan Pieter Cornet johnpc at xs4all.nl
Tue Jan 10 16:31:42 EST 2006


On Tue, Jan 10, 2006 at 02:01:21PM -0700, Philip Prindeville wrote:
> 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".

Try changing "info" to "emerg", and see if that fixes it. If it does,
it's a syslog issue, not a mimedefang issue.

> Also, what messages go into /var/log/maillog that indicate that a message
> was REJECTed?

On my system, something like:

DATE TIME HOSTNAME sm-mta[PID]: QUEUEID: Milter: to=<TOADDR>,
    reject=CODE EXTCODE MESSAGE

... but I'd suggest you force a reject somehow via telnet to port 25 on your
test system, and inspect the logs (you DO have a test system, don't you?)

-- 
#!perl -wpl # mmfppfmpmmpp mmpffm <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$p=3-2*/[^\W\dmpf_]/i;s.[a-z]{$p}.vec($f=join('',$p-1?chr(sub{$_[0]*9+$_[1]*3+
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):qw(m p f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig;                                # Jan-Pieter Cornet



More information about the MIMEDefang mailing list