Hi,
I use isync (version 1.4.4) to backup my email to my local NAS. It runs
in a docker container every five minutes.
I try to determine if the sync was successful by looking at the return
value. Unfortunately I do get a return value of 1 all the time. The only
error I can see in the logs is, isync tries to access
/root/Maildir/.mbsyncstate although it runs as user abc.
Any ideas or hints are welcome! What am I doing wrong?
Greetings from rainy Stockholm
/Ulrich
Cron script
mbsync -V -a -c /config/mbsync.rc
RC=$?
echo "INFO: Completed sync.sh Result $RC"
I can only see one error message and that is about the sync state
Channel mox
Opening far side store ulrich_mox...
Resolving mail.xxxx.xx... ok
Connecting to mail.xxxx.xx (256.256.256.256:993)...
Opening near side store ulrich_local...
Connection is now encrypted
Logging in...
C: 0/1 B: 0/22 F: +0/0 *0/0 #0/0 N: +0/0 *0/0 #0/0
Error: cannot read sync state /root/Maildir/.mbsyncstate: Permission
denied
My configuration looks like
SyncState /mail/.mbsync/
IMAPAccount ulrich
Host mail.xxxx.xx
User [email protected]
Pass xxxxxxxxxx
AuthMechs LOGIN
SSLType IMAPS
PipelineDepth 50
IMAPStore ulrich_mox
Account ulrich
MaildirStore ulrich_local
Path /mail/ulrich/
#Inbox /mail/ulrich/Inbox/
SubFolders Verbatim
Channel mox
Master :ulrich_mox:
Slave :ulrich_local:
Patterns *
Create Slave
Remove Slave
Expunge Slave
SyncState *
Sync Pull
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel