From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Bretfeld Newsgroups: gmane.emacs.help Subject: Re: Gnus and outgoing Mail Date: Sun, 09 Dec 2007 19:02:19 +0100 Message-ID: <87odczd9w4.fsf@kamaloka.dhatu> References: <873auchck6.fsf@gnu.org> <87sl2bdd5v.fsf@kamaloka.dhatu> <87prxfsrqs.fsf@thievol.homelinux.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1129237923==" X-Trace: ger.gmane.org 1197223435 7946 80.91.229.12 (9 Dec 2007 18:03:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2007 18:03:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 09 19:04:05 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 1J1QVY-00050C-0p for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Dec 2007 19:04:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1QVG-0006R1-Jg for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Dec 2007 13:03:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J1QUF-0005i9-38 for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 13:02:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1QUC-0005eE-5T for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 13:02:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1QUB-0005e5-P2 for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 13:02:39 -0500 Original-Received: from viefep18-int.chello.at ([213.46.255.22] helo=viefep24-int.chello.at) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J1QUB-0002b3-1O for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 13:02:39 -0500 Original-Received: from kamaloka.dhatu ([80.219.162.86]) by viefep24-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20071209180231.UTSF26897.viefep24-int.chello.at@kamaloka.dhatu> for ; Sun, 9 Dec 2007 19:02:31 +0100 In-Reply-To: <87prxfsrqs.fsf@thievol.homelinux.org> (Thierry Volpiatto's message of "Sun, 09 Dec 2007 18:27:39 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:49963 Archived-At: --===============1129237923== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable Thierry Volpiatto writes: > Are you sure port 25 with starttls is right? (i use 587 with gmail) I think so. AFAIK port 587 is used when the authentication is not in clear text, but encoded via SSL or TLS. This is the German documentation of gmx concerning the configuration of Thunderbird: http://faq.gmx.de/messages/mailprogramme/einrichtung/3.html In "Schritt 7" (step 7) it has a screenshot that shows the settings: server-name: mail.gmx.net, port: 25, secure connection: never.=20 > What do you have in "~/emacs-stuff/mailauth"? > (you can write the content of this file directly like below) I (this means my friend) haven't used a credentials file but set the login information directly in .gnus.el. This is what it looks like: ;; 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=20 '(("mail.gmx.net" 25 "GMX_USERNAME" "GMX_PASSWORD")) smtpmail-starttls-credentials=20 '(("mail.gmx.net" 25 nil nil)) smtpmail-smtp-server "mail.gmx.net" ) (setq user-full-name "Stjepan Beles") (setq user-mail-address "b.stjepan@gmx.de") > 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=20 > "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) Looks quite similar apart from the port number. I have the impression that setting starttls-use-gnutls to non-nil is the wrong way. Except the gmx folks write nonsense in their documentation (what can be the case anyway). But it didn't work before either. A different idea. Is is possible that the MTA (exim4) doesn't allow passwords to be send away in clear text, which is a damn security risk anyway. Should we try to install sendmail instead? I still don't know how I can find out if the error occurs in Emacs or in exim. The *Messages* buffer isn't very informative in this case. Greetings Sven --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHXC2yV5JTHLAduAYRAnuzAKCmkqyQqA9a6belp4NbxAQs1nPbHwCeO7tz AtNIbw4tqIhw/aYaJJYeJPI= =eBcz -----END PGP SIGNATURE----- --=-=-=-- --===============1129237923== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1129237923==--