[Top][All Lists]

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

Re: nnimap-user setting?

From: Ted Zlatanov
Subject: Re: nnimap-user setting?
Date: Sat, 16 Apr 2011 10:27:51 -0500
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

On Sat, 16 Apr 2011 12:14:17 -0300 Stefan Monnier <address@hidden> wrote: 

SM> Doesn't sound right: what if you have several accounts on the same
SM> IMAP server?  auto-info needs to know the username in order to find the
SM> right password.

>> In Gnus, you'd set up multiple secondary servers with the same machine
>> address and each one has its own nnimap-user.

SM> That's one way to do it, but not the only way.  The user may only want
SM> one of the accounts in his list of secondary servers.

Can you give a specific example of what you mean and how it should work?
I may be missing your point.

>> But what bugged you is the auth-source prompting for the user name, right?

SM> Partly, but I don't understand what annoys you in the patch I sent.

Two potential problems with your patch:

You always put `:user nnimap-user' in the `auth-source-search' spec.
That means that a line like "machine x password y" won't work if
`nnimap-user' is set.  It's not annoying, just unnecessarily

Also if the `nnimap-user' is set it should override anything else coming
from `auth-source-search'.  I think your patch allows it to be


reply via email to

[Prev in Thread] Current Thread [Next in Thread]