[Exim] System-wide spam handling, with opt-out possibility

Góra strony
Delete this message
Reply to this message
Autor: Stian Grytoyr
Data:  
Dla: exim-users
Temat: [Exim] System-wide spam handling, with opt-out possibility
We recently started using MailScanner with Exim, to get more
options when handling spam and viruses. Up until now, spam
removal has been an opt-in thing, but it just doesn't
work. About 10% of the users have opted in, but the
remaining 90% still complain that spam is a huge problem.

So I figured the next thing to do is set up a system-wide
opt-out solution. MailScanner and SA tag all emails (by
adding extra headers), so I was wondering if the following
is possible:

- Make Exim deliver mails that are tagged as spam into a
Maildir subfolder, i.e ~/Maildir/.spam/.

- ...but only if the file ~/.optout-spam does not exist. If
it does, follow the normal delivery process, i.e. check
for .procmailrc, Exim filter and so on.

Non-spam should be processed in the normal way. Ideally,
Exim should also check for the existence of the spam folder,
and create it if it doesn't exist. But that's not a
requirement, just a bonus if it is possible.

Thanks for any help.

--
Regards,
Stian Grytoyr