On 03/27/2014 11:31 PM, Sylvain Viart wrote:
> 
> Le 26/03/2014 20:32, Mark Sapiro a écrit :
>>
>> How about just setting the list's web admin Non-digest options ->
>> scrub_nondigest to Yes.
> 
> I've also found this option here, I didn't notice it before.
> 
> Any attachments larger than that size, I'd like to be scrubbed and a
> link url inserted
> <https://mail.python.org/pipermail/mailman-users/2010-July/069955.html>


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.


> 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.


> I didn't know that word 'scrub', it's used in the meaning of deep
> washing, right?


Essentially, yes.


> I must specify, is that the web server hosting the detached part of the
> message, will probably be a different server that the one hosting the
> mailman.


The scrubber stores attachments in the list's archive which is normally
on the Mailman server. If you want them stored elsewhere, you should
probably look at a custom handler to do the scrubbing and also to only
scrub attachments over some size.


> I may start to look at the code of Mailman/Handlers/Scrubber.py, right?


Right.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to