<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>This fix is part of next release.</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">---<div>Aki Tuomi</div><div>Dovecot oy</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: "Juan C. Blanco" <jcblanco@fi.upm.es> </div><div>Date: 30/05/2018 19:31 (GMT+02:00) </div><div>To: Dovecot Mailing List <dovecot@dovecot.org> </div><div>Subject: Re: Fatal: nfs flush requires mail_fsync=always </div><div><br></div></div>Hello, any news about the attached error?<br><br>I'm preparing the 2.2 to 2.3 upgrade and having the same error.<br><br>We have the mail stores in an NFS filer.<br><br>Regards<br><br>> On 19.01.2018 11:55, Søren Skou wrote:<br>>> Hiya all,<br>>><br>>> I'm seeing this "Fatal: nfs flush requires mail_fsync=always" error on<br>>> my testbed. The issue is that from what I can see, mail_fsync is set<br>>> to always :<br>>><br>>> # doveconf -n | grep mail_fs<br>>> mail_fsync = always<br>>><br>>> The result is that the client does not connect at all, which is not<br>>> really what I wanted to happen :)<br>>><br>>> Any idea what is going wrong here?<br>>><br>>> Best regards<br>>> Søren P. Skou<br>>><br>>> doveconf -n<br>>><br>>> # 2.3.1.alpha0 (bdfa22623) [XI:2:2.3.1~alpha0-1~auto+14]:<br>>> /etc/dovecot/dovecot.conf<br>>> # Pigeonhole version 0.5.1.alpha0 (d5f710e0)<br>>> # OS: Linux 4.9.0-4-amd64 x86_64 Debian 9.3 nfs<br>>> auth_worker_max_count = 200<br>>> dict {<br>>> expire = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext<br>>> quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext<br>>> sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext<br>>> }<br>>> disable_plaintext_auth = no<br>>> lock_method = dotlock<br>>> mail_fsync = always<br>>> mail_location = maildir:/mnt/virtual_mail/%d/%n<br>>> mail_nfs_index = yes<br>>> mail_nfs_storage = yes<br>>> mail_plugins = quota<br>>> mailbox_list_index = no<br>>> metric imap_select_no {<br>>> event_name = imap_command_finished<br>>> filter {<br>>> name = SELECT<br>>> tagged_reply_state = NO<br>>> }<br>>> }<br>>> mmap_disable = yes<br>>> namespace inbox {<br>>> inbox = yes<br>>> location =<br>>> mailbox Drafts {<br>>> special_use = \Drafts<br>>> }<br>>> mailbox Junk {<br>>> auto = subscribe<br>>> special_use = \Junk<br>>> }<br>>> mailbox Sent {<br>>> special_use = \Sent<br>>> }<br>>> mailbox "Sent Messages" {<br>>> special_use = \Sent<br>>> }<br>>> mailbox Trash {<br>>> special_use = \Trash<br>>> }<br>>> prefix =<br>>> }<br>>> passdb {<br>>> args = /etc/dovecot/dovecot-sql.conf.ext<br>>> driver = sql<br>>> }<br>>> plugin {<br>>> quota = dict:User quota::proxy::sqlquota<br>>> quota_grace = 10%%<br>>> quota_rule = *:storage=1000m:messages=300000<br>>> quota_rule2 = Trash:storage=+10%%:messages=+10%%<br>>> quota_rule3 = Junk:storage=+20%%:messages=+20%%<br>>> quota_status_nouser = DUNNO<br>>> quota_status_overquota = 552 5.2.2 Mailbox is full<br>>> quota_status_success = DUNNO<br>>> quota_warning = storage=75%%:messages=75%% quota-warning 75 %u<br>>> quota_warning2 = storage=95%%:messages=95%% quota-warning 95 %u<br>>> quota_warning3 = -storage=100%%:messages=100%% quota-warning below %u<br>>> sieve = /etc/dovecot/sieve/default.sieve<br>>> sieve_global_dir = /etc/dovecot/sieve<br>>> }<br>>> protocols = " imap pop3"<br>>> service dict {<br>>> unix_listener dict {<br>>> mode = 0600<br>>> user = vmail<br>>> }<br>>> }<br>>> service imap {<br>>> executable = imap<br>>> }<br>>> service quota-status {<br>>> client_limit = 1000<br>>> executable = quota-status -p postfix<br>>> inet_listener {<br>>> address = 127.0.0.1<br>>> port = 12340<br>>> }<br>>> }<br>>> service quota-warning {<br>>> executable = script /usr/local/bin/quota-warning.sh<br>>> user = vmail<br>>> }<br>>> ssl_ca = /etc/ssl/certs/ca-root.crt<br>>> ssl_cert = </etc/ssl/certs/stjerne.danskkabeltv.dk-2019.crt<br>>> ssl_cipher_list = TLSv1+HIGH !SSLv2 !RC4 !aNULL !eNULL !3DES-CBC !3DES @STRENGTH<br>>> ssl_dh = # hidden, use -P to show it<br>>> ssl_key = # hidden, use -P to show it<br>>> userdb {<br>>> args = uid=2000 gid=2000 home=/mnt/virtual_mail/%d/%n<br>>> driver = static<br>>> }<br>>> protocol lmtp {<br>>> mail_plugins = quota<br>>> }<br>>> protocol lda {<br>>> mail_plugins = quota<br>>> }<br>>> protocol imap {<br>>> mail_plugins = quota imap_quota<br>>> rawlog_dir = /tmp/rawlog/%u<br>>> }<br>> <br>> Hi!<br>> <br>> Thanks, we'll look into it.<br>> <br>> Aki<br><br><br><br>-- <br>+-------------------------------------------------------------------+<br>| Juan C. Blanco |<br>| |<br>| Centro de Calculo | |<br>| E.T.S. Ingenieros Informáticos | E-mail: jcblanco@fi.upm.es |<br>| Universidad Politécnica de Madrid | |<br>| Campus de Montegancedo | |<br>| Boadilla del Monte | Tel.: (+34) 91 067 2771 |<br>| 28660 MADRID (Spain) | Fax : (+34) 91 336 7412 |<br>+-------------------------------------------------------------------+<br></body></html>