Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Alice Bob <alicebob@riseup.net>
To: info-gnus-english@gnu.org
Subject: smtp 587 always fails to send email
Date: Mon, 24 Oct 2016 21:14:35 +0800	[thread overview]
Message-ID: <87lgxdvqh0.fsf@riseup.net> (raw)


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

             reply	other threads:[~2016-10-24 13:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-24 13:14 Alice Bob [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgxdvqh0.fsf@riseup.net \
    --to=alicebob@riseup.net \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).