Hello,

Is it possible to have a Sieve rule that matches against
the name of the mail box that was specified on the deliver
command ?

What I have is procmail doing certain core tasks such as
spam and virus checking, expanding tnef attachments, etc,
and Sieve for end users to specify their filing rules.

If procmail detects a spam or virus it calls deliver with
a specific mailbox as in

/usr/bin/deliver -r $SENDER -a $USER -m Spam $USER

If promail does not detect a spam or virus it calls deliver
without a mail box so the default inbox is used, as in

/usr/bin/deliver -r $SENDER -a $USER $USER

What I want is in the former case, to be able to detect the
mailbox (in the example above "INBOX.Spam") and to file in
that mailbox, regardless of later Sieve rules.

What is happening is a Sieve rule is firing on identified
spam and filing it in "good" mailboxes. I want to stop Sieve
if the specified destination mailbox is anything other than
the "INBOX".

Thanks,
John



---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to