[PATCH] offlineimap.conf: Clarify password options via netrc

Sebastian Spaeth Sebastian at SSpaeth.de
Tue Mar 22 11:35:11 GMT 2011


On Tue, 22 Mar 2011 14:02:59 +0300, Pan Tsu <inyaoo at gmail.com> wrote:
> Sebastian Spaeth <Sebastian at SSpaeth.de> writes:
> *BSD don't have netrc(5) manpage and their ftp(1) which is lukemftp does
> support multiple logins on same host. See also

The only BSD ftp man page describing netrc on BSD also only parses a
single matching machine entry. So supporting multiple logins is nice,
but certainly not according to the sparse netrc spec info that I can
find.

http://www.mgleicher.us/GEL/hsi/netrc_man_page.html
  machine name
  Identify a remote machine name.  The auto-login process
  searches the .netrc file for a machine token that matches the
  remote machine specified on the ftp command line or as an open
  command argument.  Once a match is made, the subsequent .netrc
  tokens are processed, stopping when the end of file is reached
  or another "machine" or a "default" token is encountered. 

Having said this, if python's netrc implements it, we will certainly
too. Until then, *I* don't feel like implementing a home-grown netrc
parser to support this edge case. Patches always welcome :-).

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/20110322/561026d7/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list