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 寄信或收信 | 豬窩

Awesome blog! Do you have any tips for aspiring writers? I'm planning
to start my own site soon but I'm a little lost on everything.
Would you propose starting with a free platform like Wordpress or go for a paid option? There are so
many choices out there that I'm totally overwhelmed ..
Any ideas? Many thanks!

作者 g first @ 06:57, 2020-06-20

限制 linux 帳號在 postfix 寄信或收信 | 豬窩

What i do not understood is in fact how you are no longer really much
more neatly-liked than you might be now. You are so intelligent.
You realize thus considerably in terms of this topic, produced me in my view imagine it from numerous numerous angles.

Its like women and men don't seem to be fascinated unless it's one
thing to accomplish with Woman gaga! Your individual stuffs excellent.
All the time handle it up!

作者 their g @ 00:29, 2020-06-22

限制 linux 帳號在 postfix 寄信或收信 | 豬窩

Hmm it looks like your site ate my first comment (it was super
long) so I guess I'll just sum it up what I submitted and
say, I'm thoroughly enjoying your blog. I too am an aspiring blog writer but I'm still new to everything.
Do you have any points for novice blog writers? I'd really appreciate it.

作者 g https://tinyurl.com/rsacwgxy @ 04:51, 2020-06-22

限制 linux 帳號在 postfix 寄信或收信 | 豬窩

Every weekend i used to visit this website, because i wish for enjoyment,
since this this web page conations really pleasant funny stuff too.

作者 g https://tinyurl.com/rsacwgxy @ 18:23, 2020-06-22

限制 linux 帳號在 postfix 寄信或收信 | 豬窩

Hi there are using Wordpress for your site platform?
I'm new to the blog world but I'm trying to get started and set up my own. Do you require any html coding expertise to make your own blog?
Any help would be greatly appreciated!

作者 g https://tinyurl.com/rsacwgxy @ 16:21, 2020-06-23
發表迴響
 authimage