~/.netrc & multiple accounts with same @domain

Pan Tsu inyaoo at gmail.com
Mon Mar 21 10:12:42 GMT 2011


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.

--
$ offlineimap --version
6.3.2




More information about the OfflineIMAP-project mailing list