Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Louis <usenet26@ossh.com>
Subject: Re: nnimap authorization
Date: Sat, 06 Dec 2003 07:08:10 GMT	[thread overview]
Message-ID: <nntp.hhr7zifmdh.fsf@requiemforadream.com> (raw)
In-Reply-To: <87ptf2o44k.fsf@dps11.oconnoronline.net>

Billy O'Connor <billyoc@linuxfromscratch.org> writes:

> I'm being prompted for a username/password for one of my nnimap
> sources even though(i think) I've got my .imap-authinfo file set up
> correctly.  My .gnus file has the following:
>
> (setq gnus-secondary-select-methods
>       '( 
> 	(nnimap "lfs"
> 		(nnimap-address "linuxfromscratch.org")
> 		(nnimap-authenticator login)
> 		(nnimap-stream ssl)
> 		(remove-prefix "INBOX.")
> 		(nnimap-authinfo-file "/home/billyoc/.imap-authinfo"))
> 	(nnimap "dpscon"
> 		(nnimap-address "dpscon.com")
> 		(nnimap-authenticator login)
> 		(nnimap-stream ssl)
> 		(remove-prefix "INBOX.")
> 		(nnimap-authinfo-file "/home/billyoc/.imap-authinfo")))
>       )
>
>
> And my .imap-authinfo has the following 2 entries:      
>
> machine linuxfromscratch.org login billyoc password secret
> machine dpscon.com login billyoc password secret
>
>
> I'm still being prompted for the dpscon username/password, is there
> something wrong with the way I've set up my .imap-authinfo file?
>
> TIA,
> Billy

I use the following (one line only) for each authinfo file:

machine mail.ossh.com login USERNAME password PASSWORD port 993

You should create a seperate ~/.imap-authinfo file for each imap
server and specify it as shown:

 		(nnimap-authinfo-file "/home/billyoc/.imap-authinfo-lfs"))
 		(nnimap-authinfo-file "/home/billyoc/.imap-authinfo-dps"))

Hope that helps.

-- 
LCC


           reply	other threads:[~2003-12-06  7:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <87ptf2o44k.fsf@dps11.oconnoronline.net>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nntp.hhr7zifmdh.fsf@requiemforadream.com \
    --to=usenet26@ossh.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).