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 to have some type of indication at the server level so I can run a resync on a per-user basis as required. However, I don't know what to look for. I did not see any signs of the problem on the server - but perhaps I did not know what to look for.
The only other alternative is for me to do a global resync in the cron.daily but my fear is that this won't scale well for thousands of users.
Please advise.
Thanks in advance.
-----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
iQEVAwUBVQKaP3z1H7kL/d9rAQKkCQf/VwbytrDRGDJT8Ado8J5L/melZ751jqME pmRQ51McVo80SFvpNuQe93tLlJcGwltgr4He2scxBMelzBlfmQ9Vqrl0EH9R+RpE UxPGHbhWa6Dm23gRMgeYiLx9YlZXnnKtnpUL4MriMwIrrTGaN1hq7yX4Ot2k+ImM vHI3aFSTg35lklKfrzfDwKaQKQMMVf8fz4fZJICL2Vas2df5XaSEyQY1wM/PUqoj Bev0POPfvKhba8adY5yAM9fWpBmStwspIwKR1ZWqflOlz41WfOKeQBWkMqXK7hpV LpF5dY1omVE0BORE5+4T9hY03RXtBcepVczfS4MhX4WrNkJ3TMrjvw== =gjO3 -----END PGP SIGNATURE-----
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----- 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
iQEVAwUBVQKaP3z1H7kL/d9rAQKkCQf/VwbytrDRGDJT8Ado8J5L/melZ751jqME pmRQ51McVo80SFvpNuQe93tLlJcGwltgr4He2scxBMelzBlfmQ9Vqrl0EH9R+RpE UxPGHbhWa6Dm23gRMgeYiLx9YlZXnnKtnpUL4MriMwIrrTGaN1hq7yX4Ot2k+ImM vHI3aFSTg35lklKfrzfDwKaQKQMMVf8fz4fZJICL2Vas2df5XaSEyQY1wM/PUqoj Bev0POPfvKhba8adY5yAM9fWpBmStwspIwKR1ZWqflOlz41WfOKeQBWkMqXK7hpV LpF5dY1omVE0BORE5+4T9hY03RXtBcepVczfS4MhX4WrNkJ3TMrjvw== =gjO3 -----END PGP SIGNATURE-----
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' maillog grep -i 'fail' maillog grep -i 'error' maillog grep -i 'warn' maillog
On 3/13/2015 3:05 AM, Steffen Kaiser wrote: 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?
-----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 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' maillog grep -i 'fail' maillog grep -i 'error' maillog grep -i 'warn' maillog
(Y)
On 3/13/2015 3:05 AM, Steffen Kaiser wrote: 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
iQEVAwUBVQLyJXz1H7kL/d9rAQK7YggAtWJz0FEylF3I8r7qUZsRjraPuXcHUAHM bDGkrr/9BVUTeFF+wVK51k8iBBb7P2VJo8tefJ1gho00gfJpZo2EE8VG/LEt2LeH chq7v8iCNBaTRMXLlQwzUMii5JjSfoKuFRFEhphuv0yLacWT5AICPiqTqrLz+wQh UW7KMfxZuXDxR4zNj58Da8HQmiTSNm7BQv4N1GpExkGNxcE14X7By4iPFxkKq1OI O24iPL1WSwwhOftdBGuXFO2oCOqIQKHu/aZdoElezobxlNXgegDMk6ui9LPu9V1T 44IF1sICPEjpQyf7SgEvJcpBarXeaUy2NtZGMkWHWU0LNl5XQrETcA== =OGb3 -----END PGP SIGNATURE-----
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: 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 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' maillog grep -i 'fail' maillog grep -i 'error' maillog grep -i 'warn' maillog
(Y)
On 3/13/2015 3:05 AM, Steffen Kaiser wrote: 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
iQEVAwUBVQLyJXz1H7kL/d9rAQK7YggAtWJz0FEylF3I8r7qUZsRjraPuXcHUAHM bDGkrr/9BVUTeFF+wVK51k8iBBb7P2VJo8tefJ1gho00gfJpZo2EE8VG/LEt2LeH chq7v8iCNBaTRMXLlQwzUMii5JjSfoKuFRFEhphuv0yLacWT5AICPiqTqrLz+wQh UW7KMfxZuXDxR4zNj58Da8HQmiTSNm7BQv4N1GpExkGNxcE14X7By4iPFxkKq1OI O24iPL1WSwwhOftdBGuXFO2oCOqIQKHu/aZdoElezobxlNXgegDMk6ui9LPu9V1T 44IF1sICPEjpQyf7SgEvJcpBarXeaUy2NtZGMkWHWU0LNl5XQrETcA== =OGb3 -----END PGP SIGNATURE-----
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 have easily missed it. Is there a certain error or phrase I should look for? If so please advise.
man grep
grep -i 'sync' maillog grep -i 'fail' maillog grep -i 'error' maillog grep -i 'warn' maillog
On 3/13/2015 3:05 AM, Steffen Kaiser wrote: 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?
participants (3)
-
Cliff Hayes
-
Reindl Harald
-
Steffen Kaiser