[Mimedefang] quarantine bad_filename messages

2014-09-09 Thread Marcus Schopen
Hi, I'd like to use action_quarantine_entire_message for messages containing attachments with bad_filename, but not sure where to place the quarantine command. Is sub filter_bad_filename the right place? Something like this? # This procedure returns true for entities with bad

Re: [Mimedefang] quarantine bad_filename messages

2014-09-09 Thread David F. Skoll
On Tue, 09 Sep 2014 12:12:03 +0200 Marcus Schopen li...@localguru.de wrote: I'd like to use action_quarantine_entire_message for messages containing attachments with bad_filename, but not sure where to place the quarantine command. Is sub filter_bad_filename the right place? You can do it

Re: [Mimedefang] quarantine bad_filename messages

2014-09-09 Thread Anne Bennett
Marcus Schopen li...@localguru.de asked: I'd like to use action_quarantine_entire_message for messages containing attachments with bad_filename, but not sure where to place the quarantine command. Is sub filter_bad_filename the right place? David F. Skoll d...@roaringpenguin.com replied:

Re: [Mimedefang] quarantine bad_filename messages

2014-09-09 Thread David F. Skoll
On Tue, 09 Sep 2014 10:43:44 -0400 Anne Bennett a...@encs.concordia.ca wrote: But that uses a global variable that assumes that the same slave will be used for the filter_begin and filter_end calls - I thought we were supposed to be very careful about such global variables. In the