party
Intern
Intern
  • UID8204
  • Fans0
  • Follows0
  • Posts1
Reads:45131Replies:4

[Others]Change port 25 to send email using ECS instance

Created#
More Posted time:Oct 30, 2019 22:57 PM
Hi everyone,


I have an ECS instance (ubuntu 16.04) which I used to setup a plesk to build a wordpress website. I have also create an email using the same instance on plesk.


I am having diffcult sending emails but have no problem recieving them. From what the techincal support team told me, alibaba cloud had blocked port 25 and i was adviced use the port 465 instead. Can anyone teach or provide me with a guide on how to change my port to 465, please?!


As i am using webmail (horde) and the replies i got from the support team to change the stmp port is for outlook and thunderbird etc.


Thanks,
Party

Rubio
Engineer
Engineer
  • UID8067
  • Fans1
  • Follows2
  • Posts51
1st Reply#
Posted time:Oct 31, 2019 8:10 AM
Hello there Party,


I was looking in this guide https://dzone.com/articles/how-to-setup-email-server-with-postfix-dovecot-dir and he mentions that you have to user Alibaba Cloud Direct Mail to do that  https://www.alibabacloud.com/product/directmail?spm=a2c5t.10695662.1996646101.searchclickresult.3270207fFUFegV


hope it can be of any help.

YagrXu
Intern
Intern
  • UID8206
  • Fans0
  • Follows0
  • Posts2
2nd Reply#
Posted time:Oct 31, 2019 16:13 PM

jtdoank
Intern
Intern
  • UID8466
  • Fans0
  • Follows0
  • Posts1
3rd Reply#
Posted time:Dec 21, 2020 7:53 AM
This is what i looking for...

thanks all

KhurramRahim
Assistant Engineer
Assistant Engineer
  • UID10426
  • Fans0
  • Follows0
  • Posts71
4Floor#
Posted time:Feb 9, 2021 17:48 PM
please find   mentioned below command i hope it will help you.



iptables -A PREROUTING -t nat -p tcp --dport 9993 -j REDIRECT --to-port 993
iptables -A PREROUTING -t nat -p tcp --dport 4465 -j REDIRECT --to-port 465
Guest