- 论坛徽章:
- 0
|
天生愚笨,研究了几天,按照各种文档写的都启动不了
不知道为什么前人写的/etc/qmail/start,pop.sh,smtp.sh我就是不行
后来还是看igenus的安装文档的写法,总算pop3,smtp启动了
可是发收信还是不行,等下还要问
编辑pop3和smtp
1. # cd /etc/xinetd.d
2. # vi pop3
pop3内容如下:
#default: off
# description: The POP3 service allows remote users to access their mail \
# using an POP3 client such as Netscape Communicator, mutt, \
# or fetchmail.
service pop3
{
disable =no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /var/qmail/bin/qmail-popup
server_args = gzidc.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
log_type = FILE /var/log/maillog
log_type = FILE /var/log/xinetd.log
log_on_success = HOST
log_on_failure = HOST RECORD
}
3. # vi smtp
smtp内容如下:
# default: off
# description: The POP3 service allows remote users to access their mail \
# using an POP3 client such as Netscape Communicator, mutt, \
# or fetchmail.
service smtp
{
disable =no
socket_type = stream
protocol = tcp
wait = no
user = qmaild
server = /var/qmail/bin/tcp-env
server_args = -R /var/qmail/bin/qmail-smtpd
log_type = FILE /var/log/maillog
env = NODNSCHECK=""
log_on_success = HOST
log_on_failure = HOST RECORD
only_from = 0.0.0.0
}
4. # /etc/rc.d/init.d/xinetd restart (启动pop3 smtp) |
|