看板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]