Gnus

From WikEmacs
Revision as of 11:15, 28 March 2012 by 1.83.84.192 (talk)
Jump to navigation Jump to search

Gnus is an e-mail client, a news client and a feed aggregator.


Using Gnus with Gmail

  1. Make sure gnutls-bin or starttls package is installed on your system
  2. Create a Gmail account
  3. Enable IMAP in Gmail accout, by settings->forwarding POP/IMAP
  4. Use Gmail’s IMAP as a (secondary) select method, by add following line into ./gnus.el
(add-to-list 'gnus-secondary-select-methods '(nnimap "gmail"
                                  (nnimap-address "imap.gmail.com")
                                  (nnimap-server-port 993)
                                  (nnimap-stream ssl)))

or Using Gmail as primary select method

(setq gnus-select-method '(nnimap "gmail"
				  (nnimap-address "imap.gmail.com")
				  (nnimap-server-port 993)
				  (nnimap-stream ssl)))

5. Put following line in your ~/.authinfo
machine imap.gmail.com login username@gmail.com password secret port 993
6. (optional) Enable using gmail’s SMTP server by put following line in ./gnus.el

(setq message-send-mail-function 'smtpmail-send-it
      smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
      smtpmail-auth-credentials '(("smtp.gmail.com" 587 "username@gmail.com" nil))
      smtpmail-default-smtp-server "smtp.gmail.com"
      smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 587
      smtpmail-local-domain "yourcompany.com")

Using Gnus with Gmane

you can easily read news from Gmane with Gnus

  1. in group buffer , press B (browser foreign server)
  2. type "nntp" when asked "which back end"
  3. type web.gmane.org when asked "address"
  4. browse different groups, press u to subscribe

For managing your address book, see Contact Management.