unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alexandru Cardaniuc <cardaniuc@gmail.com>
Subject: gnus setup (smtp authorization on gmail.com)
Date: Tue, 31 Jan 2006 01:25:02 -0800	[thread overview]
Message-ID: <cbcff5cb0601310125l6c99f73dh6792ce79da920c3a@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2808 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 4621 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

             reply	other threads:[~2006-01-31  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-31  9:25 Alexandru Cardaniuc [this message]
2006-01-31 20:24 ` gnus setup (smtp authorization on gmail.com) Jesper Harder
  -- strict thread matches above, loose matches on Subject: below --
2006-01-31 22:03 Alexandru Cardaniuc
2006-02-09  3:35 ` Alexandru Cardaniuc
     [not found] <mailman.439.1138745203.3044.help-gnu-emacs@gnu.org>
2006-02-10 12:31 ` rodolfo.medina

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=cbcff5cb0601310125l6c99f73dh6792ce79da920c3a@mail.gmail.com \
    --to=cardaniuc@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 read-only IMAP folder(s) and NNTP newsgroup(s).