# 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
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。