[Mimedefang] not receiving quarantine notifications

David F. Skoll dfs at roaringpenguin.com
Thu Dec 19 20:09:00 EST 2002


On Thu, 19 Dec 2002, Ashley M. Kirchner wrote:

>     After upgrading to 2.28, I'm no longer receiving the notifications
> of quarantined messages.  I have uncommented the
> 'send_quarantine_notifications()' line, but I'm not getting anything.

You're discarding the message:

> Dec 19 17:19:55 serpico mimedefang.pl[29122]: filter: gBK0JrR8029274:
> discard=1 quarantine_entire_message=1
> Dec 19 17:19:56 serpico mimedefang[29275]: Discarding because filter
> instructed us to

and therefore message_rejected() returns true; hence:

>     # No sense doing any extra work
>     return if message_rejected();

>     # If you want quarantine reports, uncomment next line
>     send_quarantine_notifications();

send_quarantine_notifications never gets called.  Solution:  Move
send_quarantine_notifications to before "return if message_rejected();"

I'll fix this in the sample filter too.

--
David.



More information about the MIMEDefang mailing list