<p dir="ltr">Hi again,</p>
<p dir="ltr">I solved the problem: the path to the password file was relative so when I ran offlineimap from a different location it would fail and switch to other authentication methods.</p>
<p dir="ltr">Silly me. </p>
<p dir="ltr">Best regards,</p>
<p dir="ltr">Lorenzo</p>