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