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

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Wed Jun 28 06:35:20 EDT 2006

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()?

Just to guess, did you modified /etc/mail/mimedefang-filter at all?

> restarting mimedefang as solution works, but isnt nice ...

What do you mean with this sentence?
What is working after restart?


Steffen Kaiser

More information about the MIMEDefang mailing list