User Tools

Site Tools


docs:tips_n_tricks:dovecot.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
docs:tips_n_tricks:dovecot.html [16.08.2018 11:14 CEST] – [Troubleshooting] peterdocs:tips_n_tricks:dovecot.html [28.01.2019 23:34 CET] – [Troubleshooting] peter
Line 30: Line 30:
 Credits: Credits:
   * https://wiki.dovecot.org/Replication   * https://wiki.dovecot.org/Replication
 +
 +Sometimes, root cause of replication troubles seem to be duplicated emails. Those might be cleaned up in mailboxes //INBOX// and //Spam// for account //user@example.com// by
 +
 +<code bash deduplicate.sh>
 +while doveadm deduplicate -u user@example.com mailbox INBOX OR mailbox Spam
 +do
 +  fgrep -c Message-ID: example.com/user/mail/Spam xid.at/xen/mail/INBOX
 +  echo "++++ `date` +++++"
 +done
 +</code>
 +
 +This will run forever ans should be stopped when numbers do not change any more.
 ==== Monitoring ==== ==== Monitoring ====
 //This solution is for nagios-like monitoring systems// //This solution is for nagios-like monitoring systems//
docs/tips_n_tricks/dovecot.html.txt · Last modified: 01.02.2019 13:36 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki