From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: "relaying denied" -- Can't set up SMTP Date: 25 Nov 2003 07:43:58 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1069739104 32430 80.91.224.253 (25 Nov 2003 05:45:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2003 05:45:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 25 06:45:00 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOW0S-0004so-00 for ; Tue, 25 Nov 2003 06:45:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AOWwN-0003DC-Rv for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Nov 2003 01:44:51 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AOWvs-00036l-Of for help-gnu-emacs@gnu.org; Tue, 25 Nov 2003 01:44:20 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AOWvK-0002xy-Ls for help-gnu-emacs@gnu.org; Tue, 25 Nov 2003 01:44:17 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1AOWvI-0002hn-EY for help-gnu-emacs@gnu.org; Tue, 25 Nov 2003 01:43:45 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: (message from Dan Anderson on Tue, 25 Nov 2003 04:07:52 GMT) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14555 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14555 > Newsgroups: gnu.emacs.help > From: Dan Anderson > Date: Tue, 25 Nov 2003 04:07:52 GMT > > ,---- > | (setq send-mail-function 'smtpmail-send-it) > | (setq message-send-mail-function 'smtpmail-send-it) > | (setq smtpmail-smtp-server "mail.host.com") > | (setq smtpmail-auth-credentials > | '(("host.com" "25" "username" "password"))) > | (setq smtpmail-debug-info t) > | (setq smtpmail-debug-verb t) > `---- > > I end up getting something that looks like: > > 550 5.7.1 ... Relaying denied The smtpmail docs says that the port can be either a string or a number, but the code wants a number. So change this: (setq smtpmail-auth-credentials '(("host.com" "25" "username" "password"))) into this: (setq smtpmail-auth-credentials '(("host.com" 25 "username" "password"))) and things will probably start working. I also have this line in my customizations: (setq smtpmail-smtp-service 25) If this doesn't help, post here the entire contents of the SMTP session buffer.