Table of Contents
# yum install -y postfix
myhostname = mail.example.com mydomain = example.com myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain #mynetworks = 192.168.0.0/24, 127.0.0.0/8 #relay_domains = home_mailbox = Maildir/
Postfix Install # Centos Init curl -s https://raw.githubusercontent.com/oscm/shell/master/os/centos7.sh | bash curl -s https://raw.githubusercontent.com/oscm/shell/master/os/selinux.sh | bash curl -s https://raw.githubusercontent.com/oscm/shell/master/os/iptables/iptables.sh | bash curl -s https://raw.githubusercontent.com/oscm/shell/master/os/ntpd/ntp.sh | bash curl -s https://raw.githubusercontent.com/oscm/shell/master/os/ssh/sshd_config.sh | bash # Install Postfix curl -s https://raw.githubusercontent.com/oscm/shell/master/mail/postfix/postfix.sh | bash