Offlineimap succeeds at prompt but fails via cron job

Joseph LP ootput at
Wed Dec 9 10:54:20 GMT 2009

Joseph LP <ootput <at>> writes:

> Hello.
> I've an issue with Offlineimap 6.2.0 on Debian Squeeze whereby the command
> works perfectly fine when launched manually at command line, but fails when
> run on a cron schedule. The backtrace from the cron event is:

Well, I've sorted it out. Apparently, dovecot looks for USER= env var. I set
this in the crontab entry and now all is well. Thanks for the env suggestion

More information about the OfflineIMAP-project mailing list