On Mon, Nov 24, 2025 at 01:25:25PM +0100, Ulrich Wisser via isync-devel wrote:
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?
it seems plausible that cron doesn't set up $HOME correctly when
changing the user.
My configuration looks like
SyncState /mail/.mbsync/
not being localized to any user, that isn't a very sensible setting. but
you're overriding it below anyway.
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/
that one should have no trailing slash.
the fact that it's commented out is likely the reason why the incorrect
$HOME is being referenced.
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