Richard Riley wrote:
> rmail is pretty "old school" ;) You might be better off with gnus - some
> people hate it. Many more love it. It is a learning curve there though.
> To clarify : when you installed gnus in debian (I think you said) that
> is used with emacs 22 hence the debian repository manager assumed you
> wanted emacs 22 too. Uninstall both emacs 22 and gnus. Then using
> update-alternatives (google!) check emacs 23 is your default.
Yes, I'be installed only Emacs 23
> With a straightforward email setup with one account you might want to
> install sendmail. and the gnutls packages. With a more complicated set
> up you might not even used sendmail and instead use something like msmtp
> which can use multiple smtp servers - that is probably something for you
> to read up on at a later date.
I've already msmtp, which I use with Mutt
> With Gnus the lines you listed wont work. You need to use the select
> methods described in the Gnus manual and in numerous locations in
> google. e,g
> | (setq gnus-select-method '(nnimap "mymail"
> | (nnimap-stream tls)
> | (nnimap-address "imap.myhost.net")
> | (nnimap-authinfo-file
> | "~/.authinfo.gpg")
> | (nnir-search-engine imap)))
After having red a lot of web pages, I tried thid lines in ~/.gnus:
| (setq gnus-select-method '(nnimap "gmail"
| (nnimap-address "imap.gmail.com")
| (nnimap-server-port 993)
| (nnimap-authinfo-file "~/.authinfo")
| (nnimap-stream ssl)))
but I'm still unable to read mail, only news...