[Dovecot] file descriptor errors

Christian Rößner c at roessner-network-solutions.com
Wed Dec 4 10:04:26 EET 2013


Hi,

I use dovecot 2.2.9 on Gentoo Linux and I get lots of these erors in my log file:

Dec  4 08:53:37 mx dovecot: auth: Error: close failed in file object destructor:
Dec  4 08:53:37 mx dovecot: auth: Error: IOError: [Errno 9] Bad file descriptor

What could cause these error messages?

My mailboxes are stored on an ext4 filesystem:
/dev/vdb1 on /srv/mail type ext4 (rw,noatime)

doveconf -n:
# OS: Linux 3.11.2-hardened x86_64 Gentoo Base System release 2.2 ext4
auth_master_user_separator = *
auth_mechanisms = plain login
auth_verbose = yes
disable_plaintext_auth = no
imap_client_workarounds = tb-extra-mailbox-sep tb-lsub-flags
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
mail_access_groups = mail
mail_attachment_dir = /srv/mail/copymail/attachments
mail_gid = mail
mail_location = maildir:/srv/mail/virtual/%d/%n
mail_plugins = quota acl zlib mail_log notify
mail_privileged_group = mail
mail_uid = vmail
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 ihave
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk-E-Mail {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix = INBOX.
}
passdb {
  args = /usr/local/sbin/ispcp-decrypt.py
  driver = checkpassword
}
plugin {
  acl = vfile
  acl_shared_dict = file:/srv/mail/virtual/shared-mailboxes.db
  quota = dict:User quota::file:/srv/mail/virtual/%d/%n/dovecot-quota
  quota_rule = *:storage=300M:messages=20000
  quota_status_nouser = DUNNO
  quota_status_overquota = 552 5.2.2 Mailbox is full
  quota_status_success = DUNNO
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  zlib_save = gz
  zlib_save_level = 6
}
postmaster_address = postmaster at deltaweb.de
protocols = imap pop3 lmtp sieve
service auth-worker {
  extra_groups = ssl-cert
  unix_listener auth-worker {
    mode = 0600
    user = vmail
  }
  user = vmail
}
service auth {
  extra_groups = ssl-cert
  unix_listener /var/spool/postfix.relay/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    mode = 0660
    user = vmail
  }
  user = vmail
}
service config {
  unix_listener config {
    mode = 0600
    user = vmail
  }
}
service dict {
  unix_listener dict {
    mode = 0600
    user = vmail
  }
}
service imap-login {
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service lmtp {
  inet_listener lmtp {
    address = ::1
    port = 24
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  inet_listener sieve_deprecated {
    port = 2000
  }
}
service pop3-login {
  inet_listener pop3s {
    port = 995
    ssl = yes
  }
}
service quota-status {
  client_limit = 1
  executable = quota-status -p postfix
  inet_listener {
    port = 12340
  }
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  unix_listener quota-warning {
    user = vmail
  }
  user = dovecot
}
ssl_cert = </etc/ssl/certs/mx_deltaweb_de.crt
ssl_key = </etc/ssl/private/mx_deltaweb_de.key
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lmtp {
  mail_plugins = quota acl zlib mail_log notify sieve
}
protocol lda {
  mail_plugins = quota acl zlib mail_log notify sieve
}
protocol imap {
  mail_max_userip_connections = 50
  mail_plugins = quota acl zlib mail_log notify imap_quota imap_acl imap_zlib
}

Thanks in advance

-Christian Rößner

--
Bachelor of Science Informatik
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 176 93118939
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3089 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20131204/61fc9a99/attachment.bin>


More information about the dovecot mailing list