Empty shell Mail 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0057.gif "alt=" J_0057.gif "/>
1. Meaning of introducing empty shell messages
Mail server directly exposed in the network environment, Security will be greatly reduced, so the introduction of "Shell Server" is to ensure the security of the real server, the function of the shell server is to be subject to the mail Forwarding (bidirectional).
2. Making Empty Shell Mail
Under the premise of configuring DNS:
Empty shell server Configuration (maillinux.linux.com):
Vim/etc/named.rfc1912.zones
cd/var/named/
Cp-p Westos.com.zone Westos.org.zone
Vim Westos.org.zone
Remove the previous mail service configuration, reinstall reinstall the Postfix service, modify the configuration file
Rm-fr/etc/postfix/main.cf
Yum Reinstall postfix-y
Systemctl Restart Postfix.service
Vim/etc/postfix/main.cf
Systemctl Restart Postfix.service
Systemctl Start mariadb
Systemctl Start httpd
Systemctl Stop Firewalld
cd/home/vmail/
RM-FR westos.org/
Vim/etc/postfix/main.cf
Systemctl Restart Postfix.service
3. Test.
Send mail to the Shell Mail server (maillinux.linux.com), and use the Watch-n 1 command on the real server (mailwestos.westos.com) to monitor whether the shell server forwards the message
4. Note
In this experiment, firewalld.service need to be closed.
This article from the "12147236" blog, reproduced please contact the author!
"Linux rookie 2" Shell mail Service