瀏覽代碼

Update emailwiz.sh

Deleting all settings starting with o seems rather arbitrary, but I don't know the default configuration on Vultr, so could be warranted :) But I'll be bold and guess the `sed` command and the following lines are supposed to be related?
pull/3/head
Jakob 5 年之前
committed by GitHub
父節點
當前提交
7095c1f605
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      emailwiz.sh

+ 1
- 1
emailwiz.sh 查看文件

@@ -55,7 +55,7 @@ postconf -e "home_mailbox = Mail/Inbox/"

echo "Configuring Postfix's master.cf..."

sed -i "/^\s*o/d;/^\s*submission/d;/^\s*smtp/d" /etc/postfix/master.cf
sed -i "/^\s*-o/d;/^\s*submission/d;/^\s*smtp/d" /etc/postfix/master.cf

echo "smtp unix - - n - - smtp
smtp inet n - y - - smtpd


Loading…
取消
儲存