[Mimedefang] message_rejected not working?

David F. Skoll dfs at roaringpenguin.com
Tue Apr 28 16:12:40 EDT 2009


Kevin A. McGrail wrote:
> I'm testing a bad attachments routine in filter().

> Emails to multiple recipients seem to have the same entity tested 
> repeatedly.  However, I'm not using stream_by_recipient so I would have 
> thought that an action_discard() would have triggered the "return if 
> message_rejected()" test at the beginning of the filter() subroutine.

md_graphdefang_log (by default) loops over all of @Recipients, which
is why it looks like the test is being done for each recipient.  It's
not.  The *logging* is done for each recipient.

Regards,

David.



More information about the MIMEDefang mailing list