Hi John,

 

the prefix is ​​just a sign of my desperation - I tried all sorts of variations 
yesterday and now forgot to undo it.

 

There’s a very detailed tutorial available (German language) with Debian 10. 
Just the sieve scripts are little different. I spend the time to raise a Debian 
10 with this tutorial – and with exact the same result as with my up to date 
configuration.


So it would be interesting for me to know if there is anyone here who has 
managed to get this to work on Debian?

 

Jens



Von: John Fawcett <j...@voipsupport.it> 
Gesendet: Montag, 1. Juli 2024 18:26
An: postfix_dove...@gmx.de
Betreff: Re: AW: AW: IMAPSieve plugin will not run rspamd script

 

 

On 01/07/2024 18:08, postfix_dove...@gmx.de <mailto:postfix_dove...@gmx.de>  
wrote:

Hi John,
 
is there any other log than system?
 
Jens
 
 

Hi Jens

I meant the same type of logging you already posted (i.e. as below) for exactly 
the same test case, but where  the rules use the mailbox name that includes the 
prefix you set for the namespace (i.e.INBOX/Spam).

There is probably a good reason why you have configured a prefix for your 
namespace, but my suspicion is that the example imapsieve config you copied 
assumes no prefix set (it was not part of the example so we cannot see it). 

I personally tried the settings from the example and they work fine and I have 
no prefix. I also did the opposite test and I get the behaviour you reported 
when I have prefix set. In order to solve it (without changing the prefix) I 
had to state the full mailbox name including the prefix in the imapsieve rules. 
In that case it worked. What I'd like to check in your logging is if there is a 
clue why it didn't work for you when yu used INBOX/Spam in the rules.

John

imap(mail@test.example <mailto:mail@test.example> )<1797><a/FKmgIcqKvAqB4a>: 
Debug: Module loaded: /usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so
 
imap(mail@test.example <mailto:mail@test.example> )<1797><a/FKmgIcqKvAqB4a>: 
Debug: imapsieve: mailbox INBOX/Spam: APPEND event
 
imap(mail@test.example <mailto:mail@test.example> )<1797><a/FKmgIcqKvAqB4a>: 
Debug: sieve: Pigeonhole version 0.5.19 (4eae2f79) initializing
 
imap(mail@test.example <mailto:mail@test.example> )<1797><a/FKmgIcqKvAqB4a>: 
Debug: sieve: include: sieve_global is not set; it is currently not possible to 
include `:global' scripts.
 
imap(mail@test.example <mailto:mail@test.example> )<1797><a/FKmgIcqKvAqB4a>: 
Debug: sieve: Sieve imapsieve plugin for Pigeonhole version 0.5.19 (4eae2f79) 
loaded
 
imap(mail@test.example <mailto:mail@test.example> )<1797><a/FKmgIcqKvAqB4a>: 
Debug: sieve: Sieve Extprograms plugin for Pigeonhole version 0.5.19 (4eae2f79) 
loaded
 
imap(mail@test.example <mailto:mail@test.example> )<1797><a/FKmgIcqKvAqB4a>: 
Debug: imapsieve: Static mailbox rule [1]: mailbox=`Spam' from=`*' causes=(COPY 
APPEND) => before=`file:/usr/lib/dovecot/sieve/report-spam.sieve' after=(none)
 
imap(mail@test.example <mailto:mail@test.example> )<1797><a/FKmgIcqKvAqB4a>: 
Debug: imapsieve: Static mailbox rule [2]: mailbox=`*' from=`Spam' causes=(COPY 
APPEND) => before=`file:/usr/lib/dovecot/sieve/report-ham.sieve' after=(none)
 
imap(mail@test.example <mailto:mail@test.example> )<1795><iC6JmQIcnqvAqB4a>: 
Debug: imapsieve: mailbox INBOX: FLAG event (changed flags: \Deleted)
 
imap(mail@test.example <mailto:mail@test.example> )<1795><iC6JmQIcnqvAqB4a>: 
Debug: sieve: Pigeonhole version 0.5.19 (4eae2f79) initializing
 
imap(mail@test.example <mailto:mail@test.example> )<1795><iC6JmQIcnqvAqB4a>: 
Debug: sieve: include: sieve_global is not set; it is currently not possible to 
include `:global' scripts.
 
imap(mail@test.example <mailto:mail@test.example> )<1795><iC6JmQIcnqvAqB4a>: 
Debug: sieve: Sieve imapsieve plugin for Pigeonhole version 0.5.19 (4eae2f79) 
loaded
 
imap(mail@test.example <mailto:mail@test.example> )<1795><iC6JmQIcnqvAqB4a>: 
Debug: sieve: Sieve Extprograms plugin for Pigeonhole version 0.5.19 (4eae2f79) 
loaded
 
imap(mail@test.example <mailto:mail@test.example> )<1795><iC6JmQIcnqvAqB4a>: 
Debug: imapsieve: Static mailbox rule [1]: mailbox=`Spam' from=`*' causes=(COPY 
APPEND) => before=`file:/usr/lib/dovecot/sieve/report-spam.sieve' after=(none)
 
imap(mail@test.example <mailto:mail@test.example> )<1795><iC6JmQIcnqvAqB4a>: 
Debug: imapsieve: Static mailbox rule [2]: mailbox=`*' from=`Spam' causes=(COPY 
APPEND) => before=`file:/usr/lib/dovecot/sieve/report-ham.sieve' after=(none)
 
imap(mail@test.example <mailto:mail@test.example> )<1795><iC6JmQIcnqvAqB4a>: 
Debug: imapsieve: mailbox INBOX: FLAG event (changed flags: \Seen)
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to