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 revision
Previous revision
docs:tips_n_tricks:dovecot.html [16.08.2018 11:14 CEST] – [Troubleshooting] peterdocs:tips_n_tricks:dovecot.html [01.02.2019 13:36 CET] (current) – [Remediation] peter
Line 30: Line 30:
 Credits: Credits:
   * https://wiki.dovecot.org/Replication   * https://wiki.dovecot.org/Replication
 +
 +==== Deduplication ====
 +
 +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//
Line 80: Line 94:
 {{entry>imap}} {{entry>imap}}
 {{entry>email}} {{entry>email}}
-{{entry>dovect}}+{{entry>dovecot}}
docs/tips_n_tricks/dovecot.html.1534410895.txt.gz · Last modified: 16.08.2018 11:14 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki