【 在 Wafers.bbs@bbs.ee.nthu.edu.tw (回應與挑戰) 的大作中提到: 】
: 請問一下...要怎樣才能關掉一台 linux server 上的 smtp port (25)
: 就是讓別人 telnet host 25 會 refuse...
: 或是將其改 port.... ???
從 /etc/rc.d/rc.M 拿掉 sendmail 的部分
: 我改 /etc/services 卻沒用 , 用 port 25 仍能進來...
當然沒用... 因為 sendmail 不經由 inetd 控制
: 還有...如何關掉 sendmail port 的 expn 和 vrfy 的功能 ?
: 是否要改 source code ?
: 哪兒有參考程式 ?
: 謝謝.
找找 srvrsmtp.c & conf.c
一些指令應該都在裡面..... ^_^
--
████████████████ < 黎明工專 電機工程學科 88 級 >
█╭──★─╭╦═╮──★─╮█ E-Mail:jog@mail.lit.edu.tw
█☆═╦╦╮╠╣ ║╭╦═╮│█ http://www.lit.edu.tw/~jog
█│╮╠╣ ╰╩═╯╠╣╰╦☆█ telnet://bbs.lit.edu.tw (黎崗小築BBS站)
█╰╰╩╯──☆──╰╩═╯╯█ If you don't love me ....
████████████████ I'll jump to the sea
※ 來源:‧黎崗小築資訊站 bbs.lit.edu.tw‧[FROM: dialup-02.lit.e]