[Mimedefang] no filtering happening, no errors to be seen - how to troubleshoot?

Michael Lang michi+mimedefang at relay3.jackal-net.at
Thu Jun 29 10:54:54 EDT 2006


On Wed, 2006-06-28 at 12:35 +0200, Steffen Kaiser wrote:
> On Wed, 28 Jun 2006, Michael Lang wrote:
> 
> > On Wed, 2006-06-28 at 09:46 +0200, Steffen Kaiser wrote:
> >> 1) E.g.: use md_syslog() in all your filter_* functions to log the
> >> information you care about in your filter.
> >>
> >> 2) Put a new header in your mail.
> >>
> >> BTW: Did you checked for the X-Scanned-By header in the mail?
> >>
> >> Are your multiplexor running with the correct settings?
> > X-Scanned-By gets inserted but nothing else, no additional Headers
> > (and the should be inserted on every mail)
> > No Error in the Logs, looks like just exiting immediatly
> 
> When you see the  X-Scanned-By header (and the contents points toward 
> MIMEDefang), MIMEDefang seems to work ;-)
> 
> So, did you put md_syslog()'s into the particular functions?
> Did you added a new header _unconditionally_, e.g. in sub filter_begin()?

yes, i change the SA User from MailAddress to an Uid what gets logged by
'md_syslog'

> 
> Just to guess, did you modified /etc/mail/mimedefang-filter at all?
yes, and everything works find for an uncounted period of time. 

> 
> > restarting mimedefang as solution works, but isnt nice ...
> 
> What do you mean with this sentence?
> What is working after restart?
imean, that's not the it should be :)
the Filters are working correctly after the restart
(spam gets classifed, headers get inserted, ... )

but thanks for taking a look, i know that's not a good problem
description, but if i would have more informations it wouldnt be a
problem :) 
maybe i can get a trace of the slaves next time it apears.

Kind regards
Michael Lang

> 
> Bye,
> 
> 
-- 
Michael Lang <michi+mimedefang at relay3.jackal-net.at>




More information about the MIMEDefang mailing list