Re: 問一下root mail

看板FreeBSD作者時間21年前 (2004/08/31 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
僑中丙子 (mikehu.bbs@bbs.tku.edu.tw) 淡江大學 BBS > 請問一下,在沒有安裝任何spin-mail的情況下,有沒有辦法用基 > 本的sendmail或其他設定,讓root只收的到系統寄給他的mail, > 而部收到任何外部寄入的mail? > 但是我希望其他users還是可以繼續正常收送信件說~ -- 例如 : hostname = FreeBSD domainname = abc.com.tw 系統寄給 root 的信 , 通常地址都是 root@FreeBSD.abc.com.tw 格式 外部寄給 root 的信 , 通常地址都是 root@abc.com.tw 或者 是 root@mail.abc.com.tw 格式 如果上面的情形適用於您 : 在 /etc/mail/access 這樣做 localhost RELAY 127.0.0.1 RELAY root@abc.com.tw ERROR:550 Mailbox disabled for this recipient root@mail.abc.com.tw ERROR:550 This recipient does not accept mail 那麼 root@FreeBSD.abc.com.tw 將會接受 而 root@abc.com.tw 與 root@mail.abc.com.tw 就被阻擋了 ! --- Posted via news://freenews.netfront.net Complaints to news@netfront.net
文章代碼(AID): #11D4MK00 (FreeBSD)
文章代碼(AID): #11D4MK00 (FreeBSD)