smtpmail.el: Problem with STARTTLS + Authentication
  Home FAQ Contact Sign in
gnu.emacs.gnus only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.gnus Profile…
 Up
smtpmail.el: Problem with STARTTLS + Authentication         


Author: Felix Natter
Date: Jul 21, 2008 08:10

hello,
Show full article (1.86Kb)
4 Comments
Re: smtpmail.el: Problem with STARTTLS + Authentication         


Author: Zak B. Elep
Date: Jul 22, 2008 09:19

Felix Natter gmx.net> writes:
> What can I do to fix this? Could it be problems on the other side?

For some reason this is a frequent place to trip up. I found that the
fix is a simple

(setq starttls-use-gnutls t
starttls-gnutls-program "gnutls-cli"
starttls-extra-arguments nil)

Hope that helps.

Cheers,

Zakame
no comments
Re: smtpmail.el: Problem with STARTTLS + Authentication         


Author: Felix Natter
Date: Jul 27, 2008 04:24

zakame@zakame.net (Zak B. Elep) writes:
> Felix Natter gmx.net> writes:
>
>> What can I do to fix this? Could it be problems on the other side?
>
> For some reason this is a frequent place to trip up. I found that the
> fix is a simple
>
> (setq starttls-use-gnutls t
> starttls-gnutls-program "gnutls-cli"
> starttls-extra-arguments nil)

Unfortunately this produces:
Show full article (1.07Kb)
no comments
Re: smtpmail.el: Problem with STARTTLS + Authentication         


Author: Zak B. Elep
Date: Jul 27, 2008 04:42

Felix Natter writes:
> 250 2.1.0 ... Sender ok
> 550 5.7.1 gmx.net>... Relaying denied. Proper authentication required.
> 221 2.0.0 ux-2s14.inf.fh-bonn-rhein-sieg.de closing connection
> smtpmail-send-it: Sending failed; SMTP protocol error
>
> gnutls-cli is installed.

From the original mail, you set smtpmail-smtp-server, but did not set
smtpmail-smtp-service. Since you're using the submission port 587 (as
seen in your smtpmail-*-credentials) I think you're currently connecting
to the SMTP on the regular port. Try setting smtpmail-smtp-service to
587.

--
I like the idea of 256 bits, though: 32 for the (Unicode) character leaves
room for 224 Bucky bits, which ought to be enough for anyone.
-- Roland Hutchinson, in alt.folklore.computers
no comments
Re: smtpmail.el: Problem with STARTTLS + Authentication         


Author: Felix Natter
Date: Aug 2, 2008 13:22

zakame@zakame.net (Zak B. Elep) writes:
> Felix Natter writes:
>
>> 250 2.1.0 ... Sender ok
>> 550 5.7.1 gmx.net>... Relaying denied. Proper authentication required.
>> 221 2.0.0 ux-2s14.inf.fh-bonn-rhein-sieg.de closing connection
>> smtpmail-send-it: Sending failed; SMTP protocol error
>>
>> gnutls-cli is installed.
>
> From the original mail, you set smtpmail-smtp-server, but did not set
> smtpmail-smtp-service. Since you're using the submission port 587 (as
> seen in your smtpmail-*-credentials) I think you're currently connecting
> to the SMTP on the regular port. Try setting smtpmail-smtp-service to
> 587.

That fixed it!

thanks a lot!

--
Felix Natter
no comments

RELATED THREADS
SubjectArticles qty Group
WiKID Strong Authentication System 3.0.1 Token Client - A two-factor authentication system.fm.announce ·