
標題: postfix限制某個郵件帳號只能讓管理者帳號寄 [打印本頁]
	
	作者: danny    時間: 2007-2-15 10:18	     標題: postfix限制某個郵件帳號只能讓管理者帳號寄	
			複製內容到剪貼板
代碼:
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] 這個帳號
| 歡迎光臨 ihao論壇 (https://www.ihao.org/dz5/) | 
Powered by Discuz! 6.0.0 |