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: Re: gnus setup (smtp authorization on gmail.com) Date: 08 Feb 2006 19:35:31 -0800 Message-ID: <87d5hx8arg.fsf@gmail.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1139455996 9016 80.91.229.2 (9 Feb 2006 03:33:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2006 03:33:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 09 04:33:03 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 1F72Xx-00077d-4p for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Feb 2006 04:32:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F72Xw-0006On-BD for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Feb 2006 22:32:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F72Xn-0006Oi-Ny for help-gnu-emacs@gnu.org; Wed, 08 Feb 2006 22:32:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F72Xn-0006OW-6I for help-gnu-emacs@gnu.org; Wed, 08 Feb 2006 22:32:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F72Xn-0006OT-4J for help-gnu-emacs@gnu.org; Wed, 08 Feb 2006 22:32:31 -0500 Original-Received: from [207.69.195.68] (helo=pop-cowbird.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F72bE-0004lp-Uk for help-gnu-emacs@gnu.org; Wed, 08 Feb 2006 22:36:05 -0500 Original-Received: from h-68-164-168-32.snfccasy.dynamic.covad.net ([68.164.168.32] helo=zv5260) by pop-cowbird.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1F72Xk-0000rj-00 for help-gnu-emacs@gnu.org; Wed, 08 Feb 2006 22:32:28 -0500 Original-To: help-gnu-emacs@gnu.org In-Reply-To: Original-Lines: 119 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 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:33089 Archived-At: Alexandru Cardaniuc 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)...d= one > 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") > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (pop=A0 :ser= ver "[[pop.gmail.com]]" > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 :port 995 > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 :user "cardaniuc" > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 :connection ssl > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 :password "tighina92" > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 :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.or= g]]). > (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=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_wit= h_tag=3Dt-gnus-6_17-quimby&rev=3D1.6.30.21.4.16]]) > ) > What else am I missing? > -- > Sincerely yours, > Alexandru Cardaniuc --=20 "I am not young enough to know everything."=20=20 - Oscar Wilde