Roundcube, Kmail bekommen keine Verbindung zum Managesieve-Server

Andreas Günther dovecot at linuxmaker.com
Fr Jan 22 12:16:05 CET 2016


Hallo,

ich bekomme keine Verbindung zum Managesieve von Dovecot via Roundcube ("Kann 
keine Verbindung mit Managesieve-Server herstellen") bzw. Kmail (Hier werden 
keine Meldungen ausgegeben, rödelt halt).

Ich habe schon überlegt, ob das daran liegt, dass er nur auf localhost hört:
lsof -i:4190
COMMAND     PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
dovecot     468     root   15u  IPv4  12189      0t0  TCP *:sieve (LISTEN)
dovecot     468     root   16u  IPv6  12190      0t0  TCP *:sieve (LISTEN)
managesie 21740 dovenull    7u  IPv4  12189      0t0  TCP *:sieve (LISTEN)
managesie 21740 dovenull    8u  IPv6  12190      0t0  TCP *:sieve (LISTEN)
managesie 22558 dovenull    7u  IPv4  12189      0t0  TCP *:sieve (LISTEN)
managesie 22558 dovenull    8u  IPv6  12190      0t0  TCP *:sieve (LISTEN)

netstat -tulpen | grep 4190
tcp        0      0 0.0.0.0:4190            0.0.0.0:*               LISTEN      
0          12189       468/dovecot     
tcp6       0      0 :::4190                 :::*                    LISTEN      
0          12190       468/dovecot 


# 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_verbose = yes
debug_log_path = /var/log/dovecot/dovecot-debug.log
dict {
  sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf
}
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_home = /var/vmail/%d/%n
mail_location = maildir:~/
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = quota acl
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 = /
}
passdb {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}
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 = ~/.dovecot.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
service auth {
  unix_listener /var/spool/postfix/private/auth_dovecot {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-master {
    mode = 0600
    user = vmail
  }
  unix_listener auth-userdb {
    mode = 0600
    user = vmail
  }
  user = root
}
service dict {
  unix_listener dict {
    group = vmail
    mode = 0660
    user = vmail
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-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
}
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 {
  args = /etc/dovecot/dovecot-mysql.conf
  driver = sql
}
verbose_ssl = yes
protocol imap {
  mail_plugins = quota imap_quota imap_acl acl
}
protocol lmtp {
  auth_socket_path = /var/run/dovecot/auth-master
  mail_plugins = quota sieve acl
  postmaster_address = postmaster at it-linuxmaker.de
}
protocol sieve {
  managesieve_logout_format = bytes=%i/%o
}
remote 127.0.0.1 {
  disable_plaintext_auth = no
}

Wie lässt sich das testen, lösen? Und wo finde ich die Sieve-Logs?
Vielleicht explizit IP-Adresse anstelle von Localhost an Sieve binden?

Grüße

Andreas
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listen.jpberlin.de/pipermail/dovecot/attachments/20160122/703e7306/attachment-0001.html>


Mehr Informationen über die Mailingliste Dovecot