Can someone post a working example to send emails from ECS instances (preferably in python)?
The examples in this doc does not really work http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/pdf/directmail-smtp-reference-cn-zh-2016-05-12.pdf since smtpdm.aliyun.com:25 can't connect Thanks! |
|
1st Reply#
Posted time:Jan 12, 2017 11:00 AM
If you want to apply to open port 25, you can create a ticket. Support team will guide you. And then you can have a try again. Thanks
|
|
|
2nd Reply#
Posted time:Jan 16, 2017 20:56 PM
I really don't get it. Seriously your company needs to revise the security policy. Why on earth is the outgoing port 25 blocked by default? At least AWS, Linode and DO don't do that.
|
|
3rd Reply#
Posted time:Jan 24, 2017 20:02 PM
For ECS in VPC, you can apply to unlock in the console - risk control
|
|
|
4Floor#
Posted time:Feb 26, 2017 20:46 PM
Does anyone has the exact steps to unblock port 25 from the ECS console?
We just purchase an ECS to host our email server and now we are stuck due to this unexpected block for our email services. We really need help on this. |
|
5Floor#
Posted time:Feb 28, 2017 14:07 PM
|
|
|
6Floor#
Posted time:Mar 10, 2017 19:54 PM
is port 22 works ?
|
|
7Floor#
Posted time:Mar 13, 2017 16:05 PM
Yes, port 22 is supported, normally used as SSH service.
|
|
|
8Floor#
Posted time:Jun 15, 2017 9:01 AM
fck! Spend about an hour to understand that port 25 is blocked.
How to deal with it? |
|
9Floor#
Posted time:Jun 15, 2017 16:04 PM
Support engineer answered me that 25 port is blocked and suggested me to use any other port. This doesn't make any sense. It may have sense if he suggested to use external SMTP server, but to do that, I need to own an external SMPT server outside Aliyun, which I don't.
So there is no way to send email from Aliyun at all? Nobody uses email in China? Pls help |
|
10Floor#
Posted time:Jun 19, 2017 21:04 PM
We don't allow port 25 for setting up mail service, if you are not setting up mail server on the ECS, but calling 3rd party mail service provider, If you are using port 25 to connect to 3rd party mail service provider, please check with them if they can redirect the request from other port to port 25.
Sorry for the inconvenience. |
|
|
11Floor#
Posted time:Dec 2, 2017 16:24 PM
ec 2 16:18:43 47 postfix/error[16776]: 5B4C91A3330: to=<anmoldeep0123@gmail.com>, relay=none, delay=0.02, delays=0.01/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt4.gmail-smtp-in.l.google.com[74.125.192.27]:25: Connection timed out)
^C andee@47:/var/log$ telnet 64.233.160.27 25 Trying 64.233.160.27... ^C andee@47:/var/log$ andee@47:/var/log$ telnet 64.233.160.27 25 Trying 64.233.160.27... telnet: Unable to connect to remote host: Connection timed out |
|
12Floor#
Posted time:Dec 4, 2017 16:37 PM
I would suggest to use third party email services, such as sendgrid, mailgun, mandrill, etc
|
|
|
13Floor#
Posted time:Dec 5, 2017 2:19 AM
You can use tcp protocol to send/receive email
|
|
|
14Floor#
Posted time:Jan 2, 2018 23:44 PM
Sad moment to discover such a totally unexpected stumbling block after having spent several weeks evaluating and to set up all the non-trivial features in our cloud server.
Reconfiguring to a third party email service on literally dozens of android-devices is a real PITA! Wish I knew beforehand...any chance of change in this seemingly meaningless policy anytime soon? |
|
Previous
Next