免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1753 | 回复: 0
打印 上一主题 下一主题

[Mail] qmail启动脚本写法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-04-08 13:37 |只看该作者 |倒序浏览
天生愚笨,研究了几天,按照各种文档写的都启动不了
不知道为什么前人写的/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)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP