
Does Scrubber have the capibility of allowing attachments through that are a certain size? I know once you configure Scrubber and put it in action in Mailman, it will strip every attachment. This will not work for me, I would like to have Scrubber only strip attachments if there over a certain size. How can I grab the size of the attachment and check that right at the very beginning of the Scrubber.py script and if it's under a certain size don't run Scrubber and if it's over, run scrubber. Has anyone developed this in Mailman yet? I would really appreciate a response, this is something that our managers would really like to have working.

Hi,
Kory Wheatley wrote:
Does Scrubber have the capibility of allowing attachments through that are a certain size?
No.
I know once you configure Scrubber and put it in action in Mailman, it will strip every attachment. This will not work for me, I would like to have Scrubber only strip attachments if there over a certain size.
Because Scrubber.py was developed to use in archiver where attatchments will mess up the archived message page, it does not check the size or other parameters.
How can I grab the size of the attachment and check that right at the very beginning of the Scrubber.py script and if it's under a certain size don't run Scrubber and if it's over, run scrubber. Has anyone developed this in Mailman yet? I would really appreciate a response, this is something that our managers would really like to have working.
Your contribution to the source code will be appreciated. ;-)
participants (2)
-
Kory Wheatley
-
Tokio Kikuchi