Postfix sendmail使用错误的端口

时间:2019-03-16 18:07:57

标签: sendmail postfix-mta

我在文件master.cf中将Smtp端口从25更改为8090,但它仍在使用端口25。

以下是我执行的步骤:

file master.cf: 8090 inet n - n -- smtpd

    reloaded postfix: sudo systemctl restart postfix

    sudo echo "Testing email" | mail -s "Testing Posfix" username@gmail.com

mail.log中的结果:

  

连接到alt1.gmail-smtp-in.l.google.com [74.125.140.26]:25:   连接超时

对接下来要尝试的内容有何建议?

0 个答案:

没有答案