简体   繁体   English

Amazon EC2 Ubuntu和发出在远程SMTP中连接的问题

[英]Amazon ec2 ubuntu and issue to connect in a remote smtp

Well i'm using amazon ec2 to host files and using a remote smtp to send emails ... i can connect from anywhere in this remote smtp but inside the amazon ec2 when i try to connect it show: 好吧,我正在使用Amazon EC2来承载文件并使用远程smtp发送电子邮件...我可以从此远程smtp中的任何位置进行连接,但是当我尝试将其连接时在Amazon EC2内显示:

SMTP Error: Could not connect to SMTP host. SMTP错误:无法连接到SMTP主机。

very strange, maybe someone could help me? 很奇怪,也许有人可以帮我吗? I need to allow some port in firewall ? 我需要在防火墙中允许一些端口吗?

thanks. 谢谢。

configserv & Firewall Security Council is ; configserv和防火墙安全委员会是;

After logging in to your WHM panel , click on the left menu configserv Security & Firewall , Firewall Configuration button , click on the resulting page . 登录到WHM面板后,单击左侧菜单configserv安全和防火墙,防火墙配置按钮,然后单击出现的页面。 by SMTP_BLOCK title in front of one (1) i 0 (zero) at the bottom of the page by changing the update ( save, change) click the button . 按SMTP_BLOCK标题在页面底部的一(1)i 0(零)前面,通过更改更新(保存,更改)单击按钮。 After this process, you must restart CSF Firewall. 此过程之后,您必须重新启动CSF Firewall。 You can try again to send e-mail after the restart CSF Firewall plug-in. 重新启动CSF Firewall插件后,您可以再次尝试发送电子邮件。

is not already installed ; 尚未安装;

You enterla type the following line at the command prompt after connecting to your server ssh . 在连接到服务器ssh之后,在命令提示符下输入以下行。 You can then try to send mail . 然后,您可以尝试发送邮件。 service iptables stop 服务iptables停止

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM