[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#262452: offlineimap: Fails to use ~/.authinfo



Hi Matthew!

On Sat, 31 Jul 2004 04:08:47 +0200, Matthew Dempsky wrote:
> Package: offlineimap
> Version: 4.0.5
[...]
> This can probably be forwarded to upstream, but it would be nice if
> offlineimap would use my ~/.authinfo for authentication if applicable.

I cannot find any "official" information about ~/.authinfo except in the
Gnus/Emacs manual:

  `nntp-authinfo-function' in http://www.gnu.org/software/emacs/manual/html_node/gnus/NNTP.html
  `nnimap-authinfo-file' in http://www.gnu.org/software/emacs/manual/html_node/gnus/IMAP.html

However, in my limited experience I am used to ~/.netrc as the
"official" AUTHINFO file, not only for FTP: `man 5 netrc`.  This is why
on my machine I have ~/.authinfo -> .netrc ;-)

And at least Python seems to use it even for NNTP:

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

Indeed offlineimap can already use the information from ~/.netrc:

  https://github.com/jgoerzen/offlineimap/blob/master/offlineimap/repository/IMAP.py#L112

Would this be enough?

Thx, bye,
Gismo / Luca

Attachment: pgpskBjFmpADE.pgp
Description: PGP signature


Reply to: