<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Since I upgraded to 2.3.4 I have lots of line in logs like these:</div> <div> </div> <div><em>Nov 28 17:35:48 buzalum_rhel7 dovecot: imap(iniramgon@mydomain)<udqWKLx7HN/AqAFh>: Error: unlink(/etc/dovecot/virtual/dovecot-acl-list) failed: Read-only file system (in acl-backend-vfile-acllist.c:338)</em></div> <div> <div><em>Nov 28 17:35:48 buzalum_rhel7 dovecot: imap(iniramgon@mydomain)<udqWKLx7HN/AqAFh>: Error: dovecot-acl-list creation failed: safe_mkstemp(/etc/dovecot/virtual/.temp.buzalum_rhel7.6469.) failed: Read-only file system</em></div> <div> </div> <div>These lines did not happen with Dovecot 2.3.2.1. <strong>doveconf -n</strong> output below. I have also tested to create an emty file with <strong>userid entrega</strong> in <strong>/etc/dovecot/virtual/</strong> and works, so it does not seem a problem with permissions. Any idea about this problem?</div> <div> </div> <div> <div><br/> <em># OS: Linux 3.10.0-862.14.4.el7.x86_64 x86_64 Red Hat Enterprise Linux Server release 7.5 (Maipo) xfs<br/> # Hostname: buzalum_rhel7<br/> auth_cache_negative_ttl = 10 secs<br/> auth_cache_size = 10 M<br/> auth_cache_ttl = 2 mins<br/> auth_master_user_separator = *<br/> auth_mechanisms = plain login<br/> auth_worker_max_count = 90<br/> base_dir = /var/run/dovecot/<br/> default_client_limit = 8192<br/> default_process_limit = 4500<br/> disable_plaintext_auth = no<br/> imap_capability = +XLIST<br/> imap_client_workarounds = tb-extra-mailbox-sep delay-newmail tb-lsub-flags<br/> imap_id_log = *<br/> lda_mailbox_autocreate = yes<br/> lda_mailbox_autosubscribe = yes<br/> mail_fsync = never<br/> mail_gid = entrega<br/> mail_home = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/<br/> mail_location = mdbox:/buzones/mydomain/%2.26Hn/%2.200Hn/%n:INDEX=/indices_dovecot/indices/%2.26Hn/%2.200Hn/%n:ALT=/buzones/alternativo/mydomain/%2.26Hn/%2.200Hn/%n<br/> mail_log_prefix = "%s(%u)<%{session}>: "<br/> mail_max_userip_connections = 15000<br/> mail_plugins = " virtual zlib quota acl mail_log notify"<br/> mail_uid = entrega<br/> managesieve_notify_capability = mailto<br/> managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date<br/> mdbox_rotate_interval = 1 days<br/> mdbox_rotate_size = 60 M<br/> namespace {<br/> inbox = yes<br/> location =<br/> mailbox Drafts {<br/> auto = subscribe<br/> special_use = \Drafts<br/> }<br/> mailbox SPAM {<br/> auto = subscribe<br/> special_use = \Junk<br/> }<br/> mailbox Sent {<br/> auto = subscribe<br/> special_use = \Sent<br/> }<br/> mailbox Trash {<br/> auto = subscribe<br/> special_use = \Trash<br/> }<br/> prefix =<br/> type = private<br/> }<br/> namespace {<br/> list = yes<br/> location = mdbox:/buzones/mydomain/%%2.26Hn/%%2.200Hu/%%n:ALT=/buzones/alternativo/mydomain/%%2.26Hn/%%2.200Hn/%%n:INDEX=/indices_dovecot/indices/%%2.26Hn/%%2.200Hn/%%n:INDEXPVT=~/mdbox/carpeta_compartida/%%u<br/> prefix = carpeta_compartida/%%u/<br/> separator = /<br/> subscriptions = no<br/> type = shared<br/> }<br/> namespace {<br/> list = yes<br/> location = virtual:/etc/dovecot/virtual:INDEX=~/mdbox/virtual:CONTROL=~/mdbox/virtual<br/> prefix = Carpetas_virtuales/<br/> separator = /<br/> }<br/> passdb {<br/> args = /etc/dovecot/deny<br/> deny = yes<br/> driver = passwd-file<br/> }<br/> passdb {<br/> args = /etc/dovecot/dovecot-ldap.conf<br/> driver = ldap<br/> }<br/> plugin {<br/> acl = vfile<br/> acl_shared_dict = file:/buzones/mydomain/acls_compartidas.db<br/> lda_mailbox_autosubscribe = yes<br/> mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename<br/> mail_log_fields = uid box msgid size subject from<br/> quota = dict:Cuota de usuario::file:/buzones/cuotas/%n<br/> quota_rule2 = Trash:storage=+10%%<br/> quota_warning = storage=90%% aviso_cuota 90 %u<br/> sieve = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/dovecot.sieve<br/> sieve_dir = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/sieve/<br/> zlib_save = gz<br/> zlib_save_level = 9<br/> }<br/> pop3_no_flag_updates = yes<br/> protocols = pop3 imap sieve<br/> service anvil {<br/> client_limit = 8504<br/> }<br/> service auth {<br/> client_limit = 12000<br/> unix_listener auth-master {<br/> user = entrega<br/> }<br/> unix_listener auth-userdb {<br/> user = entrega<br/> }<br/> user = root<br/> }<br/> service aviso_cuota {<br/> executable = script /usr/local/bin/quota-warning.sh<br/> unix_listener aviso_cuota {<br/> mode = 0666<br/> }<br/> user = entrega<br/> }<br/> service config {<br/> process_min_avail = 1<br/> }<br/> service imap-login {<br/> executable = /usr/libexec/dovecot/imap-login<br/> group = dovenull<br/> process_limit = 8000<br/> process_min_avail = 1<br/> vsz_limit = 1 G<br/> }<br/> service imap {<br/> executable = /usr/libexec/dovecot/imap<br/> process_limit = 8000<br/> }<br/> service managesieve-login {<br/> executable = /usr/libexec/dovecot/managesieve-login<br/> inet_listener sieve {<br/> port = 2000<br/> }<br/> process_limit = 8000<br/> vsz_limit = 1 G<br/> }<br/> service managesieve {<br/> executable = /usr/libexec/dovecot/managesieve<br/> process_limit = 8000<br/> }<br/> service pop3-login {<br/> executable = /usr/libexec/dovecot/pop3-login<br/> process_limit = 8000<br/> process_min_avail = 1<br/> vsz_limit = 1 G<br/> }<br/> service pop3 {<br/> executable = /usr/libexec/dovecot/pop3<br/> process_limit = 8000<br/> }<br/> service stats {<br/> fifo_listener stats-mail {<br/> mode = 0600<br/> user = entrega<br/> }<br/> }<br/> ssl_ca = XXX<br/> ssl_cert = XXX<br/> ssl_dh = # hidden, use -P to show it<br/> ssl_key = # hidden, use -P to show it<br/> userdb {<br/> driver = passwd<br/> }<br/> userdb {<br/> args = /etc/dovecot/dovecot-ldap.conf<br/> driver = ldap<br/> }<br/> userdb {<br/> args = /etc/dovecot/dovecot-ldap-userdb.conf<br/> driver = ldap<br/> }<br/> verbose_proctitle = yes<br/> protocol sieve {<br/> managesieve_implementation_string = dovecot<br/> managesieve_logout_format = bytes=%i/%o<br/> managesieve_max_line_length = 65536<br/> }<br/> protocol lda {<br/> hostname = mydomain<br/> info_log_path =<br/> log_path =<br/> mail_fsync = optimized<br/> mail_plugins = virtual sieve zlib quota<br/> postmaster_address = evcorreo@us.es<br/> syslog_facility = mail<br/> }<br/> protocol imap {<br/> mail_plugins = virtual zlib quota imap_quota acl imap_acl notify mail_log<br/> }<br/> protocol pop3 {<br/> mail_plugins = zlib quota virtual<br/> pop3_enable_last = yes<br/> pop3_uidl_format = %g<br/> }</em></div> <div> </div> </div> </div> <div> </div></div></body></html>
If you are using systemd, you might want to create /etc/systemd/system/service.dovecot.d/override.conf with ProtectSystem=no if you want writable /etc directory.> On 28 November 2018 at 18:49 Maria Arrea <maria-arrea at gmx.com> wrote: > > > Since I upgraded to 2.3.4 I have lots of line in logs like these: > > Nov 28 17:35:48 buzalum_rhel7 dovecot: imap(iniramgon at mydomain)<udqWKLx7HN/AqAFh>: Error: unlink(/etc/dovecot/virtual/dovecot-acl-list) failed: Read-only file system (in acl-backend-vfile-acllist.c:338) > Nov 28 17:35:48 buzalum_rhel7 dovecot: imap(iniramgon at mydomain)<udqWKLx7HN/AqAFh>: Error: dovecot-acl-list creation failed: safe_mkstemp(/etc/dovecot/virtual/.temp.buzalum_rhel7.6469.) failed: Read-only file system > > These lines did not happen with Dovecot 2.3.2.1. doveconf -n output below. I have also tested to create an emty file with userid entrega in /etc/dovecot/virtual/ and works, so it does not seem a problem with permissions. Any idea about this problem? > > > # OS: Linux 3.10.0-862.14.4.el7.x86_64 x86_64 Red Hat Enterprise Linux Server release 7.5 (Maipo) xfs > # Hostname: buzalum_rhel7 > auth_cache_negative_ttl = 10 secs > auth_cache_size = 10 M > auth_cache_ttl = 2 mins > auth_master_user_separator = * > auth_mechanisms = plain login > auth_worker_max_count = 90 > base_dir = /var/run/dovecot/ > default_client_limit = 8192 > default_process_limit = 4500 > disable_plaintext_auth = no > imap_capability = +XLIST > imap_client_workarounds = tb-extra-mailbox-sep delay-newmail tb-lsub-flags > imap_id_log = * > lda_mailbox_autocreate = yes > lda_mailbox_autosubscribe = yes > mail_fsync = never > mail_gid = entrega > mail_home = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/ > mail_location = mdbox:/buzones/mydomain/%2.26Hn/%2.200Hn/%n:INDEX=/indices_dovecot/indices/%2.26Hn/%2.200Hn/%n:ALT=/buzones/alternativo/mydomain/%2.26Hn/%2.200Hn/%n > mail_log_prefix = "%s(%u)<%{session}>: " > mail_max_userip_connections = 15000 > mail_plugins = " virtual zlib quota acl mail_log notify" > mail_uid = entrega > managesieve_notify_capability = mailto > managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date > mdbox_rotate_interval = 1 days > mdbox_rotate_size = 60 M > namespace { > inbox = yes > location > mailbox Drafts { > auto = subscribe > special_use = \Drafts > } > mailbox SPAM { > auto = subscribe > special_use = \Junk > } > mailbox Sent { > auto = subscribe > special_use = \Sent > } > mailbox Trash { > auto = subscribe > special_use = \Trash > } > prefix > type = private > } > namespace { > list = yes > location = mdbox:/buzones/mydomain/%%2.26Hn/%%2.200Hu/%%n:ALT=/buzones/alternativo/mydomain/%%2.26Hn/%%2.200Hn/%%n:INDEX=/indices_dovecot/indices/%%2.26Hn/%%2.200Hn/%%n:INDEXPVT=~/mdbox/carpeta_compartida/%%u > prefix = carpeta_compartida/%%u/ > separator = / > subscriptions = no > type = shared > } > namespace { > list = yes > location = virtual:/etc/dovecot/virtual:INDEX=~/mdbox/virtual:CONTROL=~/mdbox/virtual > prefix = Carpetas_virtuales/ > separator = / > } > passdb { > args = /etc/dovecot/deny > deny = yes > driver = passwd-file > } > passdb { > args = /etc/dovecot/dovecot-ldap.conf > driver = ldap > } > plugin { > acl = vfile > acl_shared_dict = file:/buzones/mydomain/acls_compartidas.db > lda_mailbox_autosubscribe = yes > mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename > mail_log_fields = uid box msgid size subject from > quota = dict:Cuota de usuario::file:/buzones/cuotas/%n > quota_rule2 = Trash:storage=+10%% > quota_warning = storage=90%% aviso_cuota 90 %u > sieve = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/dovecot.sieve > sieve_dir = /buzones/mydomain/%2.26Hn/%2.200Hn/%n/home_usuario/sieve/ > zlib_save = gz > zlib_save_level = 9 > } > pop3_no_flag_updates = yes > protocols = pop3 imap sieve > service anvil { > client_limit = 8504 > } > service auth { > client_limit = 12000 > unix_listener auth-master { > user = entrega > } > unix_listener auth-userdb { > user = entrega > } > user = root > } > service aviso_cuota { > executable = script /usr/local/bin/quota-warning.sh > unix_listener aviso_cuota { > mode = 0666 > } > user = entrega > } > service config { > process_min_avail = 1 > } > service imap-login { > executable = /usr/libexec/dovecot/imap-login > group = dovenull > process_limit = 8000 > process_min_avail = 1 > vsz_limit = 1 G > } > service imap { > executable = /usr/libexec/dovecot/imap > process_limit = 8000 > } > service managesieve-login { > executable = /usr/libexec/dovecot/managesieve-login > inet_listener sieve { > port = 2000 > } > process_limit = 8000 > vsz_limit = 1 G > } > service managesieve { > executable = /usr/libexec/dovecot/managesieve > process_limit = 8000 > } > service pop3-login { > executable = /usr/libexec/dovecot/pop3-login > process_limit = 8000 > process_min_avail = 1 > vsz_limit = 1 G > } > service pop3 { > executable = /usr/libexec/dovecot/pop3 > process_limit = 8000 > } > service stats { > fifo_listener stats-mail { > mode = 0600 > user = entrega > } > } > ssl_ca = XXX > ssl_cert = XXX > ssl_dh = # hidden, use -P to show it > ssl_key = # hidden, use -P to show it > userdb { > driver = passwd > } > userdb { > args = /etc/dovecot/dovecot-ldap.conf > driver = ldap > } > userdb { > args = /etc/dovecot/dovecot-ldap-userdb.conf > driver = ldap > } > verbose_proctitle = yes > protocol sieve { > managesieve_implementation_string = dovecot > managesieve_logout_format = bytes=%i/%o > managesieve_max_line_length = 65536 > } > protocol lda { > hostname = mydomain > info_log_path > log_path > mail_fsync = optimized > mail_plugins = virtual sieve zlib quota > postmaster_address = evcorreo at us.es > syslog_facility = mail > } > protocol imap { > mail_plugins = virtual zlib quota imap_quota acl imap_acl notify mail_log > } > protocol pop3 { > mail_plugins = zlib quota virtual > pop3_enable_last = yes > pop3_uidl_format = %g > } >
Marcus Rueckert
2018-Nov-29 12:25 UTC
Error logs with virtual folder after upgrading to 2.3.4
On Wed, 28 Nov 2018 19:45:00 +0200 (EET) Aki Tuomi <aki.tuomi at open-xchange.com> wrote:> If you are using systemd, you might want to create > > /etc/systemd/system/service.dovecot.d/override.conf/etc/systemd/systemd/dovecot.service.d/override.conf easiest way to create it is: systemctl edit dovecot.service> with > > ProtectSystem=noDont you need?:) [Service] ProtectSystem=no hth darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Florian Pritz
2018-Nov-29 23:24 UTC
Error logs with virtual folder after upgrading to 2.3.4
On Wed, Nov 28, 2018 at 07:45:00PM +0200, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:> ProtectSystem=no > > if you want writable /etc directory.No need to disable everything just for that. This should be enough: [Service] ReadWritePaths=/etc/dovecot/virtual Also you can use `systemctl edit dovecot.service` to let systemctl handle the file name and daemon reloading. Assuming you have a recent enough version, but I think that feature is kind of old. Florian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://dovecot.org/pipermail/dovecot/attachments/20181130/4e589cce/attachment.sig>
Possibly Parallel Threads
- Error logs with virtual folder after upgrading to 2.3.4
- Mailbox INBOX: Opening INBOX failed: Mailbox doesn't exist: INBOX. Maybe master user + namespace problem?
- Error: stat no such file or directory with 2.2.33.2
- Sieve & auto_create mail_home
- Intermitent ldap auth problems benchmarking dovecot