Advertisement
Guest User

.gnus for gmail

a guest
Mar 27th, 2012
882
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 1.71 KB | None | 0 0
  1. (setq user-mail-address "[email protected]")
  2.  
  3. (setq user-full-name "I")
  4.  
  5.  
  6. (setq gnus-select-method '(nntp "news.gnus.org"))
  7. (add-to-list 'gnus-secondary-select-methods '(nntp "nntp.perl.org"))
  8. (add-to-list 'gnus-secondary-select-methods '(nntp "nntp.common-lisp.net"))
  9. ;(add-to-list 'gnus-secondary-select-methods '(nntp "news1.open-news-network.org"))
  10. ;(add-to-list 'gnus-secondary-select-methods '(nntp "news2.open-news-network.org"))
  11. (add-to-list 'gnus-secondary-select-methods '(nntp "news2.neva.ru"))
  12. (add-to-list 'gnus-secondary-select-methods '(nntp "news4.fido7.ru"))
  13. (add-to-list 'gnus-secondary-select-methods '(nntp "news.amu.edu.pl"))
  14.  
  15. (add-to-list 'gnus-secondary-select-methods '(nntp "news.gwene.org"))
  16. (add-to-list 'gnus-secondary-select-methods '(nnimap "gmail"
  17.                                                      (nnimap-address "imap.gmail.com")
  18.                                                      (nnimap-server-port 993)
  19.                                                      (nnimap-stream ssl)))
  20. (setq message-send-mail-function 'smtpmail-send-it
  21.       smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
  22.       smtpmail-auth-credentials '(("smtp.gmail.com" 587 "[email protected]" "pass"))
  23.       smtpmail-default-smtp-server "smtp.gmail.com"
  24.       smtpmail-smtp-server "smtp.gmail.com"
  25.       smtpmail-smtp-service 587
  26.       smtpmail-local-domain "")
  27.  
  28. (setq gnus-posting-styles
  29.       '((".*"
  30.      ("CC" "[email protected]")
  31.          (address "[email protected]"))))
  32.  
  33. ;autocheck new mail
  34. (gnus-demon-add-handler 'gnus-demon-scan-news 2 t) ; this does a call to gnus-group-get-new-news
  35. (gnus-demon-init)  ; this is redundant in No Gnus (e.g. Emacs23) since gnus-demon-add-handler does it for you
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement