<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> <br> </div> <blockquote type="cite"> <div> On 27 October 2018 at 21:32 Kris von Mach < <a href="mailto:mach@swishmail.com">mach@swishmail.com</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> This appears to be a bug. </div> <div> <br> </div> <div> On 10/15/2018 9:46 PM, Kris von Mach wrote: </div> <blockquote type="cite"> <div> What is the time unit maildirlock will accept? </div> </blockquote> <blockquote type="cite"> <div> I've tried 20s, 20 sec, 20 secs, 20 seconds, all results in: </div> <div> Fatal: Invalid timeout value: 20s </div> </blockquote> <blockquote type="cite"> <div> And if you don't specify time unit you just get: </div> <div> Panic: BUG: No IOs or timeouts set. Not waiting for infinity. </div> </blockquote> <blockquote type="cite"> <div> This is on 2.3.3. 2.2 worked fine without needing time unit specified. </div> </blockquote> <div> > </div> </blockquote> <div> <br> </div> <div> Can you provide doveconf -n please? </div> <div class="io-ox-signature"> --- <br>Aki Tuomi </div> </body> </html>
Don't think maildirlock uses dovecot config, but sure. maildirlock is a utility that comes with dovecot... #? /usr/local/libexec/dovecot/maildirlock -h Usage: maildirlock <path> <timeout> ?- SIGTERM will release the lock. # /usr/local/libexec/dovecot/maildirlock /home2/vpopmail/domains/swishmail.com/mach/Maildir 20s Fatal: Invalid timeout value: 20s # /usr/local/libexec/dovecot/maildirlock /home2/vpopmail/domains/swishmail.com/mach/Maildir 20 Panic: BUG: No IOs or timeouts set. Not waiting for infinity. # /usr/local/libexec/dovecot/maildirlock /home2/vpopmail/domains/swishmail.com/mach/Maildir 20S Fatal: Invalid timeout value: 20S # /usr/local/libexec/dovecot/maildirlock /home2/vpopmail/domains/swishmail.com/mach/Maildir 20 seconds Usage: maildirlock <path> <timeout> ?- SIGTERM will release the lock. # /usr/local/libexec/dovecot/maildirlock /home2/vpopmail/domains/swishmail.com/mach/Maildir '20 seconds' Fatal: Invalid timeout value: 20 seconds I also tried sec, secs, both upper and lower. # 2.3.3 (dcead646b): /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 11.2-STABLE amd64 # Hostname: auth_cache_size = 20 M auth_mechanisms = plain login digest-md5 cram-md5 apop auth_worker_max_count = 120 default_process_limit = 2048 disable_plaintext_auth = no first_valid_gid = 89 first_valid_uid = 89 last_valid_gid = 89 last_valid_uid = 89 login_greeting = Dovecot ready. mail_location = maildir:~/Maildir:INDEX=/index/%d/%n mail_max_userip_connections = 512 mail_plugins = quota zlib fts fts_solr mail_privileged_group = mail maildir_broken_filename_sizes = yes namespace inbox { ? inbox = yes ? location ? mailbox "Deleted Items" { ??? auto = no ??? autoexpunge = 30 days ??? special_use = \Trash ? } ? mailbox Drafts { ??? auto = create ??? special_use = \Drafts ? } ? mailbox Sent { ??? auto = subscribe ??? special_use = \Sent ? } ? mailbox "Sent Items" { ??? auto = no ??? special_use = \Sent ? } ? mailbox "Sent Messages" { ??? auto = no ??? special_use = \Sent ? } ? mailbox Spam { ??? auto = create ??? autoexpunge = 30 days ??? special_use = \Junk ? } ? mailbox Trash { ??? auto = create ??? autoexpunge = 30 days ??? special_use = \Trash ? } ? prefix } passdb { ? args = webmail=127.0.0.1 ? driver = vpopmail } plugin { ? fts = solr ? fts_autoindex = yes ? fts_solr = break-imap-search url=http://localhost:8983/solr/dovecot/ ? quota = maildir ? zlib_save = gz ? zlib_save_level = 9 } protocols = imap pop3 service anvil { ? client_limit = 12291 } service auth { ? client_limit = 12288 } service imap-login { ? process_min_avail = 32 ? service_count = 0 ? vsz_limit = 4 G } service imap { ? process_limit = 5120 ? vsz_limit = 4 G } service pop3-login { ? process_min_avail = 32 ? service_count = 0 ? vsz_limit = 4 G } service pop3 { ? process_limit = 5120 ? vsz_limit = 4 G } shutdown_clients = no ssl_cert = </usr/local/etc/letsencrypt/live/fullchain.pem ssl_cipher_list = ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it ssl_prefer_server_ciphers = yes userdb { ? driver = vpopmail } verbose_proctitle = yes protocol imap { ? imap_client_workarounds = delay-newmail tb-extra-mailbox-sep ? imap_logout_format = in=%i out=%o ? imap_max_line_length = 64 k ? mail_plugins = quota imap_quota imap_zlib zlib fts fts_solr } protocol pop3 { ? mail_plugins = quota zlib ? pop3_client_workarounds = outlook-no-nuls oe-ns-eoh ? pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, in=%i, out=%o ? pop3_uidl_format = %08Xu%08Xv } protocol lda { ? postmaster_address = postmaster at example.com ? sendmail_path = /var/qmail/bin/sendmail } protocol lmtp { ? mail_plugins = quota fts fts_solr } On 10/28/2018 2:41 AM, Aki Tuomi wrote:> >> On 27 October 2018 at 21:32 Kris von Mach < mach at swishmail.com >> <mailto:mach at swishmail.com>> wrote: >> >> >> This appears to be a bug. >> >> On 10/15/2018 9:46 PM, Kris von Mach wrote: >>> What is the time unit maildirlock will accept? >>> I've tried 20s, 20 sec, 20 secs, 20 seconds, all results in: >>> Fatal: Invalid timeout value: 20s >>> And if you don't specify time unit you just get: >>> Panic: BUG: No IOs or timeouts set. Not waiting for infinity. >>> This is on 2.3.3. 2.2 worked fine without needing time unit specified. >> > > > Can you provide doveconf -n please? > --- > Aki Tuomi-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20181028/d96bc141/attachment.html>
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> Looks like a bug indeed. Thank you for reporting. </div> <div> <br> </div> <div> Aki </div> <blockquote type="cite"> <div> On 27 October 2018 at 22:05 Kris von Mach < <a href="mailto:mach@swishmail.com">mach@swishmail.com</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> Don't think maildirlock uses dovecot config, but sure. maildirlock is a </div> <div> utility that comes with dovecot... </div> <div> <br> </div> <div> # /usr/local/libexec/dovecot/maildirlock -h </div> <div> Usage: maildirlock <path> <timeout> </div> <div> - SIGTERM will release the lock. </div> <div> <br> </div> <div> # /usr/local/libexec/dovecot/maildirlock </div> <div> /home2/vpopmail/domains/swishmail.com/mach/Maildir 20s </div> <div> Fatal: Invalid timeout value: 20s </div> <div> <br> </div> <div> # /usr/local/libexec/dovecot/maildirlock </div> <div> /home2/vpopmail/domains/swishmail.com/mach/Maildir 20 </div> <div> Panic: BUG: No IOs or timeouts set. Not waiting for infinity. </div> <div> <br> </div> <div> # /usr/local/libexec/dovecot/maildirlock </div> <div> /home2/vpopmail/domains/swishmail.com/mach/Maildir 20S </div> <div> Fatal: Invalid timeout value: 20S </div> <div> <br> </div> <div> # /usr/local/libexec/dovecot/maildirlock </div> <div> /home2/vpopmail/domains/swishmail.com/mach/Maildir 20 seconds </div> <div> Usage: maildirlock <path> <timeout> </div> <div> - SIGTERM will release the lock. </div> <div> <br> </div> <div> # /usr/local/libexec/dovecot/maildirlock </div> <div> /home2/vpopmail/domains/swishmail.com/mach/Maildir '20 seconds' </div> <div> Fatal: Invalid timeout value: 20 seconds </div> <div> <br> </div> <div> I also tried sec, secs, both upper and lower. </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> # 2.3.3 (dcead646b): /usr/local/etc/dovecot/dovecot.conf </div> <div> # OS: FreeBSD 11.2-STABLE amd64 </div> <div> # Hostname: </div> <div> auth_cache_size = 20 M </div> <div> auth_mechanisms = plain login digest-md5 cram-md5 apop </div> <div> auth_worker_max_count = 120 </div> <div> default_process_limit = 2048 </div> <div> disable_plaintext_auth = no </div> <div> first_valid_gid = 89 </div> <div> first_valid_uid = 89 </div> <div> last_valid_gid = 89 </div> <div> last_valid_uid = 89 </div> <div> login_greeting = Dovecot ready. </div> <div> mail_location = maildir:~/Maildir:INDEX=/index/%d/%n </div> <div> mail_max_userip_connections = 512 </div> <div> mail_plugins = quota zlib fts fts_solr </div> <div> mail_privileged_group = mail </div> <div> maildir_broken_filename_sizes = yes </div> <div> namespace inbox { </div> <div> inbox = yes </div> <div> location </div> <div> mailbox "Deleted Items" { </div> <div> auto = no </div> <div> autoexpunge = 30 days </div> <div> special_use = \Trash </div> <div> } </div> <div> mailbox Drafts { </div> <div> auto = create </div> <div> special_use = \Drafts </div> <div> } </div> <div> mailbox Sent { </div> <div> auto = subscribe </div> <div> special_use = \Sent </div> <div> } </div> <div> mailbox "Sent Items" { </div> <div> auto = no </div> <div> special_use = \Sent </div> <div> } </div> <div> mailbox "Sent Messages" { </div> <div> auto = no </div> <div> special_use = \Sent </div> <div> } </div> <div> mailbox Spam { </div> <div> auto = create </div> <div> autoexpunge = 30 days </div> <div> special_use = \Junk </div> <div> } </div> <div> mailbox Trash { </div> <div> auto = create </div> <div> autoexpunge = 30 days </div> <div> special_use = \Trash </div> <div> } </div> <div> prefix </div> <div> } </div> <div> passdb { </div> <div> args = webmail=127.0.0.1 </div> <div> driver = vpopmail </div> <div> } </div> <div> plugin { </div> <div> fts = solr </div> <div> fts_autoindex = yes </div> <div> fts_solr = break-imap-search url <a href="http://localhost:8983/solr/dovecot/" rel="noopener" target="_blank">http://localhost:8983/solr/dovecot/</a> </div> <div> quota = maildir </div> <div> zlib_save = gz </div> <div> zlib_save_level = 9 </div> <div> } </div> <div> protocols = imap pop3 </div> <div> service anvil { </div> <div> client_limit = 12291 </div> <div> } </div> <div> service auth { </div> <div> client_limit = 12288 </div> <div> } </div> <div> service imap-login { </div> <div> process_min_avail = 32 </div> <div> service_count = 0 </div> <div> vsz_limit = 4 G </div> <div> } </div> <div> service imap { </div> <div> process_limit = 5120 </div> <div> vsz_limit = 4 G </div> <div> } </div> <div> service pop3-login { </div> <div> process_min_avail = 32 </div> <div> service_count = 0 </div> <div> vsz_limit = 4 G </div> <div> } </div> <div> service pop3 { </div> <div> process_limit = 5120 </div> <div> vsz_limit = 4 G </div> <div> } </div> <div> shutdown_clients = no </div> <div> ssl_cert = </usr/local/etc/letsencrypt/live/fullchain.pem </div> <div> ssl_cipher_list </div> <div> ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS </div> <div> ssl_dh = # hidden, use -P to show it </div> <div> ssl_key = # hidden, use -P to show it </div> <div> ssl_prefer_server_ciphers = yes </div> <div> userdb { </div> <div> driver = vpopmail </div> <div> } </div> <div> verbose_proctitle = yes </div> <div> protocol imap { </div> <div> imap_client_workarounds = delay-newmail tb-extra-mailbox-sep </div> <div> imap_logout_format = in=%i out=%o </div> <div> imap_max_line_length = 64 k </div> <div> mail_plugins = quota imap_quota imap_zlib zlib fts fts_solr </div> <div> } </div> <div> protocol pop3 { </div> <div> mail_plugins = quota zlib </div> <div> pop3_client_workarounds = outlook-no-nuls oe-ns-eoh </div> <div> pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, </div> <div> in=%i, out=%o </div> <div> pop3_uidl_format = %08Xu%08Xv </div> <div> } </div> <div> protocol lda { </div> <div> postmaster_address = <a href="mailto:postmaster@example.com">postmaster@example.com</a> </div> <div> sendmail_path = /var/qmail/bin/sendmail </div> <div> } </div> <div> protocol lmtp { </div> <div> mail_plugins = quota fts fts_solr </div> <div> } </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> On 10/28/2018 2:41 AM, Aki Tuomi wrote: </div> <div> > </div> <div> >> On 27 October 2018 at 21:32 Kris von Mach < <a href="mailto:mach@swishmail.com">mach@swishmail.com</a> </div> <div> >> <mailto: <a href="mailto:mach@swishmail.com">mach@swishmail.com</a>>> wrote: </div> <div> >> </div> <div> >> </div> <div> >> This appears to be a bug. </div> <div> >> </div> <div> >> On 10/15/2018 9:46 PM, Kris von Mach wrote: </div> <div> >>> What is the time unit maildirlock will accept? </div> <div> >>> I've tried 20s, 20 sec, 20 secs, 20 seconds, all results in: </div> <div> >>> Fatal: Invalid timeout value: 20s </div> <div> >>> And if you don't specify time unit you just get: </div> <div> >>> Panic: BUG: No IOs or timeouts set. Not waiting for infinity. </div> <div> >>> This is on 2.3.3. 2.2 worked fine without needing time unit specified. </div> <div> >> > </div> <div> > </div> <blockquote type="cite"> <div> Can you provide doveconf -n please? </div> <div> --- </div> <div> Aki Tuomi </div> </blockquote> </blockquote> </body> </html>