Re: 請教mail server設定
※ 引述《Quota.bbs@bbs.mcu.edu.tw (阿扁說要建立乾淨網路..)》之銘言:
> 我的/etc/rc.conf內容如下:
> root[/root]lib# cat /etc/rc.conf
> # -- sysinstall generated deltas -- # Fri Aug 30 13:47:40 2002
> # Created: Fri Aug 30 13:47:40 2002
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="192.168.1.1"
> ifconfig_fxp0="inet 192.168.1.24 netmask 255.255.255.0"
> kern_securelevel_enable="NO"
> nfs_reserved_port_only="YES"
> sendmail_enable="YES"
> sshd_enable="YES"
> usbd_enable="YES"
> 而我也在 /etc/mail內進行了 make start
> root[/etc]lib# cd /etc/mail
> root[/etc/mail]lib# make start
> Starting: sendmail sendmail-clientmqueue.
> 也檢查過netstat
> root[/etc/mail]lib# netstat -a | grep smtp
> tcp4 0 0 *.smtp *.* LISTEN
> 可是當我在測試的時候 卻會出現問題
> root[/etc/mail]lib# telnet 192.168.1.24:110
> 192.168.1.24:110: No address associated with hostname
> root[/etc/mail]lib# telnet localhost 110
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection refused
> Trying 192.168.1.24...
> telnet: connect to address 192.168.1.24: Connection refused
> telnet: Unable to connect to remote host
> 請教一下 我該如何啟動mail server呢? 我的OS是freebsd 4.6
> 因為我的php需要mail server寄信 謝謝
這位仁兄,也許你需要的是pop3d,而不是mail server,
mail server bind的是port 25,port 110應該是pop3 server
的port。
如果要測mail server的話,試試telnet localhost 25
--
● ˙ ˙ ◢▇◣ ◢▇◣ ▇ ▇ █▇◣ █▇◣ █▇◣ ◢▇◣ █▇▉ /
˙ ╲ █ █ █ █ █ ▉ █ ▉ █▆ █▆▉ ▉▉▉ ★
◢ ★˙ ◥█◤ ◥█◤ ◥█◤ ██◤ █◥▆ █▆◤ █ ▉ ▉▉▉˙ ◣
CDBBS 中正築夢園BBS站 歡迎蒞臨參觀 cd.twbbs.org (140.123.20.230)
*Modified: wrj At: 2004/11/23 Tue 16:39:25 ★ From: 140.116.35.189
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章