help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnus setup (smtp authorization on gmail.com)


From: Alexandru Cardaniuc
Subject: gnus setup (smtp authorization on gmail.com)
Date: Tue, 31 Jan 2006 01:25:02 -0800

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=emacs)

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_=t-gnus-6_17-quimby&rev=1.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
reply via email to

[Prev in Thread] Current Thread [Next in Thread]