[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "relaying denied" -- Can't set up SMTP
From: |
Eli Zaretskii |
Subject: |
Re: "relaying denied" -- Can't set up SMTP |
Date: |
25 Nov 2003 17:43:26 +0200 |
> Newsgroups: gnu.emacs.help
> From: Dan Anderson <dan@mathjunkies.com>
> Date: Tue, 25 Nov 2003 14:55:14 GMT
>
> I tried and it still doesn't work. Here's the error message:
>
> ,----[ Entire Error Messages ]
> | 220 mailserver.com ESMTP Sendmail 8.11.6/8.11.6; Mon, 24 Nov 2003 22:03:04
> -0600
> | EHLO my_hostname
> | 250-torre.pghoster.com Hello my_hostname [my ip], pleased to meet you
> | 250-ENHANCEDSTATUSCODES
> | 250-8BITMIME
> | 250-SIZE
> | 250-DSN
> | 250-ONEX
> | 250-ETRN
> | 250-XUSR
> | 250-AUTH LOGIN PLAIN
> | 250 HELP
> | ONEX
> | 250 2.0.0 Only one transaction
> | XUSR
> | 250 2.0.0 Initial submission
> | MAIL FROM: <myemail@hostname.com> SIZE=347
> | 250 2.1.0 <myemail@hostname.com>... Sender ok
> | RCPT TO: <whoimemailing@hostname.com>
> | 550 5.7.1 <whoimemailing@hostname.com>... Relaying denied
Hmm... strange. What version of Emacs is that?
It looks like smtpmail doesn't recognize the authentication methods
supported by your SMTP server: it should have issued the "AUTH LOGIN"
command before "ONEX", but didn't. I wonder why...
Btw, are you sure your mail server indeed supports connections from
outside its domain? It's possible that it doesn't, in which case
"Relaying denied" is expected: it tells you that it doesn't want to be
used as a mail relay (malicious hackers abuse that to send spam).