[Mailman-Users] handler to auto detach attachment and link it to a website?

Sylvain Viart sylvain at opensource-expert.com
Sat Mar 29 09:37:38 CET 2014


Hi,

Thanks for the information.
In fact, topics I've found about scrubbing, or detaching attachment, are 
pretty old, related to computer science…

That's why I'm asking for fresh 2014 confirmation. :-)

Le 28/03/2014 16:58, Mark Sapiro a écrit :
> As it says in that post, scrub_nondigest is an all or nothing feature. 
> There is no current mechanism for scrubbing only those attachments 
> greater than a given size. 

Hum, I will experiment it.
I may code the behavior I've described for my need :

Detaching attachment, storing, linking back into the original mail.

Which is supposed to be already mostly part of Scrubber.py handler.

I will probably requiring coding help, as I'm python new-bee (yes, a 
voluntary honey gift 8-) ).

>> 4.82 How do I filter or scrub content before checking if a message is
>> "too big"? <http://wiki.list.org/pages/viewpage.action?pageId=7602227>
>>
>>
>> Is it related to archiving only, or does it perform what I've described?
>
> That FAQ is about applying content filtering and/or scrubbing before
> testing the message for a "too big" hold. It does nothing about only
> scrubbing attachments over some size.

Is it not the same goal?
If you switch the order. Big attachment will be "scrubbed" so the 
message wont be too big anymore.

Oh, you're right I see… You mean you cant select the size of the 
attachment which will be detached by the scrubbing process. All 
attachment will be detached, no size checking.

I will let you informed.

Regards,
Sylvain.


More information about the Mailman-Users mailing list