1

Topic: Postfix/smtp: Connection refused

Hi everyone.
I'm install iReadmail 0.9.5-1 on CentOS 6.7.
Affter i am installed. i am do not modify file config of dovecot, postfix or anything.
I try send mail to other mail server. But can't send success.
Log og postfix like below:
------------------
[root@mail ~]# tail -f /var/log/maillog
Sep  1 04:51:45 mail postfix/qmgr[4015]: CFF2A1C0F99: from=<postmaster@abc.com>, size=1647, nrcpt=1 (queue active)
Sep  1 04:51:45 mail amavis[4315]: (04315-01) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:55004  -> , Message-ID: , mail_id: U4mE6SOT64rE, Hits: -2.501, size: 558, queued_as: CFF2A1C0F99, dkim_new=dkim:abc.com, 870 ms, Tests: [ALL_TRUSTED=-1,RP_MATCHES_RCVD=-1.501]
Sep  1 04:51:45 mail postfix/smtp[58091]: E01571C0F98: to=<davidtang@gmail.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=1.2, delays=0.22/0.01/0.01/0.93, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as CFF2A1C0F99)
Sep  1 04:51:45 mail postfix/qmgr[4015]: E01571C0F98: removed
Sep  1 04:51:46 mail postfix/smtp[58100]: connect to gmail-smtp-in.l.google.com[74.125.23.26]:25: Connection refused
Sep  1 04:51:46 mail postfix/smtp[58100]: connect to alt1.gmail-smtp-in.l.google.com[74.125.25.26]:25: Connection refused
Sep  1 04:51:46 mail postfix/smtp[58100]: connect to alt2.gmail-smtp-in.l.google.com[74.125.198.26]:25: Connection refused
Sep  1 04:51:46 mail postfix/smtp[58100]: connect to alt3.gmail-smtp-in.l.google.com[173.194.219.26]:25: Connection refused
Sep  1 04:51:46 mail postfix/smtp[58100]: connect to alt4.gmail-smtp-in.l.google.com[74.125.192.26]:25: Connection refused
Sep  1 04:51:46 mail postfix/smtp[58100]: CFF2A1C0F99: to=<davidtang@gmail.com>, relay=none, delay=0.47, delays=0.06/0.01/0.39/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.192.26]:25: Connection refused)
---------------------
What wrong with me ?
Help me please
Thank so much

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Postfix/smtp: Connection refused

Seems your ISP or network firewall/router blocked outgoing SMTP service (port 25)?

3 (edited by langthangdaydo 2016-09-01 16:15:08)

Re: Postfix/smtp: Connection refused

ZhangHuangbin wrote:

Seems your ISP or network firewall/router blocked outgoing SMTP service (port 25)?

Yes. My FW blocked outgoing SMTP service.

I have new problem want ask you:
When i send email to gmail. My email do not encryption. It show in below image
http://imageshack.com/a/img924/1865/CdzmbY.jpg

And this is my log when i'm sending email:
-----
Sep  1 15:04:43 mail postfix/submission/smtpd[2622]: connect from mail.ngoctang.com[127.0.0.1]
Sep  1 15:04:43 mail postfix/submission/smtpd[2622]: setting up TLS connection from mail.ngoctang.com[127.0.0.1]
Sep  1 15:04:43 mail postfix/submission/smtpd[2622]: Anonymous TLS connection established from mail.ngoctang.com[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Sep  1 15:04:43 mail postfix/submission/smtpd[2622]: 91C3C1C0F35: client=mail.ngoctang.com[127.0.0.1], sasl_method=LOGIN, sasl_username=ngoc.tang@ngoctang.com
Sep  1 15:04:43 mail postfix/cleanup[2638]: 91C3C1C0F35: message-id=<33029297c41bc7f805cf7deaa9ce0070@ngoctang.com>
Sep  1 15:04:43 mail postfix/qmgr[2159]: 91C3C1C0F35: from=<ngoc.tang@ngoctang.com>, size=665, nrcpt=1 (queue active)
Sep  1 15:04:43 mail roundcube: <e41svo54> User ngoc.tang@ngoctang.com [172.16.0.8]; Message for vanngoctang@gmail.com; 250: 2.0.0 Ok: queued as 91C3C1C0F35
Sep  1 15:04:44 mail postfix/submission/smtpd[2622]: disconnect from mail.ngoctang.com[127.0.0.1]
Sep  1 15:04:45 mail postfix/smtpd[2657]: connect from mail.ngoctang.com[127.0.0.1]
Sep  1 15:04:45 mail postfix/smtpd[2657]: 57AEB1C0F4A: client=mail.ngoctang.com[127.0.0.1]
Sep  1 15:04:45 mail postfix/cleanup[2638]: 57AEB1C0F4A: message-id=<33029297c41bc7f805cf7deaa9ce0070@ngoctang.com>
Sep  1 15:04:45 mail postfix/qmgr[2159]: 57AEB1C0F4A: from=<ngoc.tang@ngoctang.com>, size=1771, nrcpt=1 (queue active)
Sep  1 15:04:45 mail postfix/smtpd[2657]: disconnect from mail.ngoctang.com[127.0.0.1]
Sep  1 15:04:45 mail amavis[2213]: (02213-01) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:58832  -> , Message-ID: , mail_id: ZyPOT1x_r1na, Hits: -1.01, size: 665, queued_as: 57AEB1C0F4A, dkim_new=dkim:ngoctang.com, 1578 ms, Tests: [ALL_TRUSTED=-1,T_RP_MATCHES_RCVD=-0.01]
Sep  1 15:04:45 mail postfix/smtp[2643]: 91C3C1C0F35: to=<vanngoctang@gmail.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=2.2, delays=0.42/0.07/0.03/1.7, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 57AEB1C0F4A)
Sep  1 15:04:45 mail postfix/qmgr[2159]: 91C3C1C0F35: removed
Sep  1 15:04:46 mail postfix/smtp[2658]: connect to gmail-smtp-in.l.google.com[2404:6800:4008:c01::1b]:25: Network is unreachable
Sep  1 15:04:46 mail postfix/smtp[2658]: 57AEB1C0F4A: enabling PIX workarounds: disable_esmtp delay_dotcrlf for gmail-smtp-in.l.google.com[173.194.72.26]:25
Sep  1 15:04:47 mail postfix/smtp[2658]: 57AEB1C0F4A: to=<vanngoctang@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.72.26]:25, delay=2.1, delays=0.05/0.04/1.2/0.9, dsn=2.0.0, status=sent (250 2.0.0 OK 1472717072 wn3si4423256pab.33 - gsmtp)
Sep  1 15:04:47 mail postfix/qmgr[2159]: 57AEB1C0F4A: removed

-----

How can i do to encryption email, everytime when send new mail ??
Thanks for this help