[Workaround.org] Glaring error in Guide?
OverlordQ
overlordq at gmail.com
Fri Jan 4 00:15:33 CET 2008
Martin Simovic wrote:
> On Jan 2, 2008 10:18 PM, OverlordQ <overlordq at gmail.com> wrote:
>> Martin Simovic wrote:
>>> hmm.....
>>>
>>> does work for me.....
>>>
>>> the only thing i might suggest is, check your script for any mistake
>>> in terms of brackets, etc
>>>
>>> my script looks like
>>>
>>> require ["fileinto"];
>>> if exists "X-Spam-Flag" {
>>> fileinto "INBOX.Spam";
>>> stop;
>>> }
>>>
>>> my log
>>>
>>> deliver(msimovic at whatever.com): "2008-01-02 17:33:28 "Info:
>>> msgid=<20080102173317.GI5048 at other.org>: saved mail to INBOX
>>>
>>> in case of spam
>>>
>>> deliver(msimovic at whatever.com): "2008-01-02 17:36:50 "Info:
>>> msgid=<GTUBE1.1010101 at example.net>: saved mail to INBOX.Spam
>>>
>> Changed the script to:
>>
>> ====
>> require ["fileinto"];
>> # Move spam to spam folder
>> if header :contains ["X-Spam-Flag"] ["YES"] {
>> fileinto "spam";
>> # Stop here so that we do not reply on spams
>> stop;
>> }
>> ====
>>
>> and I get proper behavior.
>>
>> Here's my versions:
>>
>> ii dovecot-common 1:1.0.9-1
>> ii dovecot-imapd 1:1.0.9-1
>> ii dovecot-pop3d 1:1.0.9-1
>> ii postfix 2.4.6-3
>> ii postfix-mysql 2.4.6-3
>> ii amavisd-new 1:2.5.2-2
>> ii spamassassin 3.2.3-1
>> ii clamav-daemon 0.92~dfsg-2
>>
>
> well, that might be an answer. the versions in stable are
>
> ii dovecot-common 1.0.rc15-2etch1
> ii dovecot-imapd 1.0.rc15-2etch1
> ii dovecot-pop3d 1.0.rc15-2etch1
>
> the behavaviour of the sieve plugin might have changed in a superior
> version of dovecot.
>
> M.
*facepalm* My fault, I got my Names -> releases backwards. Oh well, use
this as a warning when it gets migrated from testing :)
More information about the Workaround-chitchat
mailing list