鸿 网 互 联 www.68idc.cn

qmail+vpopmail+sqwebmail的安装步骤(6)

来源:互联网 作者:佚名 时间:2013-04-18 10:00
牛图库(niutuku.com)素材网提供,等设计素材免费下载。
qmail+vpopmail+sqwebmail的安装步骤(6)内容简介:编辑启动档加入以下设定: tcpserver -H -R 0 pop3 \ /var/qmail/bin/qmail-popup mail.mydomain.com \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 在/etc/rc.d/init.d下建立文件qmail,内容如下: ------------------------------------

关键词:

 编辑启动档加入以下设定:

  tcpserver -H -R 0 pop3 \
  /var/qmail/bin/qmail-popup mail.mydomain.com \
  /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &

  在/etc/rc.d/init.d下建立文件qmail,内容如下:
  -------------------------------------------
  #! /bin/sh

  case "$1" in
  start)
  echo -n "start qmail:"

  /var/qmail/rc &
  echo "."

  echo -n "start smtp service:"
  /usr/local/bin/tcpserver -v -x /etc/tcp.smtp.cdb \
  -u UID -g GID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 \
  | /var/qmail/bin/splogger smtpd 3 &
  echo "."

  echo -n "start pop3 service:"
  tcpserver -H -R 0 pop3 \
  /var/qmail/bin/qmail-popup mail.mydomain.com \
  /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
  echo "."
  ;;
  stop)
  echo -n "stop qmail:"
  echo "."
  ;;
  *)
  exit 1
  ;;
  esac

  exit 0

  -----------------------------------------------------
  #cd ../rc3.d
  #ln -s ../init.d/qmail S98qmail

  (注:这里的启动文件没有写全)

网友评论
<