"Linux rookie 2" Shell mail Service

Source: Internet
Author: User


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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.