postfix 設定只能收信不能寄信
首先建立了一個/etc/postfix/reject_user, 填入要封鎖的帳號資料, 建立該db檔.
然後編輯 vi /etc/postfix/main.cf, 並將加入check_sender_access hash:/etc/postfix/reject_user在下面兩項敘述中
#若有其它設定用逗點分隔
smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/reject_user, permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/reject_user
vi /etc/postfix/reject_user
# REJECT 退信 , DISCARD 丟棄
user@test.com.tw REJECT
user2@ DISCARD
#建立map db檔
postmap hash:/etc/postfix/reject_user
重新啟動postfix
/etc/init.d/rd.d/postfix restart
迴響
postfix 設定只能收信不能寄信 | 豬窩
Magnificent beat ! I would like to apprentice while you amend your web site,
how can i subscribe for a weblog website? The account helped me a acceptable deal.
I had been a little bit familiar of this your broadcast offered shiny clear idea
postfix 設定只能收信不能寄信 | 豬窩
I'm really enjoying the design and layout of your blog.
It's a very easy on the eyes which makes it much more enjoyable for me to come
here and visit more often. Did you hire out a designer to create your theme?
Outstanding work!
postfix 設定只能收信不能寄信 | 豬窩
Cbd oil that works 2020
Hey I know this is off topic but I was wondering if you knew of
any widgets I could add to my blog that automatically tweet my
newest twitter updates. I've been looking for a plug-in like this for quite some time and was hoping maybe you would have
some experience with something like this. Please let me know if
you run into anything. I truly enjoy reading your
blog and I look forward to your new updates.
best cbd oil for pain http://tinyurl.com/cbd-oil-that-works-2020 cbd oil that works 2020 http://tinyurl.com/cbd-oil-that-works-2020
postfix 設定只能收信不能寄信 | 豬窩
Hi, I want to subscribe for this website to take latest updates, thus where can i
do it please assist.
postfix 設定只能收信不能寄信 | 豬窩
I simply could not depart your web site prior to suggesting that I extremely loved the standard
info a person supply in your visitors? Is gonna be back ceaselessly to investigate cross-check new posts