Actually, because years ago I had message loss with Google, I set up
`mbsync`. Today, again, I noted that I lost a message I received
yesterday. It is neither in Trash nor in Spam. Now I wonder: Could
`mbsync` be to blame?

I run it as a `systemd` service on a Linux system, which I regularly
restart:

    mbsync -V -c mbsyncrc gmail

Find my configuration attached. In yesterday’s log, I have a bunch of
sections such as:

Jun 07 22:19:02 felix-arch systemd[635]: Starting Mailbox
synchronization service...
Jun 07 22:19:02 felix-arch bash[303484]: Reading configuration file mbsyncrc
Jun 07 22:19:02 felix-arch bash[303484]: Channel gmail
Jun 07 22:19:02 felix-arch bash[303484]: Opening far side store gmail-remote...
Jun 07 22:19:02 felix-arch bash[303484]: Resolving imap.gmail.com... ok
Jun 07 22:19:02 felix-arch bash[303484]: Connecting to imap.gmail.com
(74.125.205.108:993)...
Jun 07 22:19:02 felix-arch bash[303484]: Opening near side store gmail-local...
Jun 07 22:19:02 felix-arch bash[303484]: Connection is now encrypted
Jun 07 22:19:03 felix-arch bash[303484]: Logging in...
Jun 07 22:19:03 felix-arch bash[303484]: Authenticating with SASL
mechanism PLAIN...
Jun 07 22:19:04 felix-arch bash[303484]: Opening far side box
[Gmail]/All Mail...
Jun 07 22:19:04 felix-arch bash[303484]: Opening near side box INBOX...
Jun 07 22:19:05 felix-arch bash[303484]: Loading far side box...
Jun 07 22:19:05 felix-arch bash[303484]: Loading near side box...
Jun 07 22:19:38 felix-arch bash[303484]: near side: 60729 messages, 3 recent
Jun 07 22:19:38 felix-arch bash[303484]: Socket error on
imap.gmail.com (74.125.205.108:993): timeout.
Jun 07 22:19:38 felix-arch systemd[635]: mbsync.service: Main process
exited, code=exited, status=1/FAILURE
Jun 07 22:19:38 felix-arch systemd[635]: mbsync.service: Failed with
result 'exit-code'.
Jun 07 22:19:38 felix-arch systemd[635]: Failed to start Mailbox
synchronization service.
#!/bin/sh

# Felix E. Klee <felix.k...@inka.de>

SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)
cd "$SCRIPT_DIR"
mbsync -V -c mbsyncrc gmail

Attachment: mbsync.timer
Description: Binary data

Attachment: mbsyncrc
Description: Binary data

Attachment: mbsync.service
Description: Binary data

_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to