sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

Andrzej Filip anfi at priv.onet.pl
Fri Nov 7 12:48:18 EST 2003


Rob Siemborski wrote:
> On Fri, 7 Nov 2003, Andrzej Filip wrote:
> 
> 
>>Would not it be posiible to interpet only heading sieve rules which reject
>>message based on info available at "RCPT TO:" point ?
>>First "non reject" or "need information not available yet" sieve rule would
>>stop "envelope based" sieve rules interpretation.
>>[ Reject what you know for sure you will reject later - ASAP reject ]
> 
> 
> No.  What if I have a script like:
> 
> if(header :contains "Subject" "Passcode") {
>     keep;
>     stop;
> }
> 
> 
> if envelope :all :contains "to" "me+spam@"
> {
>     reject "spam!";
>     stop;
> }
> 
> Now if I get any message with a RCPT TO of "me+spam" it will be rejected
> if the first test is ignored, even if it shouldn't be.

Let me apply what I suggested to your example:
first rule uses data not available at "RCPT TO:" stage => "envelope based" 
sieve script interpretation "quits" at this point doing nothing
[ the script is going to be interpreted fully during LMTP delivery ]

-- 
Andrzej [pl>en: Andrew] Adam Filip http://www.polbox.com/a/anfi/
anfi at priv.onet.pl anfi at xl.wp.pl [former: anfi at Box43.pl]





More information about the Info-cyrus mailing list