sieve problems
Jens Kleikamp
jens at codes-concepts.com
Thu Sep 27 10:46:20 EDT 2007
Roy Sigurd Karlsbakk schrieb:
> hi
>
> I have this rather large sieve list, but this one rule doesn't seem to
> work correctly. when I receive email from this list, they all appear in
> my INBOX _and_ in the subfolder for the list
>
> the entry is the one below
>
> # Cyrus IMAP
> if header :contains [ "list-post","list-id","from","to","cc" ]
> [ "Discussion group for Cyrus email
> system","mailto:info-cyrus at lists.andrew.cmu.edu","info-cyrus.lists.andrew.cmu.edu","info-cyrus at lists.andrew.cmu.edu"
> ] {
> fileinto "INBOX.lister.cyrus";
> }
>
> any idea why they're kept in my INBOX?
>
You have to stop the processing of the script in that condition.
if header :contains [ "list-post","list-id","from","to","cc" ]
[ "Discussion group for Cyrus email
system","mailto:info-cyrus at lists.andrew.cmu.edu","info-cyrus.lists.andrew.cmu.edu","info-cyrus at lists.andrew.cmu.edu"
] {
fileinto "INBOX.lister.cyrus";
stop;
}
More information about the Info-cyrus
mailing list