Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Shanks N <shanks.n@gmail.com>
Subject: Re: Gnus and Gmail
Date: Sat, 25 Nov 2006 22:10:48 +0530	[thread overview]
Message-ID: <ufyc7zdgv.fsf@gmail.com> (raw)
In-Reply-To: <87lkm0hct8.fsf@magma.ca>

Angelina Carlton <debian@magma.ca> 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

-- 

  parent reply	other threads:[~2006-11-25 16:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-24 17:18 Angelina Carlton
2006-11-24 17:51 ` Brep
2006-11-24 19:20   ` Angelina Carlton
2006-11-24 19:31     ` Brep
2006-11-24 19:40     ` Brep
2006-11-24 19:46     ` Leo
2006-11-25 13:58     ` Hadron Quark
2006-11-25 16:40     ` Shanks N [this message]
     [not found]     ` <mailman.1102.1164473065.2155.info-gnus-english@gnu.org>
2006-11-27  1:26       ` Angelina Carlton
     [not found] <mailman.2141.1235931707.31690.info-gnus-english@gnu.org>
2009-03-01 18:34 ` Andrzej Adam Filip
2009-03-01 18:44   ` Byung-Hee HWANG
2009-03-09  6:37 ` parmenides
2009-03-09 10:48   ` Richard Riley
  -- strict thread matches above, loose matches on Subject: below --
2009-03-01 18:21 Byung-Hee HWANG
2006-12-03 12:08 Guillaume
2006-12-03 15:39 ` Leo
2006-01-15  9:52 gnus and gmail lucius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ufyc7zdgv.fsf@gmail.com \
    --to=shanks.n@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).