Replicator Plugin repliziert eingehende Mails nicht

David Hellmanns david.hellmanns at gmx.net
Fr Nov 4 09:42:44 CET 2016


Vielen Dank für die schnelle Antwort!

>> Da ich nicht genau weiß ob und welche Konfigurationsdateien ich hier
>> anhängen sollte, verzichte ich erstmal darauf um den Post nicht unnötig
>> unleserlich zu machen.
> Output von "doveconf -n" -- und dann genau könnte man Dir jetzt
> zielsicher helfen.
# 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.13 (7b14904)
auth_mechanisms = plain login
dict {
   quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = yes
doveadm_password =  # hidden, use -P to show it
doveadm_port = 9095
haproxy_trusted_networks = 10.0.0.10 10.0.1.10
mail_location = maildir:~/Maildir
mail_plugins = quota zlib notify replication
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 index ihave duplicate mime foreverypart extracttext
namespace inbox {
   inbox = yes
   location =
   mailbox Drafts {
     auto = subscribe
     special_use = \Drafts
   }
   mailbox Junk {
     auto = subscribe
     special_use = \Junk
   }
   mailbox Sent {
     auto = subscribe
     special_use = \Sent
   }
   mailbox Trash {
     auto = subscribe
     special_use = \Trash
   }
   prefix =
}
passdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
plugin {
   mail_replica = tcp:10.0.0.5
   quota = dict:User quota::proxy::quota
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
   zlib_save = gz
   zlib_save_level = 6
}
protocols = " imap lmtp sieve pop3"
service aggregator {
   fifo_listener replication-notify-fifo {
     group = vmail
     user = vmail
   }
   unix_listener replication-notify {
     group = vmail
     user = vmail
   }
}
service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0666
     user = postfix
   }
}
service dict {
   unix_listener dict {
     mode = 0600
     user = vmail
   }
}
service doveadm {
   inet_listener {
     port = 9095
   }
}
service imap-login {
   inet_listener imap_haproxy {
     haproxy = yes
     port = 10143
   }
}
service lmtp {
   unix_listener /var/spool/postfix/private/dovecot-lmtp {
     group = postfix
     mode = 0600
     user = postfix
   }
}
service pop3-login {
   inet_listener pop3_haproxy {
     haproxy = yes
     port = 10110
   }
}
service replicator {
   process_min_avail = 1
   unix_listener replicator-doveadm {
     group = vmail
     mode = 0600
     user = vmail
   }
}
ssl_cert = </etc/ssl/certs/ssl-cert.pem
ssl_cipher_list = 
EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA256:EECDH:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!IDEA:!ECDSA:kEDH:CAMELLIA128-SHA:AES128-SHA
ssl_dh_parameters_length = 2048
ssl_key = </etc/ssl/private/ssl-cert.key
ssl_prefer_server_ciphers = yes
ssl_protocols = !SSLv3 !SSLv2
userdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
protocol lmtp {
   mail_plugins = quota zlib notify replication sieve
   postmaster_address = postmaster at localhost
}
protocol imap {
   mail_plugins = quota zlib notify replication imap_quota
}

>> oder eine Aktion auf dem Konto ausführe, also z.B. eine Mail löschen,
>> werden die Mails repliziert.
> Hört sich für mich danach an, als ob Du das notify und replicator-Plugin
> nur in der IMAP-Section, nicht aber global definiert hast und Du damit
> das Plugin insbesondere auch nicht bei lmtp aktiv hast.
>
> Was steht global in "mail_plugins"?
mail_plugins = quota zlib notify replication


Mehr Informationen über die Mailingliste Dovecot