From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8263 Path: news.gmane.org!not-for-mail From: Shanks N Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus and Gmail Date: Sat, 25 Nov 2006 22:10:48 +0530 Message-ID: References: <87zmagyd9o.fsf@magma.ca> <87lkm0hct8.fsf@magma.ca> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164473075 28486 80.91.229.2 (25 Nov 2006 16:44:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2006 16:44:35 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Nov 25 17:44:33 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Go0de-00078Y-LG for gegu-info-gnus-english@m.gmane.org; Sat, 25 Nov 2006 17:44:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Go0de-0004zI-6y for gegu-info-gnus-english@m.gmane.org; Sat, 25 Nov 2006 11:44:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Go0db-0004z3-9n for info-gnus-english@gnu.org; Sat, 25 Nov 2006 11:44:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Go0dZ-0004xk-PG for info-gnus-english@gnu.org; Sat, 25 Nov 2006 11:44:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Go0dZ-0004xP-IL for info-gnus-english@gnu.org; Sat, 25 Nov 2006 11:44:21 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Go0dZ-0004Zt-Df for info-gnus-english@gnu.org; Sat, 25 Nov 2006 11:44:21 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Go0dP-000769-Qj for info-gnus-english@gnu.org; Sat, 25 Nov 2006 17:44:11 +0100 Original-Received: from 59.92.147.129 ([59.92.147.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Nov 2006 17:44:11 +0100 Original-Received: from shanks.n by 59.92.147.129 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Nov 2006 17:44:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: info-gnus-english@gnu.org Original-Lines: 94 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 59.92.147.129 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:7GiIicaA98CutDsRsXRncA0hHC0= X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8263 Archived-At: Angelina Carlton writes: > I have both of those utilities installed. > Now it hangs after re-writing the address.. > Loading mailalias...done > > If I then C-g gnus will hang on the sending of the mail.. > Sending via mail... > > Is there a way to make this process more verbose? > debugging messages or something? > There is smtp buffer after I C-g the second time but it only contains > QUIT^M or something like that. > Have you tried with msmtp? Admittedly mine is on Windows/cygwin and with the following setup, I'm able to send and receive emails through Gnus and gmail. For sending emails, with the following msmtprc.txt file, and setting the same in emacs, I was able to send emails. And on the gnus.general list, there was a patch offered to message.el so that it can take extra args to handle the posting styles issue for msmtp. --8<---------------cut here---------------start------------->8--- #msmtprc.txt account default host smtp.gmail.com auth on user dumo@gmail.com password xxxxxx port 587 tls on logfile c:\msmtplog.txt --8<---------------cut here---------------end--------------->8--- No Gnus v0.6 GNU Emacs 22.0.50.2 (i386-mingw-nt5.1.2600) of 2005-04-17 on LAPTOP --8<---------------cut here---------------start------------->8--- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (setq gnus-select-method '(nnnil "")) (add-to-list 'gnus-secondary-select-methods '(nnml "")) ;;;;use this if you have gnutls-cli installed (setq mail-sources '((pop :server "pop.gmail.com" :port 995 :user "dumo@gmail.com" :password "xxxxxx" :stream ssl))) ;;;;use this if you have fetchmail installed ;;(eval-after-load "mail-source" ;; '(add-to-list 'mail-sources '(file :path "/var/spool/mail/dumo"))) ;;if retrieving from spool, delete temp file after 1 days (setq mail-source-delete-incoming 1) (setq mail-source-delete-old-incoming-confirm nil) (eval-after-load "mail-source" '(require 'pop3)) (setq sendmail-program "c:/gnu/bin/msmtp.exe") ;; (setq starttls-gnutls-program "/usr/bin/gnutls-cli") ;; (setq starttls-use-gnutls t) ;; (setq message-send-mail-function 'smtpmail-send-it) ;; (setq smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))) ;; (setq smtpmail-auth-credentials '(("smtp.gmail.com" 587 "dumo@gmail.com" "xxxxxx"))) ;; (setq smtpmail-default-smtp-server "smtp.gmail.com") ;; (setq smtpmail-smtp-server "smtp.gmail.com") ;; (setq smtpmail-smtp-service 587) (setq mail-host-address "gmail.com") (setq smtpmail-debug-info t) ; only to debug problems set to t if needed (setq smtpmail-debug-verb t) ;;;set the level of messages really high (setq gnus-verbose 10) (setq gnus-verbose-backends 10) --8<---------------cut here---------------end--------------->8--- Sending from Gnus with gnutls didn't work but it appears to be a known problem in Windows. At least from what was posted in the gnutls list. In summary, you can post through the combination of Gnus + msmtp and receive mails through Gnus + gnutls-cli or Gnus + fetchmail. This is on windows where things *nix don't play so well, even with cygwin installed. So, if you're on a *nix platform, things should be that much easier. regards, Shanks --