Error since Dovecot v2.3.7

Paul Hecker paul at iwascoding.com
Mon Jul 15 10:58:26 EEST 2019


Hi,

since upgrading to Dovecot 2.3.7 I get the following new errors:

2019-07-15 09:10:52 mail dovecot:  imap(paul at iwascoding.com)<32484><goWh8rKNSNZfqJ9R>: Error: file_lock_free(): Unexpectedly failed to retry locking /var/spool/mail/iwascoding/paul/mdbox/mailboxes/INBOX/dbox-Mails/dovecot-vsize.lock: fcntl(/var/spool/mail/iwascoding/paul/mdbox/mailboxes/INBOX/dbox-Mails/dovecot-vsize.lock, write-lock, F_SETLK) locking failed: No such file or directory

It seems that this is related to moving or deleting mails (IMAP). The file at least sometimes exists, the folder exists. You find my doveconf below.

Thanks,
Paul



# 2.3.7 (494d20bdc): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.7 (5a4e63b5)
# OS: Linux 4.9.0-9-amd64 x86_64 Debian 9.9 
# Hostname: mail.iwascoding.com
auth_cache_size = 10 M
auth_cache_ttl = 2 hours
auth_mechanisms = plain login
default_vsz_limit = 1 G
first_valid_gid = 8
first_valid_uid = 8
hostname = mail.iwascoding.com
imap_capability = +SPECIAL-USE
last_valid_gid = 8
last_valid_uid = 8
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
mail_attachment_detection_options = add-flags-on-save
mail_attribute_dict = file:/var/mail/iwascoding/%n/dovecot-attributes
mail_gid = 8
mail_home = /var/mail/iwascoding/%n
mail_location = mdbox:~/mdbox
mail_plugins = quota listescape fts fts_xapian
mail_prefetch_count = 200
mail_uid = 8
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 index ihave duplicate mime foreverypart extracttext spamtest spamtestplus
mdbox_rotate_size = 16 M
namespace inbox {
  inbox = yes
  location = 
  mailbox "Sent Messages" {
    auto = no
    special_use = \Sent
  }
  mailbox archive {
    auto = no
    special_use = \Archive
  }
  mailbox drafts {
    auto = no
    special_use = \Drafts
  }
  mailbox junk {
    auto = no
    special_use = \Junk
  }
  mailbox sent {
    auto = no
    special_use = \Sent
  }
  mailbox trash {
    auto = no
    special_use = \Trash
  }
  prefix = 
  separator = /
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  fts = xapian
  fts_autoindex = yes
  fts_autoindex_exclude = \Junk
  fts_autoindex_exclude2 = \Trash
  fts_autoindex_exclude3 = \Drafts
  fts_enforced = yes
  fts_xapian = partial=2 full=20
  plugin = fts fts_xapian
  quota = count:User quota
  quota_grace = 10%%
  quota_rule = *:storage=200M
  quota_vsizes = yes
  recipient_delimiter = +
  sieve = /var/mail/iwascoding/%n/.dovecot.sieve
  sieve_default = /var/lib/dovecot/sieve/default.sieve
  sieve_dir = /var/mail/iwascoding/%n/sieve
  sieve_extensions = +spamtest +spamtestplus
  sieve_global_dir = /var/lib/dovecot/sieve/global
  sieve_spamtest_max_value = 200
  sieve_spamtest_status_header = X-Spam-Score-Int
  sieve_spamtest_status_type = score
}
postmaster_address = postmaster at iwascoding.com
protocols = imap pop3 lmtp sieve submission
quota_full_tempfail = yes
service auth {
  unix_listener auth-client {
    mode = 0600
    user = Debian-exim
  }
  unix_listener auth-userdb {
    user = mail
  }
  vsz_limit = 4 G
}
service imap-login {
  inet_listener imap {
    port = 0
  }
}
service indexer-worker {
  vsz_limit = 2 G
}
service lmtp {
  user = mail
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}
service pop3-login {
  inet_listener pop3 {
    port = 0
  }
}
service stats {
  unix_listener stats-writer {
    user = mail
  }
}
service submission-login {
  inet_listener submission_ssl {
    port = 465
    ssl = yes
  }
}
ssl = required
ssl_alt_cert = </usr/local/acme/var/iwascoding.com/fullchain.cer
ssl_alt_key = # hidden, use -P to show it
ssl_cert = </usr/local/acme/var/iwascoding.com_ecc/fullchain.cer
ssl_cipher_list = ALL:HIGH:!SSLv2:!SSLv3:!kRSA:!MEDIUM:!LOW:!EXP:!RC4:!MD5:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!PSK:!SRP:!DSS:!SEED:@STRENGTH
ssl_client_ca_dir = /etc/ssl/certs
ssl_client_ca_file = /etc/ssl/certs/ca-certificates.crt
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_min_protocol = TLSv1.2
ssl_prefer_server_ciphers = yes
submission_client_workarounds = whitespace-before-path
submission_max_mail_size = 50 M
submission_relay_host = mail.iwascoding.com
submission_relay_port = 10025
submission_relay_ssl = smtps
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lmtp {
  mail_fsync = optimized
  mail_plugins = quota listescape fts fts_xapian sieve
}
protocol !indexer-worker {
  mail_vsize_bg_after_count = 100
}
protocol lda {
  mail_fsync = optimized
  mail_plugins = quota listescape fts fts_xapian sieve
}
protocol imap {
  imap_metadata = yes
  mail_max_userip_connections = 40
  mail_plugins = quota listescape fts fts_xapian imap_quota imap_zlib
}
protocol pop3 {
  mail_max_userip_connections = 30
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4127 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20190715/6775a027/attachment.p7s>


More information about the dovecot mailing list