help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "relaying denied" -- Can't set up SMTP


From: David Kastrup
Subject: Re: "relaying denied" -- Can't set up SMTP
Date: 25 Nov 2003 12:07:39 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Eli Zaretskii <eliz@elta.co.il> writes:

> > Newsgroups: gnu.emacs.help
> > From: Dan Anderson <dan@mathjunkies.com>
> > 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 <somebody@somewhere.com>... 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")))

If a string works (don't know) it would probably have to be "smtp" and
not "25".

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

[Prev in Thread] Current Thread [Next in Thread]