Re: [Exim] filter spam messages

Top Page
Delete this message
Reply to this message
Author: Pat Lashley
Date:  
To: Quenten Griffith, exim-users
Subject: Re: [Exim] filter spam messages
--On Wednesday, January 07, 2004 13:41:37 -0800 Quenten Griffith <qgriffith22@???> wrote:

>
> I am not sure my users even know how to use Sieve, I
> tried to make it easy by getting a plugin for the
> webmail client I have them use (squirrelmail) but I
> have had to help them to set up vacations filters even
> with that, so I wanted to come up with a way to do it
> through an Exim transport/router that would pass the
> mail that meets the if condition to cyrusdeliver -m
> user.username+Spam so that it would go to their
> INBOX.Spam.


First, I'd like to STRONGLY recommend that you use
either the lmtp transport or smtp transport with
protocol=lmtp instead of cyrusdeliver.

When using either of those mechanisms, you can deliver
to subfolders using detail notation. (The Cyrus docs
have a link to the (draft?) RFC that explains the use
of detail notation in sieve.) Basicly, a message addressed
to user+some.mbox@??? would be delivered into the
user's INBOX.some.mbox folder. (Assuming that that
folder's ACLs allowed delivery. Setting 'anyone p'
allows that and is inherited by sub-folders.)

If you have any users who subscribe to mailing lists,
they may appreciate the ability to have messages from
each list delivered directly to a folder specific to
that list. (Although it sounds like you'll have to
write up a good example of how to do it...)


>              But it sounds like it may be easier to
> just setup one sieve script and pass it along to
> everyone.


Unless you have a very large number of users, it is
probably easiest. And if it turns out that you do
have any users sophisticated enough to customize
their sieve script, it will give them more flexability.



-Pat