知乎專欄 | 多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者” |
目錄
# 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