<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Can you provide doveconf -n and try turning on mail_debug=yes on both ends and try doveadm -Dv expunge ....
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 04/04/2020 20:03 Olaf Hopp <
<a href="mailto:olaf.hopp@kit.edu">olaf.hopp@kit.edu</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Nobody ? :-(
</div>
<div>
<br>
</div>
<div>
On 3/30/20 5:26 PM, Olaf Hopp wrote:
</div>
<blockquote type="cite">
<div>
Hello everybody,
</div>
<div>
since now I did no replication and spam is delivered into users folder "spambox"
</div>
<div>
Every night there is a cronjob which deletes spam older than 30 days via something like
</div>
<div>
"find .... -ctime +30 -delete"
</div>
<div>
Now I'm going to set up replication (two way) and I thought that
</div>
<div>
doing "rm" is not a good idea.
</div>
<div>
So I modified the job to something like
</div>
<div>
/usr/bin/doveadm expunge -u test1 mailbox INBOX.spambox BEFORE 30d
</div>
<div>
which works like intended, but I see that on the replication
</div>
<div>
partner the spam isn't deleted. Even if I do a
</div>
<div>
doveadm force-resync -u test1 '*'
</div>
<div>
or log in via imap to the replication partner I still see the old spam.
</div>
<div>
<br>
</div>
<div>
So my question is:
</div>
<div>
is this the intended behaviour and I have to run the "doveadm expunge" on both replication partners
</div>
<div>
or should the deletion via "expunge" being replicated to the partner and I have a misconfiguration
</div>
<div>
or maybe I hit a bug ?
</div>
<div>
<br>
</div>
<div>
Regards, Olaf
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
/etc/dovecot/conf.d/12-replication.conf:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
mail_plugins = $mail_plugins notify replication
</div>
<div>
service aggregator {
</div>
<div>
fifo_listener replication-notify-fifo {
</div>
<div>
mode = 0666
</div>
<div>
}
</div>
<div>
unix_listener replication-notify {
</div>
<div>
mode = 0666
</div>
<div>
}
</div>
<div>
}
</div>
<div>
service replicator {
</div>
<div>
process_min_avail = 1
</div>
<div>
unix_listener replicator-doveadm {
</div>
<div>
mode = 0666
</div>
<div>
}
</div>
<div>
}
</div>
<div>
service doveadm {
</div>
<div>
inet_listener {
</div>
<div>
port = 1109
</div>
<div>
}
</div>
<div>
}
</div>
<div>
doveadm_password = XXXXX
</div>
<div>
plugin {
</div>
<div>
mail_replica = tcp:X.Y.Z.X:1109
</div>
<div>
}
</div>
<div>
<br>
</div>
<div>
<br>
</div>
</blockquote>
<div>
<br>
</div>
<div>
--
</div>
<div>
Karlsruher Institut für Technologie (KIT)
</div>
<div>
ATIS - Abt. Technische Infrastruktur, Fakultät für Informatik
</div>
<div>
<br>
</div>
<div>
Dipl.-Geophys. Olaf Hopp
</div>
<div>
- Leitung IT-Dienste -
</div>
<div>
<br>
</div>
<div>
Am Fasanengarten 5, Gebäude 50.34, Raum 009
</div>
<div>
76131 Karlsruhe
</div>
<div>
Telefon: +49 721 608-43973
</div>
<div>
Fax: +49 721 608-46699
</div>
<div>
E-Mail:
<a href="mailto:Olaf.Hopp@kit.edu">Olaf.Hopp@kit.edu</a>
</div>
<div>
www.atis.informatik.kit.edu
</div>
<div>
<br>
</div>
<div>
www.kit.edu
</div>
<div>
<br>
</div>
<div>
KIT - Die Forschungsuniversität in der Helmholtz-Gemeinschaft
</div>
<div>
<br>
</div>
<div>
Das KIT ist seit 2010 als familiengerechte Hochschule zertifiziert.
</div>
</blockquote>
<div>
<br>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>