9. Configure Postfix NULL Client

Source: Internet
Author: User

The local mail server configuration acts as the control client, and all messages are forwarded to the central server for sending

1.postconf-e "relayhost=[mail.example.com]" the server to which the message was routed.
2.postconf-e "inet_interfaces=loopback-omly" mail server listens only for messages on loopback streets
3.postconf-e "MYNETWORKS=127.0.0.0/8 [:: 1]/128" NULL client will be sent from MYNETWORKS=127.0.0.0/8 and [:: 1]/128 mail to the relay host
4.postconf-e "myorigin=example.com" Address rewrite
5.postconf-e "mydestination=" is not sent to the local, while the empty client sends all messages to the repeater
6.postconf-e "local_transport=error:local delivery Disabled" Empty client refuses to receive any messages

7.systemctl enable postfix && systemctl restart Postfix
8.mail-s "Test" [email protected]
Test ok!
.

EOT

9. Configure Postfix NULL Client

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.