This is the mail archive of the
cygwin
mailing list for the Cygwin project.
GNUS and cygwin
- From: Anders Jakobsson <andersjak at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 27 Apr 2006 15:07:30 +0000 (UTC)
- Subject: GNUS and cygwin
I am using GNUS to read my news but also wanted to use it to send mail and
messages to news groups. The problem is that I want to use gmail for sending
and recieving. For this reason I installed cygwin with the ssl and gnutls
(gmail requires tls) packages (+defaults) but it still doesn't work.
GNUS finds the utilities but halts or gives me an error.
I just want to know if anyone have succeeded in doing this? I know it works
under Linux but the gnutls-cli utility is a later version in Linux.
sincerely
System: WinXP, Emacs 22.0.50.1 (cvs) on XP and GNUS 5.11.
------------------------------------------
.gnus.el:
(eval-after-load "mail-source" '(require 'pop3)) ;; pop3 with ssl support
(setq smtpmail-debug-info t)
(setq pop3-debug t)
(setq gnus-refer-article-method
'(current
(nntp "news.readfreenews.net")
(nntp "newshost.uni-koblenz.de")
(nntp "news.gmane.org")
(nnweb "gmane"
(nnweb-type gmane))
(nnweb "google"
(nnweb-type google))))
(setq gnus-select-method '(nntp "news.readfreenews.net"))
(setq gnus-secondary-select-methods '((nnml "")))
(setq gnus-spam-autodetect '(("nntp.*" . t)))
(setq gnus-thread-sort-functions
'(gnus-thread-sort-by-number
gnus-thread-sort-by-subject
gnus-thread-sort-by-score))
(setq user-full-name "Name")
(setq user-mail-address "mailname@gmail.com")
;;POP mail
(setq mail-sources
'(;
(pop :server "pop.gmail.com"
:port 995
:user "mailname@gmail.com"
:connection ssl
:leave t)))
;; Sending mail
(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 "mailname@gmail.com"
nil)))
(setq smtpmail-default-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-service 587)
----------------------------------------------------------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/