1, Configure smtp service, reject the mail from remote.test install postfix, installed before. copy from access, cd /etc/postfix/ vim access copy following lines, # /etc/postfix/main.cf: # smtpd_client_restrictions = # check_client_access hash: /etc/postfix/access copy to /etc/postfix/main.cf, and switch on, /etc/postfix/main.cf: smtpd_client_restrictions = check_client_access hash: /etc/postfix/access modify the access document, add one line, 192.168.0.254 REJECT 2, Configure […]