* gnus setup (smtp authorization on gmail.com)
@ 2006-01-31 22:03 Alexandru Cardaniuc
2006-02-09 3:35 ` Alexandru Cardaniuc
0 siblings, 1 reply; 5+ messages in thread
From: Alexandru Cardaniuc @ 2006-01-31 22:03 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 4194 bytes --]
Hi All!
I used pop3 ssl and now I can download the messages from my account on
gmail.com
But I still have problem with sending messages - SMTP is not working...
Below is the output from my *Messages* buffer:
-------------------------------------------------------------------------------------
Loading 50w3 (source)...done
Loading font-lock...
Loading regexp-opt...done
Loading font-lock...done
Loading icomplete...done
Loading codepage...done
Loading ccl...done
For information about the GNU Project and its goals, type C-h C-p.
Loading gnus...
Loading mule-util...done
Loading easymenu...done
Loading gnus...done
Loading gnus-start...done
Loading smtpmail (source)...done
Loading pop3 (source)...
Loading executable...done
Loading /usr/lib/emacs/21.4/x86_64-linux-gnu/fns-21.4.1-x.el (source)...done
Loading pop3 (source)...done
Loading starttls (source)...done
Loading mailabbrev...done
Loading advice...done
Reading /home/alexandru/.newsrc.eld...
Loading gnus-group...done
Reading active file via nnml...
nnml: Reading incoming mail from pop...
Retrieving message list...
Loading cl-macs...done
Retrieving message list...0 of 0 unread
nnml: Reading incoming mail from file...
nnml: Reading incoming mail (no new mail)...done
Reading active file via nnml...done
Loading gnus-cache...done
No new newsgroups
Checking new news...done
Loading gnus-msg...done
Loading cookie1...done
Loading random sigs...done
Sending...
Loading mail-extr...done
Loading mailalias...done
220 mx.gmail.com ESMTP f16sm22103qba
250-mx.gmail.com at your service
250-SIZE 20971520
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
530 5.7.0 Must issue a STARTTLS command first f16sm22103qba
221 2.0.0 mx.gmail.com closing connection f16sm22103qba
if: Sending failed; SMTP protocol error
------------------------------------------------------------------------------------
starttls and openssl packages are installed.
~/.gnus
-------------------------------------------------------------------------------------
(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 "tighina92"
:leave t))) ; leave the mail on the server
(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"
"tighina92")))
(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))
-------------------------------------------------------------------------------------
system: debian amd64 etch
emacs 21.4a-3 with smtpmail.el, starttls.el and pop3.el from CVS
The packages
gnutls-bin (1.2.9-2), libgnutls11 (1.0.16-14), libgnutls12 (1.2.9-2) are
installed.
( 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
)
)
What else am I missing?
--
Sincerely yours,
Alexandru Cardaniuc
[-- Attachment #1.2: Type: text/html, Size: 6230 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: gnus setup (smtp authorization on gmail.com)
2006-01-31 22:03 gnus setup (smtp authorization on gmail.com) Alexandru Cardaniuc
@ 2006-02-09 3:35 ` Alexandru Cardaniuc
0 siblings, 0 replies; 5+ messages in thread
From: Alexandru Cardaniuc @ 2006-02-09 3:35 UTC (permalink / raw)
Alexandru Cardaniuc <cardaniuc@gmail.com> writes:
Finally, I solved the problem. My provider is earthlink, so I had to
change following in my .gnus to make it work:
(setq smtpmail-default-smtp-server "smtp.earthlink.net")
(setq smtpmail-smtp-server "smtp.earthlink.net")
(setq smtpmail-local-domain nil)
> Hi All!
> I used pop3 ssl and now I can download the messages from my account on [[gmail.com]]
> But I still have problem with sending messages - SMTP is not working...
> Below is the output from my *Messages* buffer:
> -------------------------------------------------------------------------------------
> Loading 50w3 (source)...done
> Loading font-lock...
> Loading regexp-opt...done
> Loading font-lock...done
> Loading icomplete...done
> Loading codepage...done
> Loading ccl...done
> For information about the GNU Project and its goals, type C-h C-p.
> Loading gnus...
> Loading mule-util...done
> Loading easymenu...done
> Loading gnus...done
> Loading gnus-start...done
> Loading smtpmail (source)...done
> Loading pop3 (source)...
> Loading executable...done
> Loading /usr/lib/emacs/21.4/x86_64-linux-gnu/fns-21.4.1-x.el (source)...done
> Loading pop3 (source)...done
> Loading starttls (source)...done
> Loading mailabbrev...done
> Loading advice...done
> Reading /home/alexandru/.newsrc.eld...
> Loading gnus-group...done
> Reading active file via nnml...
> nnml: Reading incoming mail from pop...
> Retrieving message list...
> Loading cl-macs...done
> Retrieving message list...0 of 0 unread
> nnml: Reading incoming mail from file...
> nnml: Reading incoming mail (no new mail)...done
> Reading active file via nnml...done
> Loading gnus-cache...done
> No new newsgroups
> Checking new news...done
> Loading gnus-msg...done
> Loading cookie1...done
> Loading random sigs...done
> Sending...
> Loading mail-extr...done
> Loading mailalias...done
> 220 [[mx.gmail.com]] ESMTP f16sm22103qba
> [[250-mx.gmail.com]] at your service
> 250-SIZE 20971520
> 250-8BITMIME
> 250-STARTTLS
> 250 ENHANCEDSTATUSCODES
> 530 5.7.0 Must issue a STARTTLS command first f16sm22103qba
> 221 2.0.0 [[mx.gmail.com]] closing connection f16sm22103qba
> if: Sending failed; SMTP protocol error
> ------------------------------------------------------------------------------------
> starttls and openssl packages are installed.
> ~/.gnus
> -------------------------------------------------------------------------------------
> (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 "tighina92"
> :leave t))) ; leave the mail on the server
> (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" "tighina92")))
> (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))
> -------------------------------------------------------------------------------------
> system: debian amd64 etch
> emacs 21.4a-3 with smtpmail.el, starttls.el and pop3.el from CVS
> The packages
> gnutls-bin (1.2.9-2), libgnutls11 (1.0.16-14), libgnutls12 (1.2.9-2) are
> installed.
> ( 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]])
> )
> What else am I missing?
> --
> Sincerely yours,
> Alexandru Cardaniuc
--
"I am not young enough to know everything."
- Oscar Wilde
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.439.1138745203.3044.help-gnu-emacs@gnu.org>]
* gnus setup (smtp authorization on gmail.com)
@ 2006-01-31 9:25 Alexandru Cardaniuc
2006-01-31 20:24 ` Jesper Harder
0 siblings, 1 reply; 5+ messages in thread
From: Alexandru Cardaniuc @ 2006-01-31 9:25 UTC (permalink / 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-02-10 12:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-31 22:03 gnus setup (smtp authorization on gmail.com) 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
-- strict thread matches above, loose matches on Subject: below --
2006-01-31 9:25 Alexandru Cardaniuc
2006-01-31 20:24 ` Jesper Harder
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).