看板FreeBSD
標 題Re: 問一下root mail
發信站Web-based News Server (Tue Aug 31 17:00:05 2004)
轉信站ptt!ctu-reader!ctu-peer!news.nctu!news.netfront.net!not-for-mail
僑中丙子 (
[email protected])
淡江大學 BBS
> 請問一下,在沒有安裝任何spin-mail的情況下,有沒有辦法用基
> 本的sendmail或其他設定,讓root只收的到系統寄給他的mail,
> 而部收到任何外部寄入的mail?
> 但是我希望其他users還是可以繼續正常收送信件說~
--
例如 :
hostname = FreeBSD
domainname = abc.com.tw
系統寄給 root 的信 , 通常地址都是
[email protected] 格式
外部寄給 root 的信 , 通常地址都是
[email protected] 或者
是
[email protected] 格式
如果上面的情形適用於您 :
在 /etc/mail/access 這樣做
localhost RELAY
127.0.0.1 RELAY
[email protected] ERROR:550 Mailbox disabled for this recipient
[email protected] ERROR:550 This recipient does not accept mail
那麼
[email protected] 將會接受
而
[email protected] 與
[email protected] 就被阻擋了 !
---
Posted via news://freenews.netfront.net
Complaints to
[email protected]