From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Gnus and outgoing Mail Date: Sun, 09 Dec 2007 18:27:39 +0100 Message-ID: <87prxfsrqs.fsf@thievol.homelinux.org> References: <873auchck6.fsf@gnu.org> <87sl2bdd5v.fsf@kamaloka.dhatu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197221115 32701 80.91.229.12 (9 Dec 2007 17:25:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2007 17:25:15 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sven Bretfeld Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 09 18:25:25 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J1Pu5-0006ER-Qu for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Dec 2007 18:25:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1Pto-0000j4-7v for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Dec 2007 12:25:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J1PtZ-0000ip-Iz for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 12:24:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1PtX-0000id-3Z for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 12:24:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1PtW-0000ia-VW for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 12:24:46 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.175]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J1PtW-00026L-Gl for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 12:24:46 -0500 Original-Received: by ug-out-1314.google.com with SMTP id a2so1543698ugf for ; Sun, 09 Dec 2007 09:24:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=f15raNyQiNalEsRSnpAXxaMD92JvCRNnTLpx10zD8aM=; b=Dk67HxjqiM3rqB8z6+2OniHpU99rzBuHb2h56V3Lkh5pooahTTo7zrzkKVDEaeJuWAPIEh1ybBSunMsfvcQRFoPCRa9GyXnsG36pINi9RaodMYad5natEv9Iko/FzRElBQBPhQO+2hYOYwqAJoIBnr2NxneTzcGsrYOKGr++2nI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=GebjmE9F4gm2EDXXKlwVuxw+o/bFSCNBoKE7KmSNByDfwf3Eaw+Ec2cUcLalpHYiOQ64U7QPupcWkMI1W2QEDJF1FIxIUMfMEeO/k9hpmY6wD6Gx5y9p6gf2vWXQhjQvdoMnQy5zchoxAfPWN5FEGIuG1mrIWUOl+0bCy2hwSwc= Original-Received: by 10.66.216.8 with SMTP id o8mr4528898ugg.1197221084803; Sun, 09 Dec 2007 09:24:44 -0800 (PST) Original-Received: from thievol.homelinux.org ( [88.141.54.205]) by mx.google.com with ESMTPS id 18sm5009212ugk.2007.12.09.09.24.41 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2007 09:24:43 -0800 (PST) In-Reply-To: <87sl2bdd5v.fsf@kamaloka.dhatu> (Sven Bretfeld's message of "Sun, 09 Dec 2007 17:51:40 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:49961 Archived-At: Sven Bretfeld writes: > Hi Exal and all others > > Exal de Jesus Garcia Carrillo writes: > >> ,----[ Configuration for gmx smtp server ] >> | >> | ;; Use gmx smtp server >> | (message "Using gmx smtp server") >> | (setq starttls-use-gnutls t >> | starttls-gnutls-program "gnutls-cli" >> | starttls-extra-arguments nil) >> | (setq smtpmail-local-domain nil >> | send-mail-function 'smtpmail-send-it >> | message-send-mail-function 'smtpmail-send-it >> | message-send-mail-partially-limit nil >> | smtpmail-default-smtp-server "mail.gmx.net" >> | smtpmail-smtp-server "mail.gmx.net" >> | smtpmail-debug-info t >> | smtpmail-debug-verb t >> | smtpmail-auth-credentials "~/emacs-stuff/mailauth" >> | smtpmail-starttls-credentials '(("mail.gmx.net" 25 nil nil)) >> | smtpmail-smtp-server "mail.gmx.net" )) >> | >> `---- > > We have tried this configuration, changing the necessaries and adding > the personal data (user-full-name etc.). It was necessary to install > the Debian package gnutls-bin which contains gnutls-cli. But it didn't > work either. This is the error message: > > Sending via mail... > Loading smtpmail...done > Loading mailalias...done > 220 mail.gmx.net GMX Mailservices ESMTP {mp031} > 250-mail.gmx.net GMX Mailservices > 250-8BITMIME > 250-ENHANCEDSTATUSCODES > 250-SIZE > 250-AUTH=LOGIN CRAM-MD5 PLAIN > 250-AUTH CRAM-MD5 LOGIN PLAIN > 250 STARTTLS > 550 5.7.0 Need to authenticate via SMTP-AUTH-Login {mp031} > 221 2.0.0 GMX Mailservices {mp031} > smtpmail-send-it: Sending failed; SMTP protocol error > > So, the authentication fails. What can be the reason? Can there be > anything missing, perhaps on the exim side? > > Apropos. There is an additional ) at the end of your code. We had to > eliminate it to have gnus come up. Is there something relevant missing > on the top of the code or is it just part of a user-defined function > to switch smtp alternatives? > > Thanks for help > > Sven Are you sure port 25 with starttls is right? (i use 587 with gmail) What do you have in "~/emacs-stuff/mailauth"? (you can write the content of this file directly like below) Here is my config with gmail if it can help: (setq message-send-mail-function 'smtpmail-send-it) (setq smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))) (setq smtpmail-auth-credentials '(("smtp.gmail.com" 587 "my_email_adress" "my_password"))) (setq smtpmail-default-smtp-server "smtp.gmail.com") (setq smtpmail-smtp-server "smtp.gmail.com") (setq smtpmail-smtp-service 587) -- A + Thierry Pub key: http://pgp.mit.edu