Use a newer version of offlineimap
Enclose the environment variable
Use the conf suffix in the offlineimap configuration file
Make sure the deadlines are correctly sorted
Make weboob workdir be in the personal directory