Am 28.12.2009 um 21:51 schrieb Steve Wagner:

> Sorry it took some time to get in to this failing situation.
> 
> Procmail log-->
> 
> procmail: [29952] Mon Dec 28 21:36:33 2009
> procmail: Match on "< 256000"
> procmail: Locking "spamassassin.lock"
> procmail: Executing "/usr/bin/spamc,-U,/var/run/spamd.sock"
> procmail: [29952] Mon Dec 28 21:36:35 2009
> procmail: Unlocking "spamassassin.lock"
> procmail: No match on "^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*"
> procmail: No match on "^X-Spam-Status: YES"
> procmail: No match on "^List-Id: .*debian-arm.lists.debian.org"
> procmail: No match on "^^rom[ ]"
> procmail: Executing "/opt/dovecot/libexec/dovecot/deliver"
> procmail: Error while writing to "/opt/dovecot/libexec/dovecot/deliver"
> procmail: Assigning "LASTFOLDER=/opt/dovecot/libexec/dovecot/deliver"
> procmail: Assigning
> "LASTFOLDER=/home/lanwin/Maildir/new/1262032593.29952_2.vs5923"
> procmail: Notified comsat:
> "lan...@0:/home/lanwin/Maildir/new/1262032593.29952_2.vs5923"
> From keineantwortadre...@web.de  Mon Dec 28 21:36:33 2009
> Subject: discoTEL
> =?ISO-8859-1?Q?Tarif=3A_F=FCr_7=2C5_Cent=2FMin=2E_telefonier
>  Folder: /home/lanwin/Maildir/new/1262032593.29952_2.vs5923
>  41096
> procmail: Unlocking "/home/lanwin/Maildir/.lockmail"
> 
> Dovecot Deliver Log-->
> 
> 2009-12-28 21:36:35 deliver(lanwin): Info: sieve:
> msgid=<e1npmkf-00014k...@mxnl04.web.de>: marked message to be discarded
> if not explicitly delivered (discard action)

Does it always fail, if you try to do a discard, just sometimes? I am using 
Dovecot 1.2.9
"dovecot-1.2-sieve-0.1.14" and discarding email seems to work fine.

The things I can think of are:

        1) Wrong privileges for deleting. What user does procmail / deliver run 
as?
        2) Old Bug in Sieve 
(http://www.dovecot.org/list/dovecot/2007-July/024290.html)
        3) If it fails just sometimes, what is the difference between discarded 
and nondiscarded mails.

If this does not turn up something, I do not have an idea what is going wrong. 
Only bugfix I
then can you provide with, is not to discard but to move those files to a 
folder 'SPAM' and delete
them by hand.

Tobi

Reply via email to