unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: GnuTLS SMTP Error
  2016-01-28 10:28 GnuTLS SMTP Error Florian Lindner
@ 2016-01-28 10:17 ` tomas
  2016-01-29  1:46 ` Robert Thorpe
  1 sibling, 0 replies; 4+ messages in thread
From: tomas @ 2016-01-28 10:17 UTC (permalink / raw)
  To: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jan 28, 2016 at 11:28:05AM +0100, Florian Lindner wrote:
> Hello,
> 
> I'm trying to send mail:

[...]

> Ein unerwartetes TLS-Paket wurde empfangen. == An expected TLS package
> has been received.

Small correction:

    an *un*expected TLS package has been received

As to your original question... no idea, sorry. Except  you could try
tcpdump or wireshark to spy on the conversation, perhaps there's something
to learn from it.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlap6pwACgkQBcgs9XrR2kaiOgCfariMcFvO6PPmN063Rbl/qKHe
XJoAn2m24woVHpll2buMKqcupGYm8X5X
=KY6L
-----END PGP SIGNATURE-----



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

* GnuTLS SMTP Error
@ 2016-01-28 10:28 Florian Lindner
  2016-01-28 10:17 ` tomas
  2016-01-29  1:46 ` Robert Thorpe
  0 siblings, 2 replies; 4+ messages in thread
From: Florian Lindner @ 2016-01-28 10:28 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I'm trying to send mail:

Sending via mail...
gnutls.c: [0] (Emacs) fatal error: Ein unerwartetes TLS-Paket wurde
empfangen. gnutls.el: (err=[-15] Ein unerwartetes TLS-Paket wurde
empfangen.) boot: (:priority NORMAL :hostname
ipvsmail.informatik.uni-stuttgart.de :loglevel 0 :min-prime-bits
256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles
nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)

gnutls-negotiate: GnuTLS error: #<process smtpmail<1>>, -15



Ein unerwartetes TLS-Paket wurde empfangen. == An expected TLS package
has been received.

setting smtpmail-debug-info and smtpmail-debug-verb are set to t.

pvsmail.informatik.uni-stuttgart.de ESMTP Postfix
502 5.5.2 Error: command not recognized
502 5.5.2 Error: command not recognized
500 5.5.2 Error: bad syntax
500 5.5.2 Error: bad syntax
500 5.5.2 Error: bad syntax
421 4.4.2 ipvsmail.informatik.uni-stuttgart.de Error: timeout exceeded
421 4.4.2 ipvsmail.informatik.uni-stuttgart.de Error: timeout exceeded

Process smtpmail<1> connection broken by remote peer

Process smtpmail connection broken by remote peer


Configuration is:

(use-package smtpmail
  :config (progn
            (setq send-mail-function 'smtpmail-send-it
                  smtpmail-smtp-server
"ipvsmail.informatik.uni-stuttgart.de" smtpmail-smtp-service 587
                  smtpmail-stream-type 'ssl)
            ))


and in my authinfo:

machine ipvsmail.informatik.uni-stuttgart.de login MYLOGIN port 587
password MYPASSWD


Are there any ideas from anyone?
Emacs 24.5

Thanks!
Florian




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

* Re: GnuTLS SMTP Error
  2016-01-28 10:28 GnuTLS SMTP Error Florian Lindner
  2016-01-28 10:17 ` tomas
@ 2016-01-29  1:46 ` Robert Thorpe
  2016-01-29  6:30   ` ken
  1 sibling, 1 reply; 4+ messages in thread
From: Robert Thorpe @ 2016-01-29  1:46 UTC (permalink / raw)
  To: Florian Lindner; +Cc: help-gnu-emacs

Florian Lindner <mailinglists@xgm.de> writes:

> Hello,
>
> I'm trying to send mail:
>
> Sending via mail...
> gnutls.c: [0] (Emacs) fatal error: Ein unerwartetes TLS-Paket wurde
> empfangen. gnutls.el: (err=[-15] Ein unerwartetes TLS-Paket wurde
> empfangen.) boot: (:priority NORMAL :hostname
> ipvsmail.informatik.uni-stuttgart.de :loglevel 0 :min-prime-bits
> 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles
> nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
>
> gnutls-negotiate: GnuTLS error: #<process smtpmail<1>>, -15

Could you check if mail works unencrypted first?  That could help narrow
down the problem.

Of course, sometimes these days SMTP servers don't support that.

BR,
Robert Thorpe



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

* Re: GnuTLS SMTP Error
  2016-01-29  1:46 ` Robert Thorpe
@ 2016-01-29  6:30   ` ken
  0 siblings, 0 replies; 4+ messages in thread
From: ken @ 2016-01-29  6:30 UTC (permalink / raw)
  To: Robert Thorpe, Florian Lindner; +Cc: help-gnu-emacs

On 01/28/2016 08:46 PM, Robert Thorpe wrote:
> Florian Lindner <mailinglists@xgm.de> writes:
>
>> Hello,
>>
>> I'm trying to send mail:
>>
>> Sending via mail...
>> gnutls.c: [0] (Emacs) fatal error: Ein unerwartetes TLS-Paket wurde
>> empfangen. gnutls.el: (err=[-15] Ein unerwartetes TLS-Paket wurde
>> empfangen.) boot: (:priority NORMAL :hostname
>> ipvsmail.informatik.uni-stuttgart.de :loglevel 0 :min-prime-bits
>> 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles
>> nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
>>
>> gnutls-negotiate: GnuTLS error: #<process smtpmail<1>>, -15
>
> Could you check if mail works unencrypted first?  That could help narrow
> down the problem.
>
> Of course, sometimes these days SMTP servers don't support that.
>
> BR,
> Robert Thorpe

I'm guessing the email is *not* being sent to the mail server's port 
number 587.  And, though there's not much evidence to go on, I'd guess 
again that it should.





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

end of thread, other threads:[~2016-01-29  6:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-28 10:28 GnuTLS SMTP Error Florian Lindner
2016-01-28 10:17 ` tomas
2016-01-29  1:46 ` Robert Thorpe
2016-01-29  6:30   ` ken

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 read-only IMAP folder(s) and NNTP newsgroup(s).