Error: systemd listens on port 993, but it's not configured in Dovecot.
Florian Brucker
Flo.Brucker at gmx.de
Fr Jan 15 18:01:51 CET 2016
Hallo,
ich versuche mich an der Installation von Dovecot auf einem Debian Jessie. In den Log-Files sehe ich regelmässig:
2016-01-15 17:33:35 master: Error: systemd listens on port 993, but it's not configured in Dovecot. Closing.
Der Systemd liefert:
systemctl status dovecot.socket
● dovecot.socket - Dovecot IMAP/POP3 email server activation socket
Loaded: loaded (/lib/systemd/system/dovecot.socket; enabled)
Active: active (running) since Fr 2016-01-15 17:33:35 CET; 22min ago
Listen: 0.0.0.0:143 (Stream)
[::]:143 (Stream)
0.0.0.0:993 (Stream)
[::]:993 (Stream)
systemctl status dovecot.socket
● dovecot.socket - Dovecot IMAP/POP3 email server activation socket
Loaded: loaded (/lib/systemd/system/dovecot.socket; enabled)
Active: active (running) since Fr 2016-01-15 17:33:35 CET; 23min ago
Listen: 0.0.0.0:143 (Stream)
[::]:143 (Stream)
0.0.0.0:993 (Stream)
[::]:993 (Stream)
Ich weiß nicht, wo ich den Port 993 für Dovecot explizit konfigieren muss. Ich meine, ich habe an den notwendigen Stellen den Port 993 verfügbar gemacht.
mail:/etc/dovecot # doveconf -N
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.2
auth_debug = yes
auth_mechanisms = plain login
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
auth_verbose = yes
debug_log_path = /var/log/dovecot/dovecot-debug.log
dict {
sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf
}
disable_plaintext_auth = yes
info_log_path = /var/log/dovecot/dovecot-info.log
listen = *,[::]
log_path = /var/log/dovecot/dovecot.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k
mail_debug = yes
mail_fsync = always
mail_gid = vmail
mail_home = /var/vmail/%d/%n
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = quota acl
mail_privileged_group = vmail
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
mmap_disable = yes
namespace {
list = yes
location = maildir:%%h/:INDEXPVT=~/Shared/%%u
prefix = Shared/%%u/
separator = /
subscriptions = yes
type = shared
}
namespace inbox {
inbox = yes
location =
mailbox Archiv {
special_use = \Archive
}
mailbox Archive {
auto = subscribe
special_use = \Archive
}
mailbox Archives {
special_use = \Archive
}
mailbox "Deleted Messages" {
special_use = \Trash
}
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox Entwürfe {
special_use = \Drafts
}
mailbox "Gelöschte Objekte" {
special_use = \Trash
}
mailbox Gesendet {
special_use = \Sent
}
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox Papierkorb {
special_use = \Trash
}
mailbox Sent {
auto = subscribe
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
prefix =
separator = /
subscriptions = yes
}
passdb {
driver = pam
name =
}
passdb {
args = /etc/dovecot/dovecot-mysql.conf
driver = sql
name =
}
plugin {
acl = vfile
acl_anyone = allow
acl_shared_dict = file:/var/vmail/shared-mailboxes.db
quota = dict:User quota::proxy::sqlquota
quota_rule2 = Trash:storage=+100%%
sieve = /var/vmail/sieve/%u.sieve
sieve_after = /var/vmail/sieve/global.sieve
sieve_dir = ~/sieve
sieve_max_script_size = 1M
sieve_quota_max_scripts = 0
sieve_quota_max_storage = 0
}
protocols = imap sieve lmtp pop3
recipient_delimiter = +
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-master {
mode = 0600
user = vmail
}
unix_listener auth-userdb {
group = vmail
mode = 0600
user = vmail
}
user = root
}
service dict {
unix_listener dict {
group = vmail
mode = 0660
user = vmail
}
}
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
}
service lmtp {
unix_listener /var/spool/postfix/private/lmtp {
group = postfix
mode = 0600
user = postfix
}
user = vmail
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
process_min_avail = 2
service_count = 1
vsz_limit = 128 M
}
service managesieve {
process_limit = 256
}
service pop3-login {
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
port = 995
ssl = yes
}
}
ssl = no
ssl_cert = </etc/ssl/mail/mail.crt
ssl_cipher_list = EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA
ssl_dh_parameters_length = 2048
ssl_key = </etc/ssl/mail/mail.key
ssl_protocols = !SSLv3 !SSLv2
userdb {
driver = passwd
name =
}
userdb {
args = /etc/dovecot/dovecot-mysql.conf
driver = sql
name =
}
verbose_proctitle = yes
protocol lmtp {
auth_socket_path = /var/run/dovecot/auth-master
mail_plugins = quota sieve acl
postmaster_address = postmaster at isp.de
}
protocol imap {
mail_plugins = quota imap_quota imap_acl acl
}
protocol sieve {
managesieve_logout_format = bytes=%i/%o
}
Vielleicht sieht jemand meinen Fehler. Ich bin gerade betriebsblind.
Grüße
Florian
Mehr Informationen über die Mailingliste Dovecot