[Mimedefang] filter_sender not running at all

Jan Pieter Cornet johnpc at xs4all.nl
Tue Oct 11 08:33:47 EDT 2005

On Tue, Oct 11, 2005 at 09:11:39AM +0500, Anton Kudris wrote:
> Hello.
> I'm suspecting that my filter_sender() sub doesn't work, because it
> consists of only one line:
>  md_syslog('warning', "filter sender is working");
>  and i don't see anything in logs.
>  In man there is a note, that mimedefang should be run with -s switch.
>  I'm using mimedefang as a filter from sendmail (here is sendmail.mc
>  config part):
>  INPUT_MAIL_FILTER(`mimedefang',
>  `S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:1m;R:1m')
>  do I need to change something in sendmail config ?

Are you sure you read the manual about filter_sender? Look at the
mimedefang-filter manpage, at the filter_sender section. Specifically,
the sentence starting with "Note that for this check to take place, you
must use...".

See also MX_SENDER_CHECK in your rc.mimedefang, if you have one.

#!perl -wpl # mmfppfmpmmpp mmpffm <pmmppfmfpppppfmmmf at fpffmm4mmmpmfpmf.ppppmf>
$_[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