I'm facing a weird problem with Postfix right now. My setup is Postfix 2.9.6 and Dovecot 2.1.7 on Debian 7.11 and there's a second server configured exactly the same that does not show this problem. Sometimes I get a "connection refused" when Postfix is sending mails to another server ...
status=deferred (connect to c.org[54.231.18.140]:25: Connection refused)(收件人,已经发送,postfix默认配置把当前主机的ip地址所在的网段都 认为是本地客户端,而所有的本地客户端都允许给中继的,这是默认配置) SMTP --> SMTPS ESMTP POP3: 邮局协议 IMAP4: Internet Mail Access Protocol 互联网邮件访问协议 ...
Oct 26 02:54:27 localhost postfix/smtp[41094]: 99F4C23F008: to=<445335413@qq.com>, relay=mx3.qq.com[119.147.192.199]:25, delay=110, delays=109/0/0.04/0.1, dsn=5.0.0, status=bounced (host mx3.qq.com[119.147.192.199] said: 550 Mail content denied. http://service.mail.qq.com/c...
250 XFORWARD NAME ADDR PORT PROTO HELO IDENT SOURCE quit 221 2.0.0 [::1] amavisd-new closing transmission channel Connection closed by foreign host. 成功 2、测试postfix端口10025连接 amavisd调用SA或clamd扫描完邮件后,将邮件回注给postfix:10025 [root@mail ~]# telnet localhost 10025 Trying ::1.....
[root@mail postfix]# telnet mail.xls.com25#连接mail服务器 Trying fe80::cead:2531:ba6b:35cf%ens33...telnet:connect to address fe80::cead:2531:ba6b:35cf%ens33:Connection refused Trying192.168.3.8...Connected to mail.xls.com.Escape character is'^]'.220mail.xls.comESMTPPostfix ...
7.Now try to check your mail server is connecting on port 25 using the following command. $ telnet gmail-smtp-in.l.google.com 25 Trying 74.125.200.27... Connected to gmail-smtp-in.l.google.com. Escape character is '^]'. 220 mx.google.com ESMTP k12si849250plk.430 - gsmtp ...
If you get aConnection refusederror instead, make sure your firewall is setup to allow inbound traffic on port 25. Send theincominguser a dummy email to test SMTP, by entering the following into the SMTP prompt: ehlo gitlab.example.commail from: root@gitlab.example.comrcpt to: incoming@...
如果测试失败,您将看到一条Connection refused消息,Telnet将自行退出。 如果您在Linode上运行测试并且它失败了,您应该检查您是否在邮件服务器设置中正确配置了端口(请参阅设置指南的Dovecot部分中的步骤33-34 ),您已启用端口465和587(请参阅设置指南的Postfix部分中的步骤26-30 ),并且您没有阻止它们的任何防火墙规则...
Telnet into your IP and port 25 and see if you get a Postfix response. If you get connection rejected, then Postfix isn't running at all, or isn't bound to the correct IP and port. A firewall may block it as well. If you set up dovecot-based authentication in Postfix and Dovecot...
Connection closed by foreign host. Iptables 配置 vim /etc/sysconfig/iptables #添加以下三个端口25,110,143 -A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 110 -j ACCEPT ...