Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: smtpmail.el: Problem with STARTTLS + Authentication
       [not found] <mailman.15106.1216653611.18990.info-gnus-english@gnu.org>
@ 2008-07-22 16:19 ` Zak B. Elep
  2008-07-27 11:24   ` Felix Natter
       [not found]   ` <mailman.15466.1217157866.18990.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Zak B. Elep @ 2008-07-22 16:19 UTC (permalink / raw)
  To: info-gnus-english

Felix Natter <fnatter@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: smtpmail.el: Problem with STARTTLS + Authentication
  2008-07-22 16:19 ` smtpmail.el: Problem with STARTTLS + Authentication Zak B. Elep
@ 2008-07-27 11:24   ` Felix Natter
       [not found]   ` <mailman.15466.1217157866.18990.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Felix Natter @ 2008-07-27 11:24 UTC (permalink / raw)
  To: info-gnus-english

zakame@zakame.net (Zak B. Elep) writes:

> Felix Natter <fnatter@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:

220 ux-2s14.inf.fh-bonn-rhein-sieg.de ESMTP Exim 3.12 #1 Sun, 27 Jul 2008 13:21:50 +0200
250-ux-2s14.inf.fh-bonn-rhein-sieg.de Hello pD9E8384A.dip.t-dialin.net [217.232.56.74], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH LOGIN PLAIN
250-STARTTLS
250-DELIVERBY
250 HELP
250 2.1.0 <felix.natter@smail.inf.fh-brs.de>... Sender ok
550 5.7.1 <fnatter@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.

thanks,

-- 
Felix Natter

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: smtpmail.el: Problem with STARTTLS + Authentication
       [not found]   ` <mailman.15466.1217157866.18990.info-gnus-english@gnu.org>
@ 2008-07-27 11:42     ` Zak B. Elep
  2008-08-02 20:22       ` Felix Natter
  0 siblings, 1 reply; 5+ messages in thread
From: Zak B. Elep @ 2008-07-27 11:42 UTC (permalink / raw)
  To: info-gnus-english

Felix Natter <felix.natter@smail.inf.fh-brs.de> writes:

> 250 2.1.0 <felix.natter@smail.inf.fh-brs.de>... Sender ok
> 550 5.7.1 <fnatter@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: smtpmail.el: Problem with STARTTLS + Authentication
  2008-07-27 11:42     ` Zak B. Elep
@ 2008-08-02 20:22       ` Felix Natter
  0 siblings, 0 replies; 5+ messages in thread
From: Felix Natter @ 2008-08-02 20:22 UTC (permalink / raw)
  To: info-gnus-english

zakame@zakame.net (Zak B. Elep) writes:

> Felix Natter <felix.natter@smail.inf.fh-brs.de> writes:
>
>> 250 2.1.0 <felix.natter@smail.inf.fh-brs.de>... Sender ok
>> 550 5.7.1 <fnatter@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* smtpmail.el: Problem with STARTTLS + Authentication
@ 2008-07-21 15:10 Felix Natter
  0 siblings, 0 replies; 5+ messages in thread
From: Felix Natter @ 2008-07-21 15:10 UTC (permalink / raw)
  To: info-gnus-english

hello,

I currently cannot smtp-authenticate:
220 ux-2s14.inf.fh-bonn-rhein-sieg.de ESMTP Exim 3.12 #1 Mon, 21 Jul 2008 10:14:52 +0200
250-ux-2s14.inf.fh-bonn-rhein-sieg.de Hello pD9E83FE2.dip.t-dialin.net [217.232.63.226], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH LOGIN PLAIN
250-STARTTLS
250-DELIVERBY
250 HELP
250 2.1.0 <felix.natter@smail.inf.fh-brs.de>... Sender ok
250 2.1.5 <marlis.vonderhude@fh-bonn-rhein-sieg.de>... Recipient ok
354 Enter mail, end with "." on a line by itself
554 5.7.1 Your mail has been rated as SPAM, score: 5.8 (BAYES_50,HELO_LOCALHOST,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC)
221 2.0.0 ux-2s14.inf.fh-bonn-rhein-sieg.de closing connection
smtpmail-send-it: Sending failed; SMTP protocol error

=> the mail is rejected because it's from a dynamic IP *only because I
couldn't authenticate*. Now the helpdesk says that this is missing:
  "AUTH PLAIN $*(%)%$)%" (letztes Token: base64-encoded Nutzer & Pwd)
but I guess this just isn't shown in *Messages*?

This is my setup:

(setq message-send-mail-function 'smtpmail-send-it
      send-mail-function 'smtpmail-send-it
      smtpmail-smtp-server "smtp.inf.fh-bonn-rhein-sieg.de"
      smtpmail-local-domain nil
      smtpmail-debug-info t)
;;Documentation:
;;Specify STARTTLS keys and certificates for servers.
;;This is a list of four-element list with `servername' (a string),
;;`port' (an integer), `key' (a filename) and `certificate' (a filename).
(setq smtpmail-starttls-credentials
      '(("smtp.inf.fh-bonn-rhein-sieg.de" 587 nil nil)))
;; this is still needed, even with STARTTLS
(setq smtpmail-auth-credentials
      '(("smtp.inf.fh-bonn-rhein-sieg.de" 587 "fnatte2s" "<MY PASSWORD>")))

What can I do to fix this? Could it be problems on the other side?

thanks!

-- 
Felix Natter

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-02 20:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.15106.1216653611.18990.info-gnus-english@gnu.org>
2008-07-22 16:19 ` smtpmail.el: Problem with STARTTLS + Authentication Zak B. Elep
2008-07-27 11:24   ` Felix Natter
     [not found]   ` <mailman.15466.1217157866.18990.info-gnus-english@gnu.org>
2008-07-27 11:42     ` Zak B. Elep
2008-08-02 20:22       ` Felix Natter
2008-07-21 15:10 Felix Natter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).