限制 linux 帳號在 postfix 寄信或收信
限制寄信:
在 /etc/postfix/main.cf 加入 smtpd_sender_restrictions = hash:/etc/postfix/access 讓 access 有作用
在 /etc/postfix/access 加入 user@ REJECT sorry,we don't provide smtp service for you 這樣 user 帳號就不能寄信
最後更新 access.db 指令 postmap /etc/postfix/access 及 重啟 postfix 指令 /etc/rc.d/init.d/postfix restart 就 OK 了
限制收信:
在 /etc/postfix/aliases 加入 user: /dev/null 將 user 的來信丟掉,這樣 user 就收不到信
最後更新 aliases.db 指令 newaliases 及 重啟 postfix 指令 /etc/rc.d/init.d/postfix restart 就 OK 了
迴響
限制 linux 帳號在 postfix 寄信或收信 | 豬窩
Cbd oil that works 2020
Hello! Do you know if they make any plugins to safeguard against hackers?
I'm kinda paranoid about losing everything I've worked hard on. Any
tips? best rated cbd oil http://t.co/4kPhN7Ek0L cbd oil that works
2020 http://t.co/4kPhN7Ek0L
限制 linux 帳號在 postfix 寄信或收信 | 豬窩 | 6
I think this is one of the most vital info for me.
And i am glad reading your article. But want to remark on some general things, The web site style is wonderful, the articles is really nice
: D. Good job, cheers