Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* IMAP behaving strange
@ 2009-05-13 21:34 Marvin
  2009-05-13 21:49 ` Richard Riley
  0 siblings, 1 reply; 3+ messages in thread
From: Marvin @ 2009-05-13 21:34 UTC (permalink / raw)
  To: info-gnus-english

Hi there,

I setup Gnus to read IMAP as follows
(setq gnus-select-method '(nnimap "mail"
                           (nnimap-address "imap.ece.rochester.edu")
                           (nnimap-list-pattern ("INBOX" "mail/*"
"Mail/*" "INBOX.*"))

))

Which prompt me for my username and password, as I expected; however,
when I type  ^ to view the mailboxes I am prompted for username and
passwd again (creating two instances) is this normal or am I doing
something silly ?

thanks
MMD

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: IMAP behaving strange
  2009-05-13 21:34 IMAP behaving strange Marvin
@ 2009-05-13 21:49 ` Richard Riley
  2009-05-14  0:34   ` Marvin
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Riley @ 2009-05-13 21:49 UTC (permalink / raw)
  To: info-gnus-english

Marvin <marvinpas@gmail.com> writes:

> Hi there,
>
> I setup Gnus to read IMAP as follows
> (setq gnus-select-method '(nnimap "mail"
>                            (nnimap-address "imap.ece.rochester.edu")
>                            (nnimap-list-pattern ("INBOX" "mail/*"
> "Mail/*" "INBOX.*"))
>
> ))
>
> Which prompt me for my username and password, as I expected; however,
> when I type  ^ to view the mailboxes I am prompted for username and
> passwd again (creating two instances) is this normal or am I doing
> something silly ?
>
> thanks
> MMD

Consider using .authinfo

e.g

,----
|        gnus-select-method '(nnimap "mymail"
| 				   (nnimap-stream ssl)
| 				   (nnimap-address "imap.myhost.net")
| 				   (nnimap-authinfo-file "~/.authinfo")
| 				   (nnir-search-engine imap))
`----

And .authinfo is documented in the info file, but of the form:

,----
| machine imap.myhost.net login ++++++  password **********
`----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: IMAP behaving strange
  2009-05-13 21:49 ` Richard Riley
@ 2009-05-14  0:34   ` Marvin
  0 siblings, 0 replies; 3+ messages in thread
From: Marvin @ 2009-05-14  0:34 UTC (permalink / raw)
  To: info-gnus-english

On May 13, 5:49 pm, Richard Riley <rileyrg...@googlemail.com> wrote:
> Marvin <marvin...@gmail.com> writes:
> > Hi there,
>
> > I setup Gnus to read IMAP as follows
> > (setq gnus-select-method '(nnimap "mail"
> >                            (nnimap-address "imap.ece.rochester.edu")
> >                            (nnimap-list-pattern ("INBOX" "mail/*"
> > "Mail/*" "INBOX.*"))
>
> > ))
>
> > Which prompt me for my username and password, as I expected; however,
> > when I type  ^ to view the mailboxes I am prompted for username and
> > passwd again (creating two instances) is this normal or am I doing
> > something silly ?
>
> > thanks
> > MMD
>
> Consider using .authinfo
>
> e.g
>
> ,----
> |        gnus-select-method '(nnimap "mymail"
> |                                  (nnimap-stream ssl)
> |                                  (nnimap-address "imap.myhost.net")
> |                                  (nnimap-authinfo-file "~/.authinfo")
> |                                  (nnir-search-engine imap))
> `----
>
> And .authinfo is documented in the info file, but of the form:
>
> ,----
> | machine imap.myhost.net login ++++++  password **********
> `----

Thanks it works like a charm

cheers
MMD

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-14  0:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-13 21:34 IMAP behaving strange Marvin
2009-05-13 21:49 ` Richard Riley
2009-05-14  0:34   ` Marvin

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).