Hey there,
ive got a situation with one of mine mailusers he cant access his mailbox and i cant resync the mailuser or access the mails with doveadm too:
In maillog we got a lot of these errors, ist only m.73 that makes problems:
Error: Syncing mailbox INBOX failed: read() /mdbox/storage/m.73: No buffer space available
I dont really understand whats the problem here, the partition has ~500gb free space and all other mailboxes work fine on this server. Is there somebody who can give me a hint to solve this?
First i thought the mdbox file is to obig, so i increased the mdbox_rotate_size limit without success. To restart the dovecot changes nothing too. In the dovecot journal i cant find other problems wo cause in this one, same in syslog, nothing special to see, like segfaults or so.
My doveconf -n:
# 2.3.19.1 (9b53102964): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.19 (4eae2f79)
# OS: Linux 5.4.0-146-generic x86_64 Ubuntu 20.04.6 LTS
auth_mechanisms = plain login
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@üÜöÖäÄ
auth_worker_max_count = 60
default_vsz_limit = 1000 M
disable_plaintext_auth = no
imap_capability = +XLIST
imap_logout_format = in=%i out=%o del=%{deleted} fetched_mails=%{fetch_hdr_count}
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lock_method = flock
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
mail_always_cache_fields = date.received date.sent imap.envelope hdr.x-spam hdr.x-virus-status hdr.return-path hdr.received flags
mail_cache_min_mail_count = 30
mail_location = auto:
mail_max_userip_connections = 30
mail_never_cache_fields =
mail_plugins = " zlib"
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto 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 editheader imapflags notify vnd.dovecot.pipe vnd.dovecot.filter vnd.dovecot.execute
mbox_read_locks = dotlock
mbox_very_dirty_syncs = yes
mdbox_rotate_size = 250 M
namespace inbox {
inbox = yes
location =
mailbox Archiv {
auto = no
special_use =
}
mailbox Drafts {
auto = no
special_use =
}
mailbox Junk {
auto = no
special_use =
}
mailbox Sent {
auto = no
special_use =
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
auto = no
special_use =
}
prefix =
}
passdb {
args = /etc/dovecot/conf.d/zDovecot-sql.conf.ext
driver = sql
}
plugin {
sieve = ~/sieve/.dovecot.sieve
sieve_after = ~/sieve_after/.dovecot_after.sieve
sieve_before = ~/sieve_before/.dovecot_before.sieve
sieve_dir = ~/sieve
sieve_execute_bin_dir = /usr/local/bin/
sieve_execute_input_eol = lf
sieve_extensions = +notify +imapflags +vnd.dovecot.pipe +vnd.dovecot.filter +vnd.dovecot.execute +editheader -reject
sieve_filter_bin_dir = /usr/local/bin/
sieve_filter_input_eol = lf
sieve_global_dir = /etc/dovecot/sieve/
sieve_max_redirects = 25
sieve_pipe_bin_dir = /usr/local/bin/
sieve_pipe_input_eol = lf
sieve_plugins = sieve_extprograms
sieve_redirect_envelope_from = recipient
zlib_save = gz
zlib_save_level = 6
}
protocols = imap pop3 sieve
service auth-worker {
idle_kill = 1 mins
}
service auth {
idle_kill = 1 mins
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
user = root
}
service imap-login {
executable = /usr/lib/dovecot/imap-login
process_min_avail = 4
service_count = 0
user = dovecot
}
service imap {
process_limit = 1024
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
service_count = 0
user = dovecot
}
service managesieve {
process_limit = 1024
user = dovecot
}
service pop3-login {
executable = /usr/lib/dovecot/pop3-login
process_min_avail = 4
service_count = 0
user = dovecot
}
service pop3 {
executable = /usr/lib/dovecot/pop3
process_limit = 1024
}
service stats {
unix_listener stats-reader {
group = dovecot
mode = 0666
}
unix_listener stats-writer {
group = dovecot
mode = 0666
}
}
shutdown_clients = no
ssl_cert = </etc/certs/ourCert.com.pem
ssl_cipher_list = EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:E ECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:!aNULL:!eNU LL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_prefer_server_ciphers = yes
userdb {
args = /etc/dovecot/conf.d/zDovecot-sql.conf.ext
driver = sql
}
verbose_proctitle = yes
protocol lda {
mail_plugins = " zlib sieve zlib"
rejection_reason = Your message to <%t> was automatically discarded:%n%r
}
protocol imap {
imap_client_workarounds = delay-newmail
mail_plugins = " zlib mail_log notify zlib"
ssl = yes
}
protocol pop3 {
mail_plugins = zlib
pop3_client_workarounds = oe-ns-eoh outlook-no-nuls
pop3_no_flag_updates = no
pop3_uidl_format = %08Xu%08Xv
ssl = yes
}
Size oft he mdbox-file:
du -b m.73
262143997 m.73
Mit freundlichen Grüßen
Yours sincerely
Pascal Rudolf | Geschäftsführer
PADARU-IT | Bielebohstraße 10 | 02736 Beiersdorf @: rudolf@padaru.de | www: <http://padaru.de/> padaru.de mobil: +49 (0) 17 772 595 32