basic configuratio error

soko.tica soko.tica at gmail.com
Tue Oct 28 20:05:38 UTC 2014


Hello list,

After many hours I still fail to configure properly dovecot as the LDA with
opensmtpd, for system users only.

I don't want pop at all, jus lmtp and imap, but still haven't stripped it.

Here is the info, thanks in advance for your response:

=====

# doveconf -n
# 2.2.14: /etc/dovecot/dovecot.conf
# OS: OpenBSD 5.6 i386
auth_verbose = yes
auth_verbose_passwords = yes
disable_plaintext_auth = no
first_valid_uid = 1000
hostname = imap.home.lan
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lda_original_recipient_header = X-Original-To
mail_debug = yes
mail_location = maildir:~/Maildir
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 duplicate
mbox_write_locks = fcntl
mmap_disable = yes
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = bsdauth
}
plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
postmaster_address = postmaster at mileva.home.lan
protocols = imap pop3 lmtp sieve
service auth-worker {
  user = root
}
service auth {
  unix_listener auth-userdb {
    group = _dovenull
    mode = 0666
    user = _dovenull
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
  process_min_avail = 0
  service_count = 1
}
service imap {
  process_limit = 1024
}
service lmtp {
  unix_listener lmtp {
    mode = 0666
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  inet_listener sieve_deprecated {
    port = 2000
  }
}
ssl_cert = </etc/ssl/dovecotcert.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  driver = passwd
}
verbose_ssl = yes
protocol lmtp {
  mail_plugins =
}
protocol lda {
  mail_plugins =
}
# /usr/local/sbin/dovecot -F
Oct 28 13:00:01 mileva newsyslog[1110]: logfile turned over
Oct 28 14:30:46 mileva dovecot: master: Dovecot v2.2.14 starting up
for imap, pop3, lmtp, sieve
Oct 28 14:30:46 mileva dovecot: master: Error: service(aggregator):
pipe() failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(pop3): pipe()
failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error:
open(/var/dovecot/login-master-notifya57a2b8821460734) failed: Too
many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(pop3-login):
safe_mkstemp(/var/dovecot/login-master-notify) failed: Too many open
files
Oct 28 14:30:46 mileva dovecot: master: Error: service(log): pipe()
failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(lmtp): pipe()
failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(ipc): pipe()
failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error:
service(indexer-worker): pipe() failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(indexer):
pipe() failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(imap): pipe()
failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error:
service(imap-urlauth-worker): pipe() failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(imap-urlauth):
pipe() failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error:
open(/var/dovecot/login-master-notify5dd2a3a0591effcc) failed: Too
many open files
Oct 28 14:30:46 mileva dovecot: master: Error:
service(imap-urlauth-login):
safe_mkstemp(/var/dovecot/login-master-notify) failed: Too many open
files
Oct 28 14:30:46 mileva dovecot: master: Error:
open(/var/dovecot/login-master-notify152a1bb891f6f764) failed: Too
many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(imap-login):
safe_mkstemp(/var/dovecot/login-master-notify) failed: Too many open
files
Oct 28 14:30:46 mileva dovecot: master: Error: service(doveadm):
pipe() failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(dns_client):
pipe() failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(director):
pipe() failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(dict): pipe()
failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(config): pipe()
failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(auth): pipe()
failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(auth-worker):
pipe() failed: Too many open files
Oct 28 14:30:46 mileva dovecot: master: Error: service(anvil): command
startup failed, throttling for 2 secs
Oct 28 14:30:56 mileva dovecot: master: Error: service(ssl-params):
command startup failed, throttling for 2 secs

[snipped 18 pages of /var/log/maillog]

Oct 28 20:47:44 mileva dovecot: master: Dovecot v2.2.14 starting up
for imap, pop3, lmtp, sieve
Oct 28 20:47:44 mileva dovecot: master: Error: service(aggregator):
pipe() failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(pop3): pipe()
failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error:
open(/var/dovecot/login-master-notifydd522320d99e7f4c) failed: Too
many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(pop3-login):
safe_mkstemp(/var/dovecot/login-master-notify) failed: Too many open
files
Oct 28 20:47:44 mileva dovecot: master: Error: service(log): pipe()
failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(lmtp): pipe()
failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(ipc): pipe()
failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error:
service(indexer-worker): pipe() failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(indexer):
pipe() failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(imap): pipe()
failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error:
service(imap-urlauth-worker): pipe() failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(imap-urlauth):
pipe() failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error:
open(/var/dovecot/login-master-notify95aa9b38117677e4) failed: Too
many open files
Oct 28 20:47:44 mileva dovecot: master: Error:
service(imap-urlauth-login):
safe_mkstemp(/var/dovecot/login-master-notify) failed: Too many open
files
Oct 28 20:47:44 mileva dovecot: master: Error:
open(/var/dovecot/login-master-notify4d021350494e6f7c) failed: Too
many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(imap-login):
safe_mkstemp(/var/dovecot/login-master-notify) failed: Too many open
files
Oct 28 20:47:44 mileva dovecot: master: Error: service(doveadm):
pipe() failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(dns_client):
pipe() failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(director):
pipe() failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(dict): pipe()
failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(config): pipe()
failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(auth): pipe()
failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(auth-worker):
pipe() failed: Too many open files
Oct 28 20:47:44 mileva dovecot: master: Error: service(anvil): command
startup failed, throttling for 2 secs
Oct 28 20:47:46 mileva dovecot: master: Warning: Killed with signal 2
(by pid=0 uid=0 code=kill)
Oct 28 20:47:46 mileva dovecot: master: Error:
open(/var/dovecot/.temp.mileva.home.lan.17422.055a8b6881266714)
failed: Too many open files
Oct 28 20:47:46 mileva dovecot: master: Error:
file_dotlock_open(/var/dovecot/instances) failed: Too many open files
Oct 28 20:47:46 mileva dovecot: master: Error: service(ssl-params):
command startup failed, throttling for 2 secs


# /usr/sbin/smtpd -n
configuration OK


More information about the dovecot mailing list