kentchan4 wrote:Hi Zhang,
I have reinstall iredmail and everything go fine now!
however, I encounter email cannot send to gmail and mac.com... here is the postfix log, appreciate if you can give me hints to troubleshoot.
I tried mail tester and it seem time out. I used mxtoolbox scanned my domain and found port 25 is open.
I have checked main.cf, refer to other's experience, I add local.$myhostname at the end and it is like this:
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
I won't do other change at all.
May 4 04:18:54 cloud amavis[1867]: (01867-02) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:48382 <postmaster@xxxx.net> -> <web-bz6ix@mail-tester.com>, Queue-ID: E86792A2DAA, Message-ID: <cb72d5b703056a28f432b501ccc87fc8@xxxx.net>, mail_id: dFIgR4ozKFHH, Hits: -, size: 555, queued_as: 194F12A2DB5, dkim_new=dkim:koalatree.net, 113 ms
May 4 04:18:54 cloud postfix/amavis/smtp[7148]: E86792A2DAA: to=<web-bz6ix@mail-tester.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.2, delays=0.07/0/0/0.13, 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 194F12A2DB5)
May 4 04:18:54 cloud postfix/qmgr[4973]: E86792A2DAA: removed
May 4 04:19:25 cloud postfix/smtp[7153]: connect to mail-tester.com[94.23.206.89]:25: Connection timed out
May 4 04:19:25 cloud postfix/smtp[7153]: 194F12A2DB5: to=<web-bz6ix@mail-tester.com>, relay=none, delay=31, delays=0.01/0.01/31/0, dsn=4.4.1, status=deferred (connect to mail-tester.com[94.23.206.89]:25: Connection timed out)
Thank you very much!
My /var/log/mail.log
Jun 4 00:19:00 mail postfix/qmgr[8684]: 5EBEEB8411A0: from=<postmaster@ngawikab.go.id>, size=2451, nrcpt=1 (queue active)
Jun 4 00:19:00 mail postfix/10025/smtpd[22327]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 4 00:19:00 mail postfix/qmgr[8684]: 6297FB8411A1: from=<postmaster@ngawikab.go.id>, size=2218, nrcpt=1 (queue active)
Jun 4 00:19:00 mail amavis[3155]: (03155-01) Passed CLEAN {RelayedInternal}, MYNETS LOCAL [127.0.0.1]:54488 <postmaster@ngawikab.go.id> -> <avidianto@gmail.com>, Queue-ID: 86C20B8417C2, Message-ID: <b090c1fe740c585ae8ca69f46bbbab55@ngawikab.go.id>, mail_id: UZ6J_ajM6pE0, Hits: -1.1, size: 1785, queued_as: 6297FB8411A1, dkim_sd=dkim:ngawikab.go.id, 499 ms, Tests: [ALL_TRUSTED=-1,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1]
Jun 4 00:19:00 mail amavis[3160]: (03160-01) Passed CLEAN {RelayedInternal}, MYNETS LOCAL [127.0.0.1]:52838 <postmaster@ngawikab.go.id> -> <avidianto@gmail.com>, Queue-ID: 98FC5B8417D6, Message-ID: <0ad8b5e1ff70c064ac46e73809d4e6bf@ngawikab.go.id>, mail_id: q7nOwEyqLWnR, Hits: -1.1, size: 2018, queued_as: 5EBEEB8411A0, dkim_sd=dkim:ngawikab.go.id, 488 ms, Tests: [ALL_TRUSTED=-1,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1]
Jun 4 00:19:00 mail postfix/amavis/smtp[22317]: D4458B840FDB: to=<avidianto@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=49685, delays=49684/0.01/0.01/0.52, 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 6297FB8411A1)
Jun 4 00:19:00 mail postfix/amavis/smtp[22318]: DC513B841192: to=<avidianto@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=8539, delays=8538/0.01/0.01/0.51, 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 5EBEEB8411A0)
Jun 4 00:19:00 mail postfix/qmgr[8684]: D4458B840FDB: removed
Jun 4 00:19:00 mail postfix/qmgr[8684]: DC513B841192: removed
Jun 4 00:19:00 mail postfix/smtp[22335]: connect to gmail-smtp-in.l.google.com[2404:6800:4003:c03::1b]:25: Network is unreachable
Jun 4 00:19:00 mail postfix/smtp[22336]: connect to gmail-smtp-in.l.google.com[2404:6800:4003:c03::1a]:25: Network is unreachable
Jun 4 00:19:30 mail postfix/smtp[22336]: connect to gmail-smtp-in.l.google.com[74.125.68.27]:25: Connection timed out
Jun 4 00:19:30 mail postfix/smtp[22335]: connect to gmail-smtp-in.l.google.com[74.125.24.26]:25: Connection timed out
in the same case, i can't send mail too. such as twitter, gmail, and yahoo.
ZhangHuangbin wrote:kentchan4 wrote:May 4 04:19:25 cloud postfix/smtp[7153]: 194F12A2DB5: to=<web-bz6ix@mail-tester.com>, relay=none, delay=31, delays=0.01/0.01/31/0, dsn=4.4.1, status=deferred (connect to mail-tester.com[94.23.206.89]:25: Connection timed out)
Does your ISP block port 25?
even though, my ISP has been allowed port 25. can you help us to complete this problem ? thank you.