sieve replication and .dovecot.lda-dupes
Jan Behrend
jbehrend at mpifr-bonn.mpg.de
Tue Nov 4 11:33:13 UTC 2014
Hello list,
I have a replicated dovecot with two servers.
People seem to get vacation responses more often then it is specified in
"days: XX", depending on which dovecot instance they receive the
incoming mail. Is ".dovecot.lda-dupes" replicated?
The other problem is that the vacation response is coming from the wrong
address depending on which field the recipient was listed: "to:" or
"cc:"
Here is my test example:
g9-rz has the vacation rule set up:
date | mail -s test -r jbehrend at mpifr-bonn.mpg.de -c
g9-rz at mpifr-bonn.mpg.de jan at flatpick.de
and this returns this vacation response:
### snip ###
Return-Path: <>
Delivered-To: <jbehrend at mpifr-bonn.mpg.de>
Received: from mail2.mpifr-bonn.mpg.de ([134.104.18.60]) by
mailbox2.mpifr-bonn.mpg.de (Dovecot) with LMTP id
+pgPDzm1WFSn9wAAvl5QjA
for <jbehrend at mpifr-bonn.mpg.de>; Tue, 04 Nov 2014 12:16:13 +0100
X-Sieve: Pigeonhole Sieve 0.4.2
Message-ID:
<dovecot-sieve-1415099773-541512-0 at mailbox1.mpifr-bonn.mpg.de>
Date: Tue, 04 Nov 2014 12:16:13 +0100
From: jan at flatpick.de
To: <jbehrend at mpifr-bonn.mpg.de>
Subject: Vacation
In-Reply-To: <E1Xlc5t-0001LT-Bu at jb1.mpifr-bonn.mpg.de>
References: <E1Xlc5t-0001LT-Bu at jb1.mpifr-bonn.mpg.de>
Auto-Submitted: auto-replied (vacation)
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Evolution-Source: 1385020682.6450.3 at jb1
Ain't here! Go away or something ...
Cheers
### snip ###
I would expect "g9-rz at mpifr-bonn.mpg.de" in the from: field. Is this
correct?
Cheers Jan
--
MAX-PLANCK-INSTITUT fuer Radioastronomie
Jan Behrend - Rechenzentrum
----------------------------------------
Auf dem Huegel 69, D-53121 Bonn
Tel: +49 (228) 525 359, Fax: +49 (228) 525 229
jbehrend at mpifr-bonn.mpg.de http://www.mpifr-bonn.mpg.de
-------------- next part --------------
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.7 xfs
auth_gssapi_hostname = imap.mpifr-bonn.mpg.de
auth_krb5_keytab = /etc/krb5-ha.keytab
auth_mechanisms = plain login gssapi
auth_verbose = yes
default_process_limit = 1024
default_vsz_limit = 512 M
dict {
acl = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
doveadm_password = xxx
doveadm_port = 50222
listen = 134.104.18.77
lmtp_save_to_detail_mailbox = yes
mail_location = mdbox:/var/mail/%Ln/maildrop
mail_plugins = acl 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 ihave imapflags notify
mdbox_rotate_size = 10 M
namespace mpifr_private {
inbox = yes
location =
prefix =
separator = .
}
namespace mpifr_shared {
inbox = no
list = children
location = mdbox:/var/mail/%%n/maildrop
prefix = shared.%%n.
separator = .
subscriptions = no
type = shared
}
passdb {
args = /etc/dovecot/dovecot-ldap-passdb.conf.ext
driver = ldap
}
plugin {
acl = vfile
acl_defaults_from_inbox = yes
acl_shared_dict = proxy::acl
mail_replica = tcp:192.168.42.173:50222
sieve = ~/.dovecot.sieve
sieve_after = /var/mail/global-after.sieve
sieve_dir = ~/sieve
sieve_extensions = +notify +imapflags
sieve_global_dir = /var/mail
zlib_save = gz
zlib_save_level = 6
}
protocols = " imap lmtp sieve pop3"
replication_dsync_parameters = -d -l 30 -U -n mpifr_private -n mpifr_shared
replication_max_conns = 6
service aggregator {
fifo_listener replication-notify-fifo {
user = vmail
}
unix_listener replication-notify {
user = vmail
}
}
service anvil {
client_limit = 8192
}
service auth {
client_limit = 8192
unix_listener auth-userdb {
group = vmail
user = vmail
}
}
service dict {
unix_listener dict {
group = vmail
user = vmail
}
}
service doveadm {
inet_listener {
address = 192.168.42.105
port = 50222
}
}
service imap-login {
process_min_avail = 5
service_count = 1
}
service imap {
vsz_limit = 512 M
}
service indexer-worker {
client_limit = 1
process_limit = 10
user = root
}
service lmtp {
inet_listener lmtp {
address = 134.104.18.105
port = 24
}
}
service managesieve-login {
inet_listener sieve {
address = 134.104.18.77
port = 4190
}
service_count = 1
}
service pop3-login {
process_min_avail = 5
}
service replicator {
process_min_avail = 1
unix_listener replicator-doveadm {
mode = 0666
}
}
ssl = required
ssl_cert = </etc/dovecot/imap.pem
ssl_cipher_list = ALL:HIGH:!SSLv2:!LOW:!EXP:!RC4:!MD5:!aNULL
ssl_key = </etc/dovecot/private/imap.key
ssl_protocols = !SSLv2 !SSLv3
userdb {
args = /etc/dovecot/dovecot-ldap-userdb.conf.ext
driver = ldap
}
verbose_proctitle = yes
protocol lmtp {
mail_plugins = acl zlib notify replication sieve
}
protocol imap {
imap_client_workarounds = tb-lsub-flags
mail_max_userip_connections = 20
mail_plugins = acl zlib notify replication imap_acl imap_zlib
ssl_cert = </etc/dovecot/imap.pem
ssl_key = </etc/dovecot/private/imap.key
}
protocol pop3 {
ssl_cert = </etc/dovecot/pop3.pem
ssl_key = </etc/dovecot/private/imap.key
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6071 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20141104/809ef117/attachment.bin>
More information about the dovecot
mailing list