~/.netrc & multiple accounts with same @domain

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Mar 21 16:21:21 UTC 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://lists.alioth.debian.org/pipermail/offlineimap-project/attachments/20110321/ef744057/attachment.pgp>


More information about the OfflineIMAP-project mailing list