Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

限制 linux 帳號在 postfix 寄信或收信

2008-09-27 @ 16:42 in Linux

限制寄信:

在 /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

作者 http://t.co/4kPhN7Ek0L @ 08:35, 2020-06-24

限制 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

作者 harga pipa gas @ 03:21, 2022-07-10
«上一篇   1 2 3 4 5 6 7 8 9 10
發表迴響
 authimage