1 2 3 4 5 6 7 |
# tail -f /var/log/maillog web1 postfix/pickup[2170]: 4140624C056E: uid=1002 from=<hogeuser> web1 postfix/cleanup[2836]: 4140624C056E: message-id=<adretrkpxxxdfds@example.com> web1 postfix/qmgr[2171]: 4140624C056E: from=<hogeuser@example.com>, size=807, nrcpt=1 (queue active) web1 postfix/smtp[2838]: connect to example.com[111.xxx.yyy.2]:25: Connection refused web1 postfix/smtp[2838]: 4140624C056E: to=<info@example.com>, relay=none, delay=0.04, delays=0.03/0.01/0/0, dsn=4.4.1, status=deferred (connect to example.com[111.xxx.yyy.2]:25: Connection refused) |
1 2 3 4 5 6 7 8 9 10 11 12 |
# nmap 111.xxx.yyy.2 Starting Nmap 6.40 ( http://nmap.org ) at 2016-12-26 22:23 JST Nmap scan report for mail.example.com (111.xxx.yyy.2) Host is up (0.00041s latency). Not shown: 865 closed ports, 124 filtered ports PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 53/tcp open domain (略) |
25番が開いていない。 Pleskサーバ側作業
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# vi /etc/postfix/master.cf # # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 master"). # # Do not forget to execute "postfix reload" after editing this file. # # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - n - - smtpd ←確認 #smtp inet n - n - 1 postscreen #smtpd pass - - n - - smtpd #dnsblog unix - - n - 0 dnsblog #tlsproxy unix - - n - 0 tlsproxy #submission inet n - n - - smtpd |
[crayon-60047b2bd9c969650452 …