Delivering to a non-existent folder

Nikos Voutsinas nvoutsin at noc.uoa.gr
Wed Mar 22 05:38:26 EST 2006


Take a look at http://email.uoa.gr/projects/cyrus/autosievefolder
This might help you and/or give you new ideas on how to implement what 
you need.

Regards,
Nikos Voutsinas

Robert Gormley wrote:
> Alexey Melnikov wrote:
> 
>> Rob Gormley wrote:
>>
>>> Forgive the question of someone just jumping into the Cyrus code for the
>>> first time. Basically what I need to do is this: we have a setup where
>>> we have a Pending folder that some mail is flagged to be delivered to -
>>> in some instances that folder doesn't exist, and Cyrus is dropping it
>>> into the inbox. However, for our requirements, we'd rather that the
>>> message delivery failed and this was logged.
>>>
>>> Could anyone give me some pointers in the right direction?
>>>  
>>>
>> From your message it sounds like you are using Sieve, right?
>> I am afraid there is currently no way in Sieve to test if a 
>> destination mailbox exists. (However if such Sieve extension is 
>> written, it wouldn't be difficult to implement)
>>
>> Regards,
>> Alexey
>>
> 
> Actually, no. Currently mail is delivered by LMTP along the lines of 
> user+flag at domain.com is appending to Pending. We are having issues with 
> corrupt mail stores, and previously deleted Pending folders, and want to 
> implement a less noisy way of dealing with this (basically Pending 
> handles possible spam, for approval by user - if this folder doesn't 
> exist, this gets dumped into inbox, and users complain about less than 
> optimal spam filtering. We just want to do a 'reject'.
> 
> Rob


More information about the Cyrus-devel mailing list