Marvin <[email protected]> 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 **********
`----
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to