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 08:24:40 +0100 Message-ID: <87k5noqqiv.fsf@dell.linuxdev.us.dell.com> References: <87sl2c92no.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 1197185112 25179 80.91.229.12 (9 Dec 2007 07:25:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2007 07:25:12 +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 08:25:22 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 1J1GXS-0002Id-HO for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Dec 2007 08: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 1J1GXA-0006YZ-KV for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Dec 2007 02:25:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J1GWt-0006YR-OR for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 02:24:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1GWs-0006YF-VM for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 02:24:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1GWs-0006YC-PR for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 02:24:46 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.169]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J1GWs-0003Bf-MU for help-gnu-emacs@gnu.org; Sun, 09 Dec 2007 02:24:46 -0500 Original-Received: by ug-out-1314.google.com with SMTP id a2so1478747ugf for ; Sat, 08 Dec 2007 23:24:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:references:from:face:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=+ccGotbPKk9TXtCOQHMUuO/1uVXCrrgKAYeAcwFsBZE=; b=C7AruZiZ+2yXBDGDmGMMaHEqHAMKmUeLYFUipQ5yLoVztcE+LhyuXeEOGVWPUEC0Lh2pYSMsLnAwG6FVMFV3v7Im6+m8lN9VURnQhk9uO3USyu5+R9OJIgL1tZyuyesUEcdwNslKZrxXa2AqyOE2kyPifTaGqLBHPC9sASm8bUI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:references:from:face:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=mKp31k2E6d5UQSq8VdzQlOWWwmLJGq96qHYVZ5ME4JJVDRHpRU6SJAwAuxLcuRBDFwvHfLFMHK7lOQoqkF10C9VD/Z/t/Y93VrC3U8SI5F8bf47hGQZkZGbUP8ub8fgh5D0WTJTd60ZSa7ZW06nCyEfJs6hpRvXDJHtAaeukpeM= Original-Received: by 10.66.249.16 with SMTP id w16mr4490486ugh.1197185084530; Sat, 08 Dec 2007 23:24:44 -0800 (PST) Original-Received: from dell.linuxdev.us.dell.com ( [88.141.54.205]) by mx.google.com with ESMTPS id q1sm3839887uge.2007.12.08.23.24.42 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 08 Dec 2007 23:24:43 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUAAAASAAR+MRTxoWAS CgXXaDcKAgTItLm6AAACaElEQVQ4jWWTQZPbIAyFlY6Hs+V1OG9wyH3N0LPjur4vRHfY8fD/f0If mWyctlwS8/GkhyQos6a61NeaMnMqWJpyS0Vv61ZJY5Ypl0UVHEpZ00SUdUk0pdmsiZpmS1RIMdGk rrrgGG3uvJCaqF+WlhQUClFTk9U2uJ8lZz46d2sRKDH31x6qbR7GC285BuvfE3EenBt1Wcu24B+n gw3WfRJBKeI++lJ6E+V8UfkYJI49cQzGWKdL+wWBe6fcAXhNnTcA8YPZYt+dmzyL9QBHL85558zg 74BLthJdS4MXgQ/siY9OAusKfEsRIHA/YB8xBwkVyMgkMHXq++5kYcKY4EJXQzAdqxxlZRvmwcyj 9VFEPg/USTiVzG22ZlmW2RuH2HIphMMa5UrsKrCOBTbDVOh7sQvnZY6+1jD0tIMMe0ZQNTbhmtQT 4Fq4pPhTWxB7Uvqxr+jQW7g9p6QmtSr1EuoNbs60UsLHM5QieoPNsJj3pgLF/A2aX3APWxfiO9DP UJ0TE52/lK1KSrPnMJBYF3S5H96THzq0BRXlbMxVr+sOftc6i9xQvDjy8gSbsbVlHuWtjeI9ubE1 SfT1J7pxB3JvsYxLxL7sgGuKEMNJVYnIntycuur4NlWtnJ4AHeuid9GjWXVWnvvqDipyPnDaBYpL FzEH3voTt9sOUIQGfqI3V8ZD2iUKz8w6H9FXUgvzC5jUjPnHS6ly/apYOmMw04X+XnjmVgzzi9PH DfUX7Lobv3rFanIFeLCpzmWdgufN9VxfDGpRwZ5IrY0xcPUI9KKgHwHA/JOhnqlVDf95IroyRvS6 lcel/gBbcK/qcg8YwwAAAABJRU5ErkJggg== In-Reply-To: <87sl2c92no.fsf@kamaloka.dhatu> (Sven Bretfeld's message of "Sun\, 09 Dec 2007 00\:39\:55 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) 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:49952 Archived-At: Sven Bretfeld writes: > Hi to all > > I'm trying to help a friend to set up Gnus. We have problems with > outgoing mail. A toggle-debug-on-error doesn't say very much: > > Debugger entered--Lisp error: (error "Sending failed; SMTP protocol error") > signal(error ("Sending failed; SMTP protocol error")) > error("Sending failed; SMTP protocol error") > smtpmail-send-it() > gnus-agent-send-mail() > message-send-mail(nil) > message-send-via-mail(nil) > message-send(nil) > message-send-and-exit(nil) > * call-interactively(message-send-and-exit) > > The settings in .gnus.el are correct as far as I can say: > > (setq smtpmail-smtp-server "mail.gmx.net") > (setq user-full-name "Stjepan Beles") > (setq user-mail-address "b.stjepan@gmx.de") > (setq message-send-mail-real-function 'smtpmail-send-it) > (add-hook 'message-mode-hook 'turn-on-auto-fill) > > (setq smtpmail-auth-credentials > '(("mail.gmx.net" 25 "***" "***"))) > > I've tested the same settings with my own GMX account on my machine, > and it works. mail.gmx.net doesn't require TLS. We both use Debian > Etch. > > How can we get a more telling log? Can any external program produce > the difficulties (Emacs doesn't make use of the system's MTA, right?). > Could we have forgotten to install anything? > > I'm sorry to ask such a diffuse question. But I'm not physically in > front of his machine. We communicate via Email. And he is still a > beginner with Emacs and GNU/Linux, so he cannot ask himself. > > Thanks for help > Hi, if you write (setq smtpmail-auth-credentials '(("mail.gmx.net" 25 "***" "***"))) that mean you want to use starttls and you need to set mail and password instead of "***" "***" and "mail.gmx.net" must be the adress of an smtp server. if you don't use starttls, just write: (setq send-mail-function 'smtpmail-send-it) (setq message-send-mail-function 'smtpmail-send-it) (setq smtpmail-default-smtp-server "smtp.yourProvider.net") this will use by default port 25 without password And are you sure your friend have some MTA installed (i use nbsmtp) -- A+ Thierry Pub key: http://pgp.mit.edu