On 01/07/2024 22:09, postfix_dovecot--- via dovecot wrote:
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
Hi Jens
changing random things is rarely a good way to solve these kinds of
issues. My advice, if you don't need the inbox namespace prefix set for
a specific reason, would be to go with the default prefix (ie. blank)
and then set up the imapsieve rules as per your original post and repeat
the test. If that does not work then post the debug logging and
configuration from that test.
There could be multiple places where this is failing but the very first
point is to have your sieve rules match. They will show something like
the following in the logging. Notice the "Matched static mailbox rule"
message. If that is not happening it's pointless to look further down
the line into issues in the scripts themselves.
Jul 01 22:57:55 imola.site24.it dovecot[1145722]:
imap(t...@site24.it)<1145777><mlKa2TUccLdOhguc>: Debug: imapsieve:
mailbox INBOX: MOVE event
Jul 01 22:57:55 imola.site24.it dovecot[1145722]:
imap(t...@site24.it)<1145777><mlKa2TUccLdOhguc>: Debug: Mailbox Spam:
UID 2: Expunge requested
Jul 01 22:57:55 imola.site24.it dovecot[1145722]:
imap(t...@site24.it)<1145777><mlKa2TUccLdOhguc>: Debug: duplicate db:
Initialize
Jul 01 22:57:55 imola.site24.it dovecot[1145722]:
imap(t...@site24.it)<1145777><mlKa2TUccLdOhguc>: Debug: sieve:
Pigeonhole version 0.5.21 (f6cd4b8e) initializing
Jul 01 22:57:55 imola.site24.it dovecot[1145722]:
imap(t...@site24.it)<1145777><mlKa2TUccLdOhguc>: Debug: sieve: include:
sieve_global is not set; it is currently not possible to include
`:global' scripts.
Jul 01 22:57:55 imola.site24.it dovecot[1145722]:
imap(t...@site24.it)<1145777><mlKa2TUccLdOhguc>: Debug: sieve: Sieve
imapsieve plugin for Pigeonhole version 0.5.21 (f6cd4b8e) loaded
Jul 01 22:57:55 imola.site24.it dovecot[1145722]:
imap(t...@site24.it)<1145777><mlKa2TUccLdOhguc>: Debug: sieve: Sieve
Extprograms plugin for Pigeonhole version 0.5.21 (f6cd4b8e) loaded
Jul 01 22:57:55 imola.site24.it dovecot[1145722]:
imap(t...@site24.it)<1145777><mlKa2TUccLdOhguc>: Debug: imapsieve:
Static mailbox rule [1]: mailbox=`Spam' from=`*' causes=(COPY) =>
before=`file:/usr/lib/dovecot/sieve/report-spam.sieve' after=(none)
Jul 01 22:57:55 imola.site24.it dovecot[1145722]:
imap(t...@site24.it)<1145777><mlKa2TUccLdOhguc>: Debug: imapsieve:
Static mailbox rule [2]: mailbox=`*' from=`Spam' causes=(COPY APPEND) =>
before=`file:/usr/lib/dovecot/sieve/report-ham.sieve' after=(none)
Jul 01 22:57:55 imola.site24.it dovecot[1145722]:
imap(t...@site24.it)<1145777><mlKa2TUccLdOhguc>: Debug: imapsieve:
Matched static mailbox rule [2]
As for Debian, sorry I can't help on that, I'm using Fedora :-)
John
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org