Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 22 lines (20 sloc) 0.987 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
(setq gnus-select-method '(nnimap "gmail"
                                  (nnimap-address "imap.gmail.com")
                                  (nnimap-server-port 993)
                                  (nnimap-stream ssl)))
(setq gnus-secondary-select-methods '((nntp "news.csua.berkeley.edu")))

(setq message-send-mail-function 'smtpmail-send-it
      smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
      smtpmail-auth-credentials '(("smtp.gmail.com" 587 "steve.john.wang@gmail.com" nil))
      smtpmail-default-smtp-server "smtp.gmail.com"
      smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 587)

(setq gnus-posting-styles
      '(((header "cc" ".*@berkeley.edu")
         (address "swang2014@berkeley.edu"))
        ((header "to" ".*@berkeley.edu")
         (address "swang2014@berkeley.edu"))
        ((header "to" ".*@nowjs.*")
         (address "steve@nowjs.org"))
        ((header "cc" ".*@nowjs.*")
         (address "steve@nowjs.org"))))
Something went wrong with that request. Please try again.