docs:tips_n_tricks:dovecot.html
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
docs:tips_n_tricks:dovecot.html [16.08.2018 11:14 CEST] – [Troubleshooting] peter | docs:tips_n_tricks:dovecot.html [28.01.2019 23:34 CET] – [Troubleshooting] peter | ||
---|---|---|---|
Line 30: | Line 30: | ||
Credits: | Credits: | ||
* https:// | * https:// | ||
+ | |||
+ | Sometimes, root cause of replication troubles seem to be duplicated emails. Those might be cleaned up in mailboxes //INBOX// and //Spam// for account // | ||
+ | |||
+ | <code bash deduplicate.sh> | ||
+ | while doveadm deduplicate -u user@example.com mailbox INBOX OR mailbox Spam | ||
+ | do | ||
+ | fgrep -c Message-ID: example.com/ | ||
+ | echo "++++ `date` +++++" | ||
+ | done | ||
+ | </ | ||
+ | |||
+ | 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