Re: How to detect out-of-sync condition

2015-03-16 Thread Joseph Tam
I tried to look at a dovecot.index.log and it was unreadable in a text editor. I didn't see anything in the wiki link about how to view the log. It's not supposed to be human readable -- the point of this exercise was to check whether your indices are really out of date. You can perhaps comp

Re: How to detect out-of-sync condition

2015-03-13 Thread Cliff Hayes
I tried to look at a dovecot.index.log and it was unreadable in a text editor. I didn't see anything in the wiki link about how to view the log. So I guess I'll just be guilty of excessive optimizing. Should I run a daily doveadm index or resync? On 3/13/2015 6:00 PM, Joseph Tam wrote: On Fri

Re: How to detect out-of-sync condition

2015-03-13 Thread Joseph Tam
Cliff Hayes writes: I didn't see anything but the log is huge and I could have easily missed it. Is there a certain error or phrase I should look for? If so please advise. In my setup using mbox, typical log entries would be like (Common) Warning: UIDVALIDITY changed ({int} ->

Re: How to detect out-of-sync condition

2015-03-13 Thread Joseph Tam
On Fri, 13 Mar 2015, Cliff Hayes writes: By closing off other avenues other than dovecot imap/pop/lda/etc., the indices will stay sync'd. I use dovecot's lda and dovecot's sieve filter. Then I'm not sure how mailboxes ever get out of sync. So it looks like I need to compare the index/mailb

Re: How to detect out-of-sync condition

2015-03-13 Thread Cliff Hayes
Yes ... it is maillog per below: # doveadm log find Looking for log files from /var/log Debug: /var/log/maillog Info: /var/log/maillog Warning: /var/log/maillog Error: /var/log/maillog Fatal: /var/log/maillog On 3/13/2015 9:20 AM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: S

Re: How to detect out-of-sync condition

2015-03-13 Thread Cliff Hayes
I searched with your recommended criteria and there was nothing relevant returned. On 3/13/2015 8:36 AM, Reindl Harald wrote: Am 13.03.2015 um 14:29 schrieb Cliff Hayes: I looked in the place where dovecot logs everything ... the maillog. I didn't see anything but the log is huge and I could

Re: How to detect out-of-sync condition

2015-03-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 13 Mar 2015, Reindl Harald wrote: Am 13.03.2015 um 14:29 schrieb Cliff Hayes: I looked in the place where dovecot logs everything ... the maillog. Are you sure about maillog? I mean: doveadm log find gives you that file? I didn't see a

Re: How to detect out-of-sync condition

2015-03-13 Thread Reindl Harald
Am 13.03.2015 um 14:29 schrieb Cliff Hayes: I looked in the place where dovecot logs everything ... the maillog. I didn't see anything but the log is huge and I could have easily missed it. Is there a certain error or phrase I should look for? If so please advise. man grep grep -i 'sync' mail

Re: How to detect out-of-sync condition

2015-03-13 Thread Cliff Hayes
I looked in the place where dovecot logs everything ... the maillog. I didn't see anything but the log is huge and I could have easily missed it. Is there a certain error or phrase I should look for? If so please advise. On 3/13/2015 3:05 AM, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE--

Re: How to detect out-of-sync condition

2015-03-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 12 Mar 2015, Cliff Hayes wrote: I recently had a user whose mailbox had gone out of sync. There are no log entries about broken sync or something something like that? - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1

Re: How to detect out-of-sync condition

2015-03-12 Thread Cliff Hayes
Thanks. I use dovecot's lda and dovecot's sieve filter. So it looks like I need to compare the index/mailbox mtimes as you suggest. What am I looking for? I see that the indexes are updated when I run the resync. I checked my mailbox (that was not resynced) and noticed that dovecot.index last u

Re: How to detect out-of-sync condition

2015-03-12 Thread Joseph Tam
Cliff Hayes writes: I recently had a user whose mailbox had gone out of sync. Webmail and client inbox totals had become vastly different and response times had become unacceptable. A doveadm force-resync fixed the problem nicely. This will no doubt happen again as we grow the service and I wo

How to detect out-of-sync condition

2015-03-12 Thread Cliff Hayes
Hello list, I recently had a user whose mailbox had gone out of sync. Webmail and client inbox totals had become vastly different and response times had become unacceptable. A doveadm force-resync fixed the problem nicely. This will no doubt happen again as we grow the service and I would like