[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mail Filtering with cyrus-imapd



Assuming that your cyrus imapd has sieve support, you do it with sieve.
Ask google about mail filtering with sieve for more info. Here is an
excerpt from my .sieve file:

 require "fileinto";
 require "envelope";
 require "vacation";

 #vacation "I am on vacation and will return on July 13";

 if header :contains "subject" "[netsaint]" {
        fileinto "INBOX.Netsaint";
 } elsif header :contains "subject" "[Galeon-user]" {
        fileinto "INBOX.Galeon";
 } elsif address :all :contains ["To","Cc","Bcc"] "debian-user" {
        fileinto "INBOX.Debian";
 } elsif not
    address :all :contains ["To","Cc","Bcc"] "dave@rudedog.org" {
        fileinto "INBOX.Spam";
 }

Sieve is not as powerful as procmail, but if you have a closed box,
giving your users procmail will quickly open the box.

On Tue, 2001-10-16 at 14:09, Sven Gaerner wrote:
> Hi,
> 
> I used an IMAP server (I think the UW server) that stored al emails
> per folder in one file. Sorting/Filtering works fine with deliver.
> Now I switched to cyrus-imapd because no user needs a shell account
> and accessing the server with Windoze Clients or Netscape/Mozilla
> works better.
> Unfortunately deliver does not work I think with this imap server.
> 
> This is my configuration:
> I use sendmail with a special rule on the server. My email client is
> mutt and the Debian version is woody.
> I need this because I want to sort mailing-list mails into a special
> folder and don't want to do this manually.
> 
> Does anyone have an idea how to get this working?
> 
> Please CC any answers because I'm not subscribed.
> 
> Thanks in advance.
> 
> Bye,
> 
> Sven
> 
> -- 
> +-------------------------------------------------------------------------+
> | Please reply only to sgaerner@gmx.net                                   |
> |                                                                         |
> | Do not send HTML mails, they will be erased...                          |
> +-------------------------------------------------------------------------+
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 





Reply to: