--- On Fri, 3/22/13, James Curtis <[email protected]> wrote:
> I'm trying to piece together a filter
> that logs and blocks traffic that is unnecessary.  I
> can't get md_graphdefang_log to put in an entry for items
> that are refused because of 'User unknown' responses. 

The problem is that when Sendmail has already determined an error has occurred 
based on its rulesets, the corresponding milter function is NOT called - thus 
there will be no such log entry for the above error unless your MD filter code 
determines that the user is unknown, not sendmail.

I don't know whether other MTAs (e.g. postfix) that have the milter interface 
behave similarly.

This means that the only things that MD will get to log are things that passed 
the MTA's checks.  In part, this makes sense in that there's no reason to call 
the milter if the MTA has already determined an error.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to