From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Tennant Newsgroups: gmane.emacs.help Subject: Re: Gnus and Gmail Date: Mon, 03 Mar 2008 11:58:24 +0200 Message-ID: <87r6esxh6n.fsf@moley.moleskin.org> References: <47cadb2c.1bb87e0a.0dab.ffffb7bbSMTPIN_ADDED@mx.google.com> <47CB2FCB.3020003@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204538383 11926 80.91.229.12 (3 Mar 2008 09:59:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Mar 2008 09:59:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 03 11:00:09 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JW7Sq-00062h-7a for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Mar 2008 11:00:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JW7SJ-0008Kq-5j for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Mar 2008 04:59:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JW7RV-0008Gp-D9 for help-gnu-emacs@gnu.org; Mon, 03 Mar 2008 04:58:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JW7RP-0008A1-Pz for help-gnu-emacs@gnu.org; Mon, 03 Mar 2008 04:58:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JW7RP-00089h-Jp for help-gnu-emacs@gnu.org; Mon, 03 Mar 2008 04:58:39 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JW7RO-0003Kf-Qa for help-gnu-emacs@gnu.org; Mon, 03 Mar 2008 04:58:39 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JW7RG-0004Ar-OR for help-gnu-emacs@gnu.org; Mon, 03 Mar 2008 09:58:30 +0000 Original-Received: from 85.105.17.65 ([85.105.17.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Mar 2008 09:58:30 +0000 Original-Received: from sebyte by 85.105.17.65 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Mar 2008 09:58:30 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 85.105.17.65 User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:Rh1E6A1BaBZBEobG0oQ5VJKKevo= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52013 Archived-At: Quoth "Lorenzo Isella" : > 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