[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnus and Gmail
From: |
Sebastian Tennant |
Subject: |
Re: Gnus and Gmail |
Date: |
Mon, 03 Mar 2008 11:58:24 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Quoth "Lorenzo Isella" <lorenzo.isella@gmail.com>:
> what is the gnus-init file? Is it another name for gnus.el?
Yes it is.
> I wonder it the following would be easier: could somone who is using
> gnus+gmail on Debian post me his configuration files?
I use smtpmail.el, not msmtp. This works for me.
N.B.
1. the 'gnutls-cli' program is a separate program entirely, included in
the Debian package; gnutls-bin.
2. this code only deals with SENDING and it lives in my ~/.emacs, not
my ~/.gnus. It's possible to send mail (using the function
(message-mail)) without loading gnus.
3. hope this helps. don't give up. it's worth it in the end.
(setq ;; use Gnus' message mode instead of plain Mail mode
mail-user-agent 'message-user-agent
;;
message-send-mail-function 'smtpmail-send-it
;; display all headers (not just To: and Subject:)
message-generate-headers-first t
;; nil to disable alias expansion (aliae found in ~/.mailrc)
message-mail-alias-type 'abbrev
;; smtpmail
starttls-gnutls-program "gnutls-cli"
;; CHANGE SMTP SERVER HERE
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-default-smtp-server "smtp.gmail.com"
;; you only need one of these, but I'm not sure which
smtpmail-auth-credentials '(("smtp.gmail.com" 587 "foo@bar.baz"
"password"))
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 "foo@bar.baz"
"password"))
;; Gmail uses port 587 for accepting mail submissions
smtpmail-smtp-service 587
;; if t, use smptmail-send-queued-mail to send
smtpmail-queue-mail nil
smtpmail-debug-info t)
Sebastian