open(/proc/self/io) failed: Permission denied
My sieve scripts don't get executed and when I enable debug logging I get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Loading modules from directory: /opt/lib/dovecot Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Effective uid=5000, gid=5000, home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user> Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get this working?
On 17/09/2026 14:03 EEST horst.simon2--- via dovecot <dovecot@dovecot.org> wrote:
My sieve scripts don't get executed and when I enable debug logging I get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Loading modules from directory: /opt/lib/dovecot Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Effective uid=5000, gid=5000, home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user> Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get this working?
It has nothing to do with your sieve scripts not being executed though. You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you try to use IMAPsieve or FILTER=SIEVE extensions.
Aki
On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:03 EEST horst.simon2--- via dovecot <dovecot@dovecot.org> wrote:
My sieve scripts don't get executed and when I enable debug logging I get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Loading modules from directory: /opt/lib/dovecot Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Effective uid=5000, gid=5000, home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user> Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get this working?
It has nothing to do with your sieve scripts not being executed though. You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you try to use IMAPsieve or FILTER=SIEVE extensions.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don’t know why it does not execute the sieve scripts. Following is my configuration for sieve:
20-managesieve.conf protocols { sieve = yes }
service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 vsz_limit = 64M }
service managesieve {
Max. number of ManageSieve processes (connections)
#process_limit = 1024 process_limit = 10 } protocol sieve { }
90-sieve.conf sieve_script personal { driver = file path = ~/sieve active_path = /share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve }
sieve_script before { type = before path = /opt/var/lib/dovecot/sieve.d/ }
I think I see my problem, the syntax in sieve_script personal appears to be incorrect. Do I still need the path statement and if so where should it pointing too?
Regards, Horst
On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot <dovecot@dovecot.org>
wrote:
On 17/09/2026 14:03 EEST horst.simon2--- via dovecot
<dovecot@dovecot.org> wrote:
My sieve scripts don't get executed and when I enable debug logging I
get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug:
Loading modules from directory: /opt/lib/dovecot
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module
loaded: /opt/lib/dovecot/lib15_notify_plugin.so
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module
loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module
loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug:
Effective uid=5000, gid=5000,
home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user>
Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>:
Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail)
egid=5000(vmail) missing +r perm: /proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get this working?
It has nothing to do with your sieve scripts not being executed though.
You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you try to use
IMAPsieve or FILTER=SIEVE extensions.
Aki
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don't know why it does not execute the sieve scripts. Following is my configuration for sieve:
20-managesieve.conf
protocols {
sieve = yes
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
process_min_avail = 1
vsz_limit = 64M
}
service managesieve {
# Max. number of ManageSieve processes (connections)
#process_limit = 1024
process_limit = 10
}
protocol sieve {
}
90-sieve.conf
sieve_script personal {
driver = file
path = ~/sieve
active_path =
/share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve
}
sieve_script before {
type = before
path = /opt/var/lib/dovecot/sieve.d/
}
I think I see my problem, the syntax in sieve_script personal appears to be incorrect. Do I still need the path statement and if so where should it pointing too?
Regards,
Horst
On 17/09/2026 14:20 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:03 EEST horst.simon2--- via dovecot <dovecot@dovecot.org> wrote:
My sieve scripts don't get executed and when I enable debug logging I get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Loading modules from directory: /opt/lib/dovecot Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Effective uid=5000, gid=5000, home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user> Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get this working?
It has nothing to do with your sieve scripts not being executed though. You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you try to use IMAPsieve or FILTER=SIEVE extensions.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don’t know why it does not execute the sieve scripts. Following is my configuration for sieve:
20-managesieve.conf protocols { sieve = yes }
service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 vsz_limit = 64M }
service managesieve {
Max. number of ManageSieve processes (connections)
#process_limit = 1024 process_limit = 10 } protocol sieve { }
90-sieve.conf sieve_script personal { driver = file path = ~/sieve active_path = /share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve }
sieve_script before { type = before path = /opt/var/lib/dovecot/sieve.d/ }
I think I see my problem, the syntax in sieve_script personal appears to be incorrect. Do I still need the path statement and if so where should it pointing too?
Regards, Horst
try
protocol lmtp { mail_plugins { sieve = yes } }
protocol lda { mail_plugins { sieve = yes } }
Aki
On 17 Sep 2026, at 21:21, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:20 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:03 EEST horst.simon2--- via dovecot <dovecot@dovecot.org> wrote:
My sieve scripts don't get executed and when I enable debug logging I get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Loading modules from directory: /opt/lib/dovecot Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Effective uid=5000, gid=5000, home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user> Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get this working?
It has nothing to do with your sieve scripts not being executed though. You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you try to use IMAPsieve or FILTER=SIEVE extensions.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don’t know why it does not execute the sieve scripts. Following is my configuration for sieve:
20-managesieve.conf protocols { sieve = yes }
service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 vsz_limit = 64M }
service managesieve {
Max. number of ManageSieve processes (connections)
#process_limit = 1024 process_limit = 10 } protocol sieve { }
90-sieve.conf sieve_script personal { driver = file path = ~/sieve active_path = /share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve }
sieve_script before { type = before path = /opt/var/lib/dovecot/sieve.d/ }
I think I see my problem, the syntax in sieve_script personal appears to be incorrect. Do I still need the path statement and if so where should it pointing too?
Regards, Horst
try
protocol lmtp { mail_plugins { sieve = yes } }
protocol lda { mail_plugins { sieve = yes } }
Aki
I have already these settings:
protocol lmtp { mail_plugins { sieve = yes notify = yes push_notification = yes } } protocol lda {
Boolean list of plugins to load
mail_plugins { sieve = yes notify = yes push_notification = yes } }
On 17 Sep 2026, at 21:21, Aki Tuomi via dovecot <dovecot@dovecot.org>
wrote:
On 17/09/2026 14:20 EEST Horst B Simon via dovecot
<dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot
<dovecot@dovecot.org> wrote:
On 17/09/2026 14:03 EEST horst.simon2--- via dovecot
<dovecot@dovecot.org> wrote:
My sieve scripts don't get executed and when I enable debug
logging I get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug:
Loading modules from directory: /opt/lib/dovecot
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug:
Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug:
Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug:
Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug:
Effective uid=5000, gid=5000,
home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user>
Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>:
Debug: open(/proc/self/io) failed: Permission denied
(euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get this
working?
It has nothing to do with your sieve scripts not being executed
though. You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you try to
use IMAPsieve or FILTER=SIEVE extensions.
Aki
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don't know why it does not execute the sieve
scripts. Following is my configuration for sieve:
20-managesieve.conf
protocols {
sieve = yes
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
process_min_avail = 1
vsz_limit = 64M
}
service managesieve {
# Max. number of ManageSieve processes (connections)
#process_limit = 1024
process_limit = 10
}
protocol sieve {
}
90-sieve.conf
sieve_script personal {
driver = file
path = ~/sieve
active_path =
/share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve
}
sieve_script before {
type = before
path = /opt/var/lib/dovecot/sieve.d/
}
I think I see my problem, the syntax in sieve_script personal appears
to be incorrect. Do I still need the path statement and if so where
should it pointing too?
Regards,
Horst
try
protocol lmtp {
mail_plugins {
sieve = yes
}
}
protocol lda {
mail_plugins {
sieve = yes
}
}
Aki
I have already these settings:
protocol lmtp {
mail_plugins {
sieve = yes
notify = yes
push_notification = yes
}
}
protocol lda {
# Boolean list of plugins to load
mail_plugins {
sieve = yes
notify = yes
push_notification = yes
}
}
On 17/09/2026 14:26 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:21, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:20 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:03 EEST horst.simon2--- via dovecot <dovecot@dovecot.org> wrote:
My sieve scripts don't get executed and when I enable debug logging I get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Loading modules from directory: /opt/lib/dovecot Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Effective uid=5000, gid=5000, home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user> Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get this working?
It has nothing to do with your sieve scripts not being executed though. You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you try to use IMAPsieve or FILTER=SIEVE extensions.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don’t know why it does not execute the sieve scripts. Following is my configuration for sieve:
20-managesieve.conf protocols { sieve = yes }
service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 vsz_limit = 64M }
service managesieve {
Max. number of ManageSieve processes (connections)
#process_limit = 1024 process_limit = 10 } protocol sieve { }
90-sieve.conf sieve_script personal { driver = file path = ~/sieve active_path = /share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve }
sieve_script before { type = before path = /opt/var/lib/dovecot/sieve.d/ }
I think I see my problem, the syntax in sieve_script personal appears to be incorrect. Do I still need the path statement and if so where should it pointing too?
Regards, Horst
try
protocol lmtp { mail_plugins { sieve = yes } }
protocol lda { mail_plugins { sieve = yes } }
Aki
I have already these settings:
protocol lmtp { mail_plugins { sieve = yes notify = yes push_notification = yes } } protocol lda {
Boolean list of plugins to load
mail_plugins { sieve = yes notify = yes push_notification = yes } }
Ok. Can you do
mail_debug=yes
and then send yourself mail and provide debug logs for lmtp?
Aki
Hi Aki
The problem for the personal script is the path statement, it does not translate the %d and %n as domain and user. I can hardcode the domain, but what variable to use for the user?
Horst
On 17 Sep 2026, at 21:29, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:26 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:21, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:20 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:03 EEST horst.simon2--- via dovecot <dovecot@dovecot.org> wrote:
My sieve scripts don't get executed and when I enable debug logging I get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Loading modules from directory: /opt/lib/dovecot Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Effective uid=5000, gid=5000, home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user> Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get this working?
It has nothing to do with your sieve scripts not being executed though. You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you try to use IMAPsieve or FILTER=SIEVE extensions.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don’t know why it does not execute the sieve scripts. Following is my configuration for sieve:
20-managesieve.conf protocols { sieve = yes }
service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 vsz_limit = 64M }
service managesieve {
Max. number of ManageSieve processes (connections)
#process_limit = 1024 process_limit = 10 } protocol sieve { }
90-sieve.conf sieve_script personal { driver = file path = ~/sieve active_path = /share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve }
sieve_script before { type = before path = /opt/var/lib/dovecot/sieve.d/ }
I think I see my problem, the syntax in sieve_script personal appears to be incorrect. Do I still need the path statement and if so where should it pointing too?
Regards, Horst
try
protocol lmtp { mail_plugins { sieve = yes } }
protocol lda { mail_plugins { sieve = yes } }
Aki
I have already these settings:
protocol lmtp { mail_plugins { sieve = yes notify = yes push_notification = yes } } protocol lda {
Boolean list of plugins to load
mail_plugins { sieve = yes notify = yes push_notification = yes } }
Ok. Can you do
mail_debug=yes
and then send yourself mail and provide debug logs for lmtp?
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
As upgrading documentation indicates, 2.4 does not support %u or %n anymore, you should use
%{user}, %{user|username}, %{user|domain}.
See https://doc.dovecot.org/2.4.5/installation/upgrade/2.3-to-2.4.html#variable-...
Aki
On 17/09/2026 15:16 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
Hi Aki
The problem for the personal script is the path statement, it does not translate the %d and %n as domain and user. I can hardcode the domain, but what variable to use for the user?
Horst
On 17 Sep 2026, at 21:29, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:26 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:21, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:20 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
> On 17/09/2026 14:03 EEST horst.simon2--- via dovecot <dovecot@dovecot.org> wrote: > > > My sieve scripts don't get executed and when I enable debug logging I get following errors in the log: > > Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Loading modules from directory: /opt/lib/dovecot > Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so > Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so > Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so > Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Effective uid=5000, gid=5000, home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user> > Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io) > > Dovecot version is 2.4.5 > > Is there anything I can change in the permissions to get this working?
It has nothing to do with your sieve scripts not being executed though. You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you try to use IMAPsieve or FILTER=SIEVE extensions.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don’t know why it does not execute the sieve scripts. Following is my configuration for sieve:
20-managesieve.conf protocols { sieve = yes }
service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 vsz_limit = 64M }
service managesieve {
Max. number of ManageSieve processes (connections)
#process_limit = 1024 process_limit = 10 } protocol sieve { }
90-sieve.conf sieve_script personal { driver = file path = ~/sieve active_path = /share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve }
sieve_script before { type = before path = /opt/var/lib/dovecot/sieve.d/ }
I think I see my problem, the syntax in sieve_script personal appears to be incorrect. Do I still need the path statement and if so where should it pointing too?
Regards, Horst
try
protocol lmtp { mail_plugins { sieve = yes } }
protocol lda { mail_plugins { sieve = yes } }
Aki
I have already these settings:
protocol lmtp { mail_plugins { sieve = yes notify = yes push_notification = yes } } protocol lda {
Boolean list of plugins to load
mail_plugins { sieve = yes notify = yes push_notification = yes } }
Ok. Can you do
mail_debug=yes
and then send yourself mail and provide debug logs for lmtp?
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Finally got it working had to change the directories and one user had a corrupted site script.
sieve_script personal { driver = file path = ~/sieve active_path = /share/CACHEDEV1_DATA/mail/hbsimon.net/%{user | username}/.dovecot.sieve }
Thanks for your help Horst
On 17 Sep 2026, at 22:18, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:
As upgrading documentation indicates, 2.4 does not support %u or %n anymore, you should use
%{user}, %{user|username}, %{user|domain}.
See https://doc.dovecot.org/2.4.5/installation/upgrade/2.3-to-2.4.html#variable-...
Aki
On 17/09/2026 15:16 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
Hi Aki
The problem for the personal script is the path statement, it does not translate the %d and %n as domain and user. I can hardcode the domain, but what variable to use for the user?
Horst
On 17 Sep 2026, at 21:29, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:26 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:21, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:20 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
> On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote: > > >> On 17/09/2026 14:03 EEST horst.simon2--- via dovecot <dovecot@dovecot.org> wrote: >> >> >> My sieve scripts don't get executed and when I enable debug logging I get following errors in the log: >> >> Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Loading modules from directory: /opt/lib/dovecot >> Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so >> Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so >> Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so >> Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Effective uid=5000, gid=5000, home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user> >> Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io) >> >> Dovecot version is 2.4.5 >> >> Is there anything I can change in the permissions to get this working? > > > It has nothing to do with your sieve scripts not being executed though. You can ignore it, it's a debut message. > > Sieve scripts are not normally executed by imap unless you try to use IMAPsieve or FILTER=SIEVE extensions. > > Aki > > _______________________________________________ > dovecot mailing list -- dovecot@dovecot.org > To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don’t know why it does not execute the sieve scripts. Following is my configuration for sieve:
20-managesieve.conf protocols { sieve = yes }
service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 vsz_limit = 64M }
service managesieve {
Max. number of ManageSieve processes (connections)
#process_limit = 1024 process_limit = 10 } protocol sieve { }
90-sieve.conf sieve_script personal { driver = file path = ~/sieve active_path = /share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve }
sieve_script before { type = before path = /opt/var/lib/dovecot/sieve.d/ }
I think I see my problem, the syntax in sieve_script personal appears to be incorrect. Do I still need the path statement and if so where should it pointing too?
Regards, Horst
try
protocol lmtp { mail_plugins { sieve = yes } }
protocol lda { mail_plugins { sieve = yes } }
Aki
I have already these settings:
protocol lmtp { mail_plugins { sieve = yes notify = yes push_notification = yes } } protocol lda {
Boolean list of plugins to load
mail_plugins { sieve = yes notify = yes push_notification = yes } }
Ok. Can you do
mail_debug=yes
and then send yourself mail and provide debug logs for lmtp?
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Finally got it working had to change the directories and one user had a corrupted site script.
sieve_script personal {
driver = file
path = ~/sieve
active_path = /share/CACHEDEV1_DATA/mail/hbsimon.net/%{user |
username}/.dovecot.sieve
} Thanks for your help Horst
On 17 Sep 2026, at 22:18, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:
As upgrading documentation indicates, 2.4 does not support %u or %n
anymore, you should use
%{user}, %{user|username}, %{user|domain}.
See
https://doc.dovecot.org/2.4.5/installation/upgrade/2.3-to-2.4.html#variable-expansion
Aki
On 17/09/2026 15:16 EEST Horst B Simon via dovecot
<dovecot@dovecot.org> wrote:
Hi Aki
The problem for the personal script is the path statement, it does not
translate the %d and %n as domain and user. I can hardcode the domain,
but what variable to use for the user?
Horst
On 17 Sep 2026, at 21:29, Aki Tuomi via dovecot
<dovecot@dovecot.org> wrote:
On 17/09/2026 14:26 EEST Horst B Simon via dovecot
<dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:21, Aki Tuomi via dovecot
<dovecot@dovecot.org> wrote:
On 17/09/2026 14:20 EEST Horst B Simon via dovecot
<dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot
<dovecot@dovecot.org> wrote:
On 17/09/2026 14:03 EEST horst.simon2--- via dovecot
<dovecot@dovecot.org> wrote:
My sieve scripts don't get executed and when I enable
debug logging I get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>:
Debug: Loading modules from directory: /opt/lib/dovecot
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>:
Debug: Module loaded:
/opt/lib/dovecot/lib15_notify_plugin.so
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>:
Debug: Module loaded:
/opt/lib/dovecot/lib20_push_notification_plugin.so
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>:
Debug: Module loaded:
/opt/lib/dovecot/lib95_imap_sieve_plugin.so
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>:
Debug: Effective uid=5000, gid=5000,
home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user>
Sep 17 20:43:04
imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug:
open(/proc/self/io) failed: Permission denied
(euid=5000(vmail) egid=5000(vmail) missing +r perm:
/proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get
this working?
It has nothing to do with your sieve scripts not being
executed though. You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you
try to use IMAPsieve or FILTER=SIEVE extensions.
Aki
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don't know why it does not execute the
sieve scripts. Following is my configuration for sieve:
20-managesieve.conf
protocols {
sieve = yes
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
process_min_avail = 1
vsz_limit = 64M
}
service managesieve {
# Max. number of ManageSieve processes (connections)
#process_limit = 1024
process_limit = 10
}
protocol sieve {
}
90-sieve.conf
sieve_script personal {
driver = file
path = ~/sieve
active_path =
/share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve
}
sieve_script before {
type = before
path = /opt/var/lib/dovecot/sieve.d/
}
I think I see my problem, the syntax in sieve_script personal
appears to be incorrect. Do I still need the path statement
and if so where should it pointing too?
Regards,
Horst
try
protocol lmtp {
mail_plugins {
sieve = yes
}
}
protocol lda {
mail_plugins {
sieve = yes
}
}
Aki
I have already these settings:
protocol lmtp {
mail_plugins {
sieve = yes
notify = yes
push_notification = yes
}
}
protocol lda {
# Boolean list of plugins to load
mail_plugins {
sieve = yes
notify = yes
push_notification = yes
}
}
Ok. Can you do
mail_debug=yes
and then send yourself mail and provide debug logs for lmtp?
Aki
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org
About push notification: it is intended for open-exchange, although other implementations possible. You also have to define a driver and prepare a landing mechanism for the driver. Like it was linked before. https://doc.dovecot.org/2.4.5/core/plugins/push_notification.html#push-notif... https://documentation.open-xchange.com/7.10.5/middleware/mail/dovecot/doveco...
I'd expect the software client to notify me about incoming mails (like it is happening in many setups and clients) as simply as possible. I'd deploy push notifications if one would also like to receive mobile notifications or in need of an advanced wide-scale mechanism for professional installations.
So if you expect a pop-up message in your browser, I suspect that push notification is a more complex solution compared to what you are looking for - I may be wrong.
On 2026.09.17 13:26, Horst B Simon via dovecot wrote:
On 17 Sep 2026, at 21:21, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:20 EEST Horst B Simon via dovecot <dovecot@dovecot.org> wrote:
On 17 Sep 2026, at 21:07, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
On 17/09/2026 14:03 EEST horst.simon2--- via dovecot <dovecot@dovecot.org> wrote:
My sieve scripts don't get executed and when I enable debug logging I get following errors in the log:
Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Loading modules from directory: /opt/lib/dovecot Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib15_notify_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib20_push_notification_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Module loaded: /opt/lib/dovecot/lib95_imap_sieve_plugin.so Sep 17 20:43:04 imap(username)<13827><3lXZcqtbpcHAqHUF>: Debug: Effective uid=5000, gid=5000, home=/share/CACHEDEV1_DATA/mail/<domainnamee>/<user> Sep 17 20:43:04 imap(horst@hbsimon.net)<13827><3lXZcqtbpcHAqHUF>: Debug: open(/proc/self/io) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +r perm: /proc/self/io)
Dovecot version is 2.4.5
Is there anything I can change in the permissions to get this working?
It has nothing to do with your sieve scripts not being executed though. You can ignore it, it's a debut message.
Sieve scripts are not normally executed by imap unless you try to use IMAPsieve or FILTER=SIEVE extensions.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Thank you, I still don’t know why it does not execute the sieve scripts. Following is my configuration for sieve:
20-managesieve.conf protocols { sieve = yes }
service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 vsz_limit = 64M }
service managesieve {
Max. number of ManageSieve processes (connections)
#process_limit = 1024 process_limit = 10 } protocol sieve { }
90-sieve.conf sieve_script personal { driver = file path = ~/sieve active_path = /share/CACHEDEV1_DATA/mail/vhosts/hbsimon.net/%n/.dovecot.sieve }
sieve_script before { type = before path = /opt/var/lib/dovecot/sieve.d/ }
I think I see my problem, the syntax in sieve_script personal appears to be incorrect. Do I still need the path statement and if so where should it pointing too?
Regards, Horst
try
protocol lmtp { mail_plugins { sieve = yes } }
protocol lda { mail_plugins { sieve = yes } }
Aki
I have already these settings:
protocol lmtp { mail_plugins { sieve = yes notify = yes push_notification = yes } } protocol lda {
Boolean list of plugins to load
mail_plugins { sieve = yes notify = yes push_notification = yes } }
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
-- dr Tóth Attila, Radiológus, 06-20-825-8057 Attila Toth MD, Radiologist, +36-20-825-8057
participants (4)
-
Aki Tuomi
-
Horst B Simon
-
horst.simon2@icloud.com
-
Tóth Attila