~/.netrc & multiple accounts with same @domain

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Mar 21 16:21:21 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.
> 
> OTOH, msmtp which I use to send mails picks the right password without issues.

We are simply using the netrc library that python provides:

http://docs.python.org/library/netrc.html

Care to file a bug against them at bugs.python.org?

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/ef744057/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list