複製內容到剪貼板
代碼:
vi /etc/postfix/protected_destinations 加入 你想要只能讓特定人士 寄的 mail address 
ex:
然後 在 /etc/postfix/insiders 
加入
再修改 /etc/postfix/main.cf 
加入
複製內容到剪貼板
代碼:
smtpd_recipient_restrictions =  permit_mynetworks, 
                                check_recipient_access hash:/etc/postfix/protected_destinations 複製內容到剪貼板
代碼:
smtpd_restriction_classes = insiders_only 
insiders_only = check_sender_access hash:/etc/postfix/insiders, reject 這樣 就只有 user1 和 user2 能寄信到 
[email protected] 這個帳號