Using offlineimap in noninteractive mode

I have just set up offlineimap to run in non interactive mode. I use it for backup and for teaching my spamfilter. However, the documentation did not describe how to avoid beeing asked for a password, so I looked in the source and found out:

In your .offlineimaprc file, just add a setting named remotepass (just like remotehost and remoteuser). You password will be unencrypted, but if you run the command: chmod 600 ~/.offlineimaprc, then only you and the servers administrator can see it.

On may way I found this great article.

PS. Just read the article above, and it actually mentions the remotepass setting.

Comments are closed.