On 3/10/21 6:27 AM, Bader, Robert (Bob) wrote:
> I see messages in /var/lib/mailman/spam.  I did some searching and found that 
> :
> 
> When a moderator checks the "preserve message for site administrator"
> box when handling a held message, the message is put in that spam/
> directory.
> But how do I properly access them clear them out? Is this done via the web 
> interface or just the command line? I admin the server, but each list has its 
> own administrator. I assume they checked "preserve message for site 
> administrator" accidentally.


This is problematic. The idea is that the site admin can use these
messages to train some bayesian spam filter, but it is up to the site to
implement such a process. If you want to just ignore them, you could set
up a periodic cron to

rm /path/to/mailman/spam/*

On the one site where this is an issue for me, I'm more selective. I do

# At 11:59 remove 'preserved' spam older than 30 days.
59 23 * * * find /srv/mailman/spam -type f -mtime +30 -exec rm '{}' \;

-- 
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
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to