From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexandru Cardaniuc Newsgroups: gmane.emacs.help Subject: gnus setup (smtp authorization on gmail.com) Date: Tue, 31 Jan 2006 01:25:02 -0800 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1883917204==" X-Trace: sea.gmane.org 1138699544 18340 80.91.229.2 (31 Jan 2006 09:25:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 09:25:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 31 10:25:39 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F3rla-000190-2b for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jan 2006 10:25:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F3roZ-0002Vy-Ga for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Jan 2006 04:28:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F3ro8-0002R2-Sx for help-gnu-emacs@gnu.org; Tue, 31 Jan 2006 04:28:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F3ro4-0002PK-5X for help-gnu-emacs@gnu.org; Tue, 31 Jan 2006 04:28:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F3ro2-0002PA-QQ for help-gnu-emacs@gnu.org; Tue, 31 Jan 2006 04:28:10 -0500 Original-Received: from [64.233.184.198] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F3rmV-0003FC-1P for help-gnu-emacs@gnu.org; Tue, 31 Jan 2006 04:26:35 -0500 Original-Received: by wproxy.gmail.com with SMTP id 67so77820wri for ; Tue, 31 Jan 2006 01:25:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=RM1U1zPZvl5L40TQPNgXEpLkZIqYVmL6dw9XK4+qoDQnfYlDQv/x8yNlFkW9G5iC96ksvwGHKb/Si9f+V8t/ALWIlN1NxGwKlNSwsGAHAIFmx6kLSUjEuMw+b7FkpfAY3i/2nFDjnXqMT7Knyowkn/kWvmWriWbR9mjuTbK9ts0= Original-Received: by 10.64.253.4 with SMTP id a4mr2306037qbi; Tue, 31 Jan 2006 01:25:02 -0800 (PST) Original-Received: by 10.65.192.15 with HTTP; Tue, 31 Jan 2006 01:25:02 -0800 (PST) Original-To: help-gnu-emacs@gnu.org 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:32928 Archived-At: --===============1883917204== Content-Type: multipart/alternative; boundary="----=_Part_8236_17394483.1138699502577" ------=_Part_8236_17394483.1138699502577 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi All! I am using amd64 debian etch and Emacs 21.4a-3. I am trying to setup GNUS to work with my account on gmail.com gmail.com account requires authorization. I didn't know how to set up gnus for authorization, but, googling on the net, I came across this page: http://www.pvv.ntnu.no/~terjeros/wiki/GnusGmail I tried to follow the instructions on the page. I replaced /usr/share/emacs/21.4/lisp/mail/smtpmail.elc and /usr/share/emacs/21.4/lisp/gnus/starttls.elc with new smtpmail.el and starttls.el from the emacs cvs repository ( http://cvs.savannah.gnu.org/viewcvs/emacs/?root=3Demacs) And I replaced /usr/share/emacs/21.4/lisp/gnus/pop3.elc with pop3.el CVS from m17n.org: ( http://cvs.m17n.org/viewcvs/*checkout*/root/gnus/lisp/pop3.el?only_with_tag= =3Dt-gnus-6_17-quimby&rev=3D1.6.30.21.4.16 ) Then I wrote new entries in my .gnus file ---------------------------------------------------------------------------= ----------------- ;; entries related to setting mail (setq user-full-name "Alexandru Cardaniuc") (setq user-mail-address "cardaniuc@gmail.com") ;; using GNUS to send mail (setq message-send-mail-function 'smtpmail-send-it) (setq send-mail-function 'smtpmail-send-it) ;; use 'one file per mail' back end (setq gnus-select-method '(nnml "")) (setq gnus-secondary-select-methods nil) ;; tell Gnus how to fetch mail (setq mail-sources '((file :path "/var/spool/mail/alexandru") (pop :server "pop.gmail.com" :port 995 :user "cardaniuc" :connection ssl :password "secret" :leave t))) (load-library "smtpmail") (load-library "pop3") (load-library "starttls") (setq smtpmail-default-smtp-server "smtp.gmail.com") (setq smtpmail-smtp-server "smtp.gmail.com") (setq smtpmail-local-domain nil) (setq smtpmail-debug-info t) ; only to debug problems (setq smtpmail-auth-credentials '(("smtp.gmail.com" 587 "cardaniuc" "secret"))) (setq smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))) (setq smtpmail-smtp-service 587) ;; The following line is needed when using pop3.el from T-gnus (m17n.org). (eval-after-load "mail-source" '(require 'pop3)) ---------------------------------------------------------------------------= ------------------------------------- But when I start gnus, I get this error: Mail source error ((file-error Searching for program no such file or directory ssleay)). The packages gnutls-bin (1.2.9-2), libgnutls11 (1.0.16-14), libgnutls12 (1.2.9-2) are installed. Do I miss something else? Or maybe my config is wrong? I don't have any ideas... Any help will be very appreciated... -- Sincerely yours, Alexandru Cardaniuc ------=_Part_8236_17394483.1138699502577 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi All!

I am using amd64 debian etch and Emacs 21.4a-3.

I am trying to setup GNUS to work with my account on gmail.com
gmail.com account requires authorization. = I didn't know how to set up gnus for authorization, but, googling on the net, I came across this page: http://ww= w.pvv.ntnu.no/~terjeros/wiki/GnusGmail

I tried to follow the instructions on the page. I replaced
/usr/share/emacs/21.4/lisp/mail/smtpmail.elc
and
/usr/share/emacs/21.4/lisp/gnus/starttls.elc
with new smtpmail.el and starttls.el from the emacs cvs repository (http://cvs.sav= annah.gnu.org/viewcvs/emacs/?root=3Demacs)

And I replaced /usr/share/emacs/21.4/lisp/gnus/pop3.elc with pop3.el CVS from m17n.org: (http://cvs.m17n= .org/viewcvs/*checkout*/root/gnus/lisp/pop3.el?only_with_tag=3Dt-gnus-6_17-= quimby&rev=3D1.6.30.21.4.16 )

Then I wrote new entries in my .gnus file

---------------------------------------------------------------------------= -----------------
;; entries related to setting mail
(setq user-full-name "Alexandru Cardaniuc")
(setq user-mail-address "cardan= iuc@gmail.com")

;; using GNUS to send mail
(setq message-send-mail-function 'smtpmail-send-it)

(setq send-mail-function 'smtpmail-send-it)

;; use 'one file per mail' back end
(setq gnus-select-method '(nnml ""))
(setq gnus-secondary-select-methods nil)

;; tell Gnus how to fetch mail
(setq mail-sources '((file :path "/var/spool/mail/alexandru")
            &nb= sp;        (pop  :server "pop.gmail.com= "
            &nb= sp;            =   :port 995
            &nb= sp;            =   :user "cardaniuc"
            &nb= sp;            =   :connection ssl
            &nb= sp;            =   :password "secret"
            &nb= sp;            =   :leave t)))

(load-library "smtpmail")
(load-library "pop3")
(load-library "starttls")

(setq smtpmail-default-smtp-server "= smtp.gmail.com")
(setq smtpmail-smtp-server "smtp.gma= il.com")
(setq smtpmail-local-domain nil)
(setq smtpmail-debug-info t) ; only to debug problems
(setq smtpmail-auth-credentials '(("= smtp.gmail.com" 587 "cardaniuc" "secret"))) (setq smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)))
(setq smtpmail-smtp-service 587)

;; The following line is needed when using pop3.el from T-gnus (m17n.org).
   (eval-after-load "mail-source" '(require 'pop3))
---------------------------------------------------------------------------= -------------------------------------

But when I start gnus, I get this error: Mail source error ((file-error Searching for program no such file or directory ssleay)).  The packages gnutls-bin (1.2.9-2), libgnutls11 (1.0.16-14), libgnutls12 (1.2.9-2) are installed. Do I miss something else?

Or maybe my config is wrong?

I don't have any ideas... Any help will be very appreciated...

--
Sincerely yours,
Alexandru Cardaniuc ------=_Part_8236_17394483.1138699502577-- --===============1883917204== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1883917204==--