[Dovecot] Dovecot-deliver sometimes fails when message set to discard via sieve

Tobias Lang tobias.lang at evoscout.de
Mon Dec 28 14:15:46 EET 2009


Am 28.12.2009 um 13:02 schrieb Steve Wagner:

> Hi Tobi, yes but it is correct. It should only discard messages that
> have this header. The sieve filter is larger, this are only the parts
> witch use discard.
> 
> Steve
> 
> Am 28.12.2009 12:25, schrieb Tobias Lang:
>> Am 28.12.2009 um 11:55 schrieb Steve Wagner:
>> 
>>> if header :contains "Organization" "web.de" { discard; stop; }
>>> 
>>> This often works, but sometimes it fails. Procmail reports then that
>>> deliver reported an error (but not which) and delivers them to my inbox.
>>> There are also no message in dovecots or dovecot delivers log file.
>> 
>> This rule will fail, when there is no HeaderEntry called "Organization".
>> You should try "From" instead, this HeaderEntry should always be there
>> to test against.
>> 
>> Tobi


Hey Steve,

as you can not provide some error messages, it is quite hard to help you with
your problem. However, I would guess that there is something wrong with your
sieve rules - based on the information, that most mails get filtered correctly.
Try analyzing the mails causing errors separately with e.g.:

  http://www.fastmail.fm/docs/sieve/sievetest.php

Maybe you can isolate the error there.

Tobi


More information about the dovecot mailing list