廣告

2025 年 11 月
 12
3456789
10111213141516
17181920212223
24252627282930

彙整

限制POSTFIX轉寄到指定網域 與 針對特定使用者阻擋轉寄的網域

1.建立阻檔網域清單 [root@mail ~]# vi /etc/postfix/reject_domains xxx.com.tw reject 存檔

2.建立資料庫 postmap hash:/etc/postfix/reject_domains

3.設定 main.cf [root@mail ~]# vi /etc/postfix/main.cf 加在第一行 smtpd_recipient_restrictions =      check_recipient_access hash:/etc/postfix/reject_domains,permit

4.重啟postfix 設定 […]