My server is suffering from spam. each user can choose to filter or not
and personalize spamassassin in his .procmailrc file.
This is ok for "normal"messages, but when a message is sent to group
of people (list of up to 50 people) having a large number of SA running
saturate completely the server , delaying incoming mail at best, but
timing out local clients that just want to read email via imap.
Such large lists are usually the effect of something in /etc/aliases or my
mailman.
I have in exim.conf:
#
system_aliasgroup:
driver = redirect
allow_defer
allow_fail
data = ${lookup{$local_part}lsearch{/etc/aliasesgroup}}
file_transport = address_file
pipe_transport = address_pipe
retry_use_local_part
#and
list_director:
driver = accept
require_files = /var/lib/mailman/lists/${lc::$local_part}/config.pck
retry_use_local_part
transport = list_transport
#
What do i want ?
That all message that are run throught these directors are scanned by
spamassassin with a standard configuration once for all, before being
passed to individual deliveries or to the list, to add a spacial header so
the rule
:0fw
| /usr/bin/spamassassin
invoked by .procmail is not run by each user.
How to pass all messages trought these two filter (and only these two)
and add an head "X-listscanned: monthlyrule"
--
Leonardo Boselli
Nucleo Informatico e Telematico del Dipartimento Ingegneria Civile
Universita` di Firenze , V. S. Marta 3 - I-50139 Firenze
tel +39 0554796431 cell +39 3488605348 fax +39 055495333
http://www.dicea.unifi.it/~leo