由 Dragonsoar 在 08-09-2004 16:00 发表:
为什么/etc/qmail/pop.sh不能正常启动?
我的/etc/rc.d/init.d/rc.local里有
/etc/qmail/start
我的/etc/qmail/start内容如下 :
csh -cf '/var/qmail/rc &'
/etc/qmail/smtp.sh
/etc/qmail/pop.sh
可是在开机启动时,只有smtp端口正常启动,pop不能启动,
但如果在root登录后,手动输入命令/etc/qmail/pop.sh ,则pop端口就会正常打开,信件收发正常,怪哉怪哉。
我的/etc/qmail/pop.sh内容如下:
tcpserver -c 100 -v -l ××××.×××.com -U -H -R 0 pop3 /var/qmail/bin/qmail-po
pup ××××.×××.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildi
r 2>&1 |
/var/qmail/bin/splogger &
请指教,怎么回事?
由 Snoopy 在 08-09-2004 16:05 发表:
rc呢 ?
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 Dragonsoar 在 08-09-2004 16:36 发表:
这是我的/var/qmail/rc的内容,
#!/bin/sh
Using splogger to send the log through syslog.
Using qmail-local to deliver messages to ~/Mailbox by default.
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail
还有上面那几个文件的权限都是755了。
由 Snoopy 在 08-09-2004 17:11 发表:
你直接/var/qmail/rc
/var/qmail/smtp
/var/qmail/pop3
看看ps进程出来没有
参考文章
http://www.linuxsir.org/bbs/showthr...;threadid=92059
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 Dragonsoar 在 08-09-2004 17:17 发表:
直接做能出来,但就是加到rc.local里不行,甚至我把rc.local写成这样:
/etc/qmail/start
/etc/qmail/pop.sh
还是不行,只能启动smtp, 要想启动pop.sh只好手动输入一遍。
由 Snoopy 在 08-09-2004 17:21 发表:
/etc/rc.d/里的qmail脚本是这样
/var/qmail/rc
/var/qmail/smtp
/var/qmail/pop3
不就行了 ? 如果不行就是你配置还有问题
你详细看下这地址就明白了
http://www.linuxsir.org/bbs/showthr...;threadid=92059
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 Dragonsoar 在 08-09