Workaround: use explicit path to script
sieve_script default {
type = default
name = default
driver = file
path = /etc/sieve/default.sieve
}
Op 25-11-2025 om 03:45 schreef Stephan Bosch via dovecot:
Op 15-11-2025 om 01:56 schreef Bernard via dovecot:
This looks like a bug. But I cannot reproduce this here immediately.
Can you enable sieve debugging (log_debug = category=sieve) and show
what it logs?
Here they are:
Debug: sieve: Pigeonhole version 2.4.1-4 (0a86619f) initializing
Debug: sieve: Sieve imapsieve plugin for Pigeonhole version 2.4.1-4
(0a86619f) loaded
Debug: sieve: storage: file: Performing auto-detection
Debug: sieve: storage: file: Use home (/var/mail/vhosts/<domain>/<user>)
Debug: sieve: storage: file: Checking storage path
/var/mail/vhosts/<domain>/<user>/sieve
Debug: sieve: storage: file: Storage path
'/var/mail/vhosts/<domain>/<user>/sieve' not found
Debug: sieve: storage: file: Checking storage path ~/.dovecot.sieve
Debug: sieve: storage: file: Storage path
'/var/mail/vhosts/<domain>/<user>/.dovecot.sieve' not found
Debug: sieve: storage: Autodetection failed
Debug: sieve: storage: No matching Sieve storage configured
(type=personal and cause=delivery)
Debug: sieve: storage default: file: Using script storage path:
/etc/sieve/
Error: sieve: file storage: Performing t_readlink() on active sieve
symlink '(null)' failed: readlink() failed: Bad address
Error: sieve: Failed to access active Sieve script in parsonal
storage 'default': Internal error occurred. Refer to server log for
more information. [2025-11-15 01:47:58] (temporary failure)
It confirms the fallback to the default sieve_script… without
explaining what is wrong with it and/or its location.
I can finally reproduce it:
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Debug:
sieve: Pigeonhole version 2.4.1 (0a86619f1) initializing
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Debug:
sieve: storage: file: Performing auto-detection
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Debug:
sieve: storage: file: Use home (/home/stephan)
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Debug:
sieve: storage: file: Checking storage path /home/stephan/sieve
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Debug:
sieve: storage: file: Storage path '/home/stephan/sieve' not found
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Debug:
sieve: storage: file: Checking storage path ~/.dovecot.sieve
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Debug:
sieve: storage: file: Storage path '/home/stephan/.dovecot.sieve' not
found
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Debug:
sieve: storage: Autodetection failed
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Debug:
sieve: storage: No matching Sieve storage configured (type=personal
and cause=delivery)
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Debug:
sieve: storage default: file: Using script storage path: /etc/sieve/
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Error:
sieve: file storage: Performing t_readlink() on active sieve symlink
'(null)' failed: readlink() failed: Bad address
Nov 25 03:41:57 lda(stephan)<3385477><0ZkxB3UXJWmFqDMAmoV78g>: Error:
sieve: Failed to access active Sieve script in parsonal storage
'default': Internal error occurred. Refer to server log for more
information. [2025-11-25 03:41:57] (temporary failure)
Now to figure out what is going on...
Bernard Rosset
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]