> This log snippet is postfix trying to send mail. Did you mean to explain > that this > is your own host trying to send to itself? Some routers don't allow loopback > connections, so you can't always connect to your own external IP. I'm sending from external Outlook/Exchange to my SMTP postfix.
> Anything logged by postfix/smtpd ? Someone in dovecot list asked me to turn off verbose. I've just enabled verbose in master.cf & restarted postfix & I've got more logs this time: seems related to some recipient...canonical...map issue (see below ******) My postfix server responds on Tcp 25: Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 hostname.myportaltech.com ESMTP POSTFIX >Can you telnet to port 25 from some external host? Yes, from any public Internet, if I issue "telnet public_IP_of_my_postfix_server 25" it gave the same output as the above "telnet localhost 25" ************** maillog when I send from external to myportaltech.com *************** Feb 22 14:04:37 hostname postfix/smtpd[14334]: generic_checks: name=check_client_access status=1 Feb 22 14:04:37 hostname postfix/smtpd[14334]: >>> CHECKING RECIPIENT MAPS <<< Feb 22 14:04:37 hostname postfix/smtpd[14334]: ctable_locate: leave existing entry key r...@myportaltech.com Feb 22 14:04:37 hostname postfix/smtpd[14334]: maps_find: recipient_canonical_maps: r...@myportaltech.com: not found Feb 22 14:04:37 hostname postfix/smtpd[14334]: maps_find: recipient_canonical_maps: root: not found Feb 22 14:04:37 hostname postfix/smtpd[14334]: maps_find: recipient_canonical_maps: @myportaltech.com: not found Feb 22 14:04:37 hostname postfix/smtpd[14334]: mail_addr_find: r...@myportaltech.com -> (not found) Feb 22 14:04:37 hostname postfix/smtpd[14334]: maps_find: canonical_maps: r...@myportaltech.com: not found Feb 22 14:04:37 hostname postfix/smtpd[14334]: maps_find: canonical_maps: root: not found Feb 22 14:04:37 hostname postfix/smtpd[14334]: maps_find: canonical_maps: @myportaltech.com: not found Feb 22 14:04:37 hostname postfix/smtpd[14334]: mail_addr_find: r...@myportaltech.com -> (not found) Feb 22 14:04:37 hostname postfix/smtpd[14334]: maps_find: virtual_alias_maps: r...@myportaltech.com: not found Feb 22 14:04:37 hostname postfix/smtpd[14334]: maps_find: virtual_alias_maps: root: not found Feb 22 14:04:37 hostname postfix/smtpd[14334]: maps_find: virtual_alias_maps: @myportaltech.com: not found Feb 22 14:04:37 hostname postfix/smtpd[14334]: mail_addr_find: r...@myportaltech.com -> (not found) Feb 22 14:04:37 hostname postfix/smtpd[14334]: > gate1.mds.com.sg[203.126.130.157]: 250 2.1.5 Ok Feb 22 14:04:37 hostname postfix/smtpd[14334]: watchdog_pat: 0x80b2f60 Feb 22 14:04:37 hostname postfix/smtpd[14334]: < gate1.mds.com.sg[203.126.130.157]: DATA Feb 22 14:04:37 hostname postfix/smtpd[14334]: > gate1.mds.com.sg[203.126.130.157]: 354 End data with <CR><LF>.<CR><LF> Feb 22 14:04:37 hostname postfix/cleanup[14337]: 97DF620004C: message-id=<b4d798bd8ba6a140b26ef75c1012558d176...@sgmbx02.mds.corp.int-ads> Feb 22 14:04:37 hostname postfix/qmgr[14323]: 97DF620004C: from=<prvs=027c18fce=recipient...@mds.com.sg>, size=1904, nrcpt=2 (queue active) Feb 22 14:04:37 hostname postfix/smtpd[14334]: public/cleanup socket: wanted attribute: status Feb 22 14:04:37 hostname postfix/smtpd[14334]: input attribute name: status Feb 22 14:04:37 hostname postfix/smtpd[14334]: input attribute value: 0 Feb 22 14:04:37 hostname postfix/smtpd[14334]: public/cleanup socket: wanted attribute: reason Feb 22 14:04:37 hostname postfix/smtpd[14334]: input attribute name: reason Feb 22 14:04:37 hostname postfix/smtpd[14334]: input attribute value: (end) Feb 22 14:04:37 hostname postfix/smtpd[14334]: public/cleanup socket: wanted attribute: (list terminator) Feb 22 14:04:37 hostname postfix/smtpd[14334]: input attribute name: (end) Feb 22 14:04:37 hostname postfix/smtpd[14334]: > gate1.mds.com.sg[203.126.130.157]: 250 2.0.0 Ok: queued as 97DF620004C Feb 22 14:04:37 hostname postfix/smtpd[14334]: watchdog_pat: 0x80b2f60 Feb 22 14:04:42 hostname postfix/smtpd[14334]: < gate1.mds.com.sg[203.126.130.157]: QUIT Feb 22 14:04:42 hostname postfix/smtpd[14334]: > gate1.mds.com.sg[203.126.130.157]: 221 2.0.0 Bye Feb 22 14:04:42 hostname postfix/smtpd[14334]: match_hostname: gate1.mds.com.sg ~? 172.18.20.0/24 Feb 22 14:04:42 hostname postfix/smtpd[14334]: match_hostaddr: 203.126.130.157 ~? 172.18.20.0/24 Feb 22 14:04:42 hostname postfix/smtpd[14334]: match_hostname: gate1.mds.com.sg ~? 127.0.0.0/8 Feb 22 14:04:42 hostname postfix/smtpd[14334]: match_hostaddr: 203.126.130.157 ~? 127.0.0.0/8 Feb 22 14:04:42 hostname postfix/smtpd[14334]: match_hostname: gate1.mds.com.sg ~? 202.6.163.0/24 Feb 22 14:04:42 hostname postfix/smtpd[14334]: match_hostaddr: 203.126.130.157 ~? 202.6.163.0/24 Feb 22 14:04:42 hostname postfix/smtpd[14334]: match_list_match: gate1.mds.com.sg: no match Feb 22 14:04:42 hostname postfix/smtpd[14334]: match_list_match: 203.126.130.157: no match Feb 22 14:04:42 hostname postfix/smtpd[14334]: send attr request = disconnect Feb 22 14:04:42 hostname postfix/smtpd[14334]: send attr ident = smtp:203.126.130.157 Feb 22 14:04:42 hostname postfix/smtpd[14334]: private/anvil: wanted attribute: status Feb 22 14:04:42 hostname postfix/smtpd[14334]: input attribute name: status Feb 22 14:04:42 hostname postfix/smtpd[14334]: input attribute value: 0 Feb 22 14:04:42 hostname postfix/smtpd[14334]: private/anvil: wanted attribute: (list terminator) Feb 22 14:04:42 hostname postfix/smtpd[14334]: input attribute name: (end) Feb 22 14:04:42 hostname postfix/smtpd[14334]: disconnect from gate1.mds.com.sg[203.126.130.157] Feb 22 14:04:42 hostname postfix/smtpd[14334]: master_notify: status 1 Feb 22 14:04:42 hostname postfix/smtpd[14334]: connection closed Feb 22 14:04:42 hostname postfix/smtpd[14334]: rewrite stream disconnect Feb 22 14:05:07 hostname postfix/smtp[14338]: connect to smtp.myportaltech.com[202.6.163.31]:25: Connection timed out Feb 22 14:05:07 hostname postfix/smtp[14338]: 97DF620004C: to=<recipient...@myportaltech.com>, relay=none, delay=30, delays=0.13/0.01/30/0, dsn=4.4.1, status=deferred (connect to smtp.myportaltech.com[202.6.163.31]:25: Connection timed out) Feb 22 14:05:07 hostname postfix/smtp[14338]: 97DF620004C: to=<r...@myportaltech.com>, relay=none, delay=30, delays=0.13/0.01/30/0, dsn=4.4.1, status=deferred (connect to smtp.myportaltech.com[202.6.163.31]:25: Connection timed out)