* smtp 587 always fails to send email
@ 2016-10-24 13:14 Alice Bob
2016-10-24 14:09 ` Adam Sjøgren
2016-10-24 14:27 ` Byung-Hee HWANG (황병희, 黃炳熙)
0 siblings, 2 replies; 11+ messages in thread
From: Alice Bob @ 2016-10-24 13:14 UTC (permalink / raw)
To: info-gnus-english
Port number 587 always fails to send emails. The traces:
502 5.5.2 Error: command not recognized
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
However I can connect to the smtp server on command line:
`gnutls-cli --verbose --crlf --starttls --insecure --port=587 smtp.zoho.com'
The relevant configs:
(setq send-mail-function 'smtpmail-send-it
message-send-mail-function 'smtpmail-send-it
smtpmail-default-smtp-server nil
smtpmail-stream-type 'ssl
smtpmail-smtp-service 587)
(setq smtpmail-smtp-server "smtp.zoho.com")
1. I am sure port 587 is allowed on firewall.
2. 587 fails for all different smtp servers (outlook etc.)
Could some guys give some hints?
--
horizon
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: smtp 587 always fails to send email
2016-10-24 13:14 smtp 587 always fails to send email Alice Bob
@ 2016-10-24 14:09 ` Adam Sjøgren
2016-10-24 14:27 ` Byung-Hee HWANG (황병희, 黃炳熙)
1 sibling, 0 replies; 11+ messages in thread
From: Adam Sjøgren @ 2016-10-24 14:09 UTC (permalink / raw)
To: info-gnus-english
Alice writes:
> smtpmail-stream-type 'ssl
That doesn't mean STARTTLS, does it? Try 'starttls instead.
,----[ C-h v smtpmail-stream-type RET ]
| smtpmail-stream-type is a variable defined in `smtpmail.el'.
| Its value is nil
|
| Documentation:
| Type of SMTP connections to use.
| This may be either nil (possibly upgraded to STARTTLS if possible),
| or `starttls' (refuse to send if STARTTLS isn't available), or `plain'
| (never use STARTTLS), or `ssl' (to use TLS/SSL).
`----
Best regards,
Adam
--
"You know, this may sound just a teensy bit insane in Adam Sjøgren
the old membrane, Homer, but I was wondering if you asjo@koldfront.dk
could show me how to have some fun?"
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: smtp 587 always fails to send email
2016-10-24 13:14 smtp 587 always fails to send email Alice Bob
2016-10-24 14:09 ` Adam Sjøgren
@ 2016-10-24 14:27 ` Byung-Hee HWANG (황병희, 黃炳熙)
2016-10-24 15:08 ` Alice Bob
1 sibling, 1 reply; 11+ messages in thread
From: Byung-Hee HWANG (황병희, 黃炳熙) @ 2016-10-24 14:27 UTC (permalink / raw)
To: info-gnus-english
[Wow you writes at quimby! Nice to meet you!]
Alice Bob <alicebob@riseup.net> 께서 쓰시길,
《記事 全文 <87lgxdvqh0.fsf@riseup.net> 에서》:
> Port number 587 always fails to send emails. The traces:
>
> 502 5.5.2 Error: command not recognized
> 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
>
> However I can connect to the smtp server on command line:
>
> `gnutls-cli --verbose --crlf --starttls --insecure --port=587 smtp.zoho.com'
>
> The relevant configs:
>
> (setq send-mail-function 'smtpmail-send-it
> message-send-mail-function 'smtpmail-send-it
> smtpmail-default-smtp-server nil
> smtpmail-stream-type 'ssl
> smtpmail-smtp-service 587)
> (setq smtpmail-smtp-server "smtp.zoho.com")
>
> 1. I am sure port 587 is allowed on firewall.
> 2. 587 fails for all different smtp servers (outlook etc.)
>
> Could some guys give some hints?
Dear Alice,
If i were you, i would like to show version of Gnus and Emacs. Because
current Gnus source codes were changed a lot. In other words, 5.13 is
not 5.13 (GNU/Emacs 23's Gnus was 5.13, and GNU/Emacs 25's Gnus is also
5.13).
--
^고맙습니다 _地平天成_ 감사합니다_^))//
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: smtp 587 always fails to send email
2016-10-24 14:27 ` Byung-Hee HWANG (황병희, 黃炳熙)
@ 2016-10-24 15:08 ` Alice Bob
2016-10-25 14:18 ` Byung-Hee HWANG (황병희, 黃炳熙)
0 siblings, 1 reply; 11+ messages in thread
From: Alice Bob @ 2016-10-24 15:08 UTC (permalink / raw)
To: info-gnus-english
soyeomul@yw.doraji.xyz (Byung-Hee HWANG "(황병희, 黃炳熙)")
writes:
>> smtpmail-stream-type 'ssl
>> smtpmail-smtp-service 587)
>> (setq smtpmail-smtp-server "smtp.zoho.com")
>>
>> 1. I am sure port 587 is allowed on firewall.
>> 2. 587 fails for all different smtp servers (outlook etc.)
>>
>> Could some guys give some hints?
>
> Dear Alice,
>
> If i were you, i would like to show version of Gnus and Emacs. Because
> current Gnus source codes were changed a lot. In other words, 5.13 is
> not 5.13 (GNU/Emacs 23's Gnus was 5.13, and GNU/Emacs 25's Gnus is also
> 5.13).
Thanks to Byung-Hee. The issue was solved withe help from Eric S
Fraga <e.fraga@ucl.ac.uk> on this channel.
To send on port 587, `smtpmail-stream-type' should be 'starttls.
To send on port 465, `smtpmail-stream-type' can be 'ssl.
--
horizon
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: smtp 587 always fails to send email
2016-10-24 15:08 ` Alice Bob
@ 2016-10-25 14:18 ` Byung-Hee HWANG (황병희, 黃炳熙)
0 siblings, 0 replies; 11+ messages in thread
From: Byung-Hee HWANG (황병희, 黃炳熙) @ 2016-10-25 14:18 UTC (permalink / raw)
To: info-gnus-english
> To send on port 587, `smtpmail-stream-type' should be 'starttls.
> To send on port 465, `smtpmail-stream-type' can be 'ssl.
Very happy to know, thanks!!!
--
^고맙습니다 _地平天成_ 감사합니다_^))//
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: smtp 587 always fails to send email
2016-11-11 17:00 ` Adam Sjøgren
@ 2016-11-24 5:19 ` You Wu
0 siblings, 0 replies; 11+ messages in thread
From: You Wu @ 2016-11-24 5:19 UTC (permalink / raw)
To: Adam Sjøgren; +Cc: info-gnus-english
asjo@koldfront.dk (Adam Sjøgren) writes:
> You writes:
>
>> Concerning security level, which one is better? 587 on `starttls'
>> or 465 on `ssl'?
>
> Both are fine, if your client stops if STARTTLS doesn't work/isn't
> available.
I saw `gnutls-cli --insecure...' when connecting to emails
servers occasionally. I don't know whether it's related to the
`starttl' setting.
Seems this occured much back in Emacs 24. I am now on Emacs 25.
> (Otherwise if an interceptor could remove the STARTTLS support
> announcement from the server, and if the client continues in
> non-encrypted mode, then it would be bad. smtpmail does the right thing,
> though:
>
> "starttls to insist on STARTTLS"
> - https://www.gnu.org/software/emacs/manual/html_node/smtpmail/Encryption.html
> )
>
>
> Best regards,
>
> Adam
--
Hello, world
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: smtp 587 always fails to send email
2016-11-11 6:26 ` You Wu
@ 2016-11-11 17:00 ` Adam Sjøgren
2016-11-24 5:19 ` You Wu
0 siblings, 1 reply; 11+ messages in thread
From: Adam Sjøgren @ 2016-11-11 17:00 UTC (permalink / raw)
To: info-gnus-english
You writes:
> Concerning security level, which one is better? 587 on `starttls'
> or 465 on `ssl'?
Both are fine, if your client stops if STARTTLS doesn't work/isn't
available.
(Otherwise if an interceptor could remove the STARTTLS support
announcement from the server, and if the client continues in
non-encrypted mode, then it would be bad. smtpmail does the right thing,
though:
"starttls to insist on STARTTLS"
- https://www.gnu.org/software/emacs/manual/html_node/smtpmail/Encryption.html
)
Best regards,
Adam
--
"It seems like the finals for "least helpful answer Adam Sjøgren
on a mailing list" are coming up again." asjo@koldfront.dk
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: smtp 587 always fails to send email
2016-10-24 16:03 ` Adam Sjøgren
@ 2016-11-11 6:26 ` You Wu
2016-11-11 17:00 ` Adam Sjøgren
0 siblings, 1 reply; 11+ messages in thread
From: You Wu @ 2016-11-11 6:26 UTC (permalink / raw)
To: Adam =?gb18030?B?U2qBMIszZ3Jlbg==?=; +Cc: info-gnus-english
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 578 bytes --]
asjo@koldfront.dk (Adam Sj03gren) writes:
> Alice writes:
>
>> `starttls works on port 587;
>
> Yup, because 587 is 'submission', which does not traditionally mean
> TLS/SSL, while:
>
>> `ssl works on port 465.
>
> Is 'smtps', which is SMTP over TLS/SSL.
>
>
> Best regards,
>
> Adam
Many thanks to Adam!
Concerning security level, which one is better? 587 on `starttls'
or 465 on `ssl'?
--
Hello, world
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: smtp 587 always fails to send email
2016-10-24 14:41 ` Alice Bob
@ 2016-10-24 16:03 ` Adam Sjøgren
2016-11-11 6:26 ` You Wu
0 siblings, 1 reply; 11+ messages in thread
From: Adam Sjøgren @ 2016-10-24 16:03 UTC (permalink / raw)
To: info-gnus-english
Alice writes:
> `starttls works on port 587;
Yup, because 587 is 'submission', which does not traditionally mean
TLS/SSL, while:
> `ssl works on port 465.
Is 'smtps', which is SMTP over TLS/SSL.
Best regards,
Adam
--
"[It] was a rapsidie of faigned and ill-invented Adam Sjøgren
nonsense, patched up partly of the morall doctrine of asjo@koldfront.dk
philosophers, and pairtly of poeticall fictions and
extravagant chimeras."
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: smtp 587 always fails to send email
2016-10-24 13:40 ` Eric S Fraga
@ 2016-10-24 14:41 ` Alice Bob
2016-10-24 16:03 ` Adam Sjøgren
0 siblings, 1 reply; 11+ messages in thread
From: Alice Bob @ 2016-10-24 14:41 UTC (permalink / raw)
To: Eric S Fraga; +Cc: info-gnus-english
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> On Monday, 24 Oct 2016 at 13:14, Alice Bob wrote:
>> However I can connect to the smtp server on command line:
>>
>> `gnutls-cli --verbose --crlf --starttls --insecure --port=587 smtp.zoho.com'
>>
>> The relevant configs:
>>
>> (setq send-mail-function 'smtpmail-send-it
>> message-send-mail-function 'smtpmail-send-it
>> smtpmail-default-smtp-server nil
>> smtpmail-stream-type 'ssl
>
> maybe try 'starttls in lieu of 'ssl?
Many thanks to Eric,
`starttls works on port 587;
`ssl works on port 465.
--
Hello, world
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: smtp 587 always fails to send email
[not found] <0491d5271e5848f8b3d75ae57ca1a724@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-10-24 13:40 ` Eric S Fraga
2016-10-24 14:41 ` Alice Bob
0 siblings, 1 reply; 11+ messages in thread
From: Eric S Fraga @ 2016-10-24 13:40 UTC (permalink / raw)
To: Alice Bob; +Cc: info-gnus-english
On Monday, 24 Oct 2016 at 13:14, Alice Bob wrote:
> However I can connect to the smtp server on command line:
>
> `gnutls-cli --verbose --crlf --starttls --insecure --port=587 smtp.zoho.com'
>
> The relevant configs:
>
> (setq send-mail-function 'smtpmail-send-it
> message-send-mail-function 'smtpmail-send-it
> smtpmail-default-smtp-server nil
> smtpmail-stream-type 'ssl
maybe try 'starttls in lieu of 'ssl?
--
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 26.0.50.1 + Gnus v5.13 + evil-git-ff74cfb
: BBDB version 3.1.2 (2016-07-21 10:12:09+00:00)
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-11-24 5:19 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-24 13:14 smtp 587 always fails to send email Alice Bob
2016-10-24 14:09 ` Adam Sjøgren
2016-10-24 14:27 ` Byung-Hee HWANG (황병희, 黃炳熙)
2016-10-24 15:08 ` Alice Bob
2016-10-25 14:18 ` Byung-Hee HWANG (황병희, 黃炳熙)
[not found] <0491d5271e5848f8b3d75ae57ca1a724@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-10-24 13:40 ` Eric S Fraga
2016-10-24 14:41 ` Alice Bob
2016-10-24 16:03 ` Adam Sjøgren
2016-11-11 6:26 ` You Wu
2016-11-11 17:00 ` Adam Sjøgren
2016-11-24 5:19 ` You Wu
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).