~/.netrc & multiple accounts with same @domain

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Mar 21 16:23:13 GMT 2011


On Mon, 21 Mar 2011 13:12:42 +0300, Pan Tsu <inyaoo at gmail.com> wrote:
> offlineimap is unable to get password from ~/.netrc when it contains
> more than one entry for `machine'
> 
>   machine imap.gmail.com login foo password blah
>   machine imap.gmail.com login bar password blah
> 
> where the last one wins, i.e. `bar'. It'll ask password for `foo'
> account when running in TTY.TTYUI.

Actually looking at the netrc library doc in python, it should be
possible to tickle out different user names against the same host
name. I might have a look at it soon.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110321/c38195aa/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list