[Dovecot] personal sieve script not included

freebsd-isp at chef-ingenieur.de freebsd-isp at chef-ingenieur.de
Wed Feb 12 09:54:18 UTC 2014


On 11.02.2014 21:39, Stephan Bosch wrote:
> On 2/5/2014 9:59 AM, Thomas Krause wrote:
>> Hello,
>> I'm using dovecot 2.2.10 and roundcube (with managesieve enabled).
>> Sieve filtering works well, as long the rule is written
>> into ~/.dovecot.sieve (which is a link to ~/sieve/managesieve.sieve)
>> When adding a new filter set (in roundcube) the script is
>> written to ~/sieve/newfilterset.sieve. This script will not be
>> executed. How can I solve this?
>> 
>> I set
>> sieve_dir = ~/sieve
>> This should work, except I misunderstand the doc.
> 
> I see no obvious problems in your configuration. Do the logs say
> anything interesting (set mail_debug=yes)? Your symptoms suggest that
> Roundcube is not activating the uploaded script for some reason. That 
> is
> when the symbolic link is updated.
> 
> You could sniff the protocol exchange between Roundcube and Dovecot on
> port 4190 (without TLS obviously). Roundcube should issue the SETACTIVE
> command.

Hi Stephan,
it's working now - but I don't now why (I havn't changed anything).
When I send a mail to the mailbox, the .dovecot.svbin is created, when
new files in ~/sieve

I enabled debugging in Roundcube. I cannot see SETACTIVE:

[12-Feb-2014 10:33:39 +0100]: S: "IMPLEMENTATION" "Dovecot Pigeonhole"
[12-Feb-2014 10:33:39 +0100]: S: "SIEVE" "fileinto reject envelope 
encoded-character vacation subaddress comparator-i
;ascii-numeric relational regex imap4flags copy include variables body 
enotify environment mailbox date ihave"
[12-Feb-2014 10:33:39 +0100]: S: "NOTIFY" "mailto"
[12-Feb-2014 10:33:39 +0100]: S: "SASL" "PLAIN LOGIN"
[12-Feb-2014 10:33:39 +0100]: S: "STARTTLS"
[12-Feb-2014 10:33:39 +0100]: S: "VERSION" "1.0"
[12-Feb-2014 10:33:39 +0100]: S: OK "Capability completed."
[12-Feb-2014 10:33:39 +0100]: C: AUTHENTICATE "PLAIN" "***"
[12-Feb-2014 10:33:39 +0100]: S: OK "Logged in."
[12-Feb-2014 10:33:39 +0100]: C: LISTSCRIPTS
[12-Feb-2014 10:33:39 +0100]: S: "managesieve" ACTIVE
[12-Feb-2014 10:33:39 +0100]: S: "home"
[12-Feb-2014 10:33:39 +0100]: S: OK "Listscripts completed."
[12-Feb-2014 10:33:39 +0100]: C: GETSCRIPT "managesieve"
[12-Feb-2014 10:33:39 +0100]: S: {118}
[12-Feb-2014 10:33:39 +0100]: S: require ["fileinto"];
# rule:[myfilter5]
if header :contains "Subject" "filtertest101"
{
         fileinto "INBOX.spezial";
}
[12-Feb-2014 10:33:39 +0100]: S: OK "Getscript completed."
[12-Feb-2014 10:33:39 +0100]: C: PUTSCRIPT "managesieve" {208+}
require ["fileinto"];
# rule:[myfilter5]
if header :contains "Subject" "filtertest101"
{
         fileinto "INBOX.spezial";
}
# rule:[myfilter2]
if header :contains "Subject" "testxxx"
{
         fileinto "INBOX.spezial";
}

[12-Feb-2014 10:33:39 +0100]: S: OK "PUTSCRIPT completed."
[12-Feb-2014 10:33:39 +0100]: C: LOGOUT


Regards,
Thomas.



More information about the dovecot mailing list