Content Filter filters a notification to admin with the original packet included
akrherz opened this issue · 1 comments
...Migrated from Ignite Jira OF-1047...
When "Include original packet" setting is enabled in Content Match Notification part of Content Filter plugin's settings it then sends multiple notifications to the designated person. It looks like when forbidden pattern is detected it tries to send a notification to admin and as original packet includes forbidden content it then tries to reject it again and goes into loop. So admin gets this:
Disallowed content detected in message from:wroot to:test@wroot, message was rejected.
Original subject:Content filter notification! (null)
Original content:Disallowed content detected in message from:wroot to:test@wroot, message was rejected.
Original subject:Content filter notification! (null)
<<<1000+ same two lines as above>>>
Original content:Disallowed content detected in message from:wroot to:test@wroot, message was rejected.
Original subject:Content filter notification! (john)
Original content:Disallowed content detected in message from:john@wroot/Exodus to:nova@wroot, message was rejected.
Original subject:
Original content:dog
When it should only be:
Original content:Disallowed content detected in message from:john@wroot/Exodus to:nova@wroot, message was rejected.
Original subject:
Original content:dog
I can still reproduce this