If you are on a modern Gnus you can try doing
B
while in the "groups" buffer and use nnimap as the backend. Gnus will
do all the right things for you -- setup authinfo etc etc -- for
recieving of mails.
It will do nothing for your send side. You need to configure smtp
server separately.
Only thing the above interface MUST do (but doens't do right now) is
to "custom save" your user mail address and user name for use in later
sessions. (This is a bug which should be addressed by maintainers).
----------------------------------------------------------------
B runs the command gnus-group-browse-foreign-server (found in
gnus-group-mode-map), which is an interactive compiled Lisp function
in 'gnus-group.el'.
It is bound to B, <menu-bar> <Gnus> <Browse foreign server...>.
(gnus-group-browse-foreign-server METHOD)
Browse a foreign news server.
If called interactively, this function will ask for a select method
(nntp, nnspool, etc.) and a server address (e.g., nntp.some.where).
If not, METHOD should be a list where the first element is the method
and the second element is the address.
[back]
On Tuesday 30 June 2015 12:21 AM, Alexander Shukaev wrote:
> Hey Everyone,
>
> Just started to move away from using Gmail through the web interface to
> Emacs Gnus. I follow Emacs Wiki to achieve this. Here is the
> configuration so far:
>
> (setq user-mail-address "*@
gmail.com"
> user-full-name "*")
>
> (setq gnus-select-method '(nnimap "gmail"
> (nnimap-address "
imap.gmail.com")
> (nnimap-server-port "imaps")
> (nnimap-stream ssl)
> (nnimap-authinfo-file "~/.authinfo")))
>
> (setq smtpmail-smtp-service 587
> gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\(
> \\|$\\)\\|^[\"]\"[#'()]")
>
> and
>
> machine
imap.gmail.com login *@
gmail.com password * port imaps
> machine
smtp.gmail.com login *@
gmail.com password * port 587
>
> When I issue 'M-x gnus RET' I keep getting: