Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5352215
  • 博文数量: 1144
  • 博客积分: 11974
  • 博客等级: 上将
  • 技术积分: 12312
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-13 20:06
文章存档

2017年(2)

2016年(14)

2015年(10)

2014年(28)

2013年(23)

2012年(29)

2011年(53)

2010年(86)

2009年(83)

2008年(43)

2007年(153)

2006年(575)

2005年(45)

分类:

2006-02-10 09:53:16

qmail is one package from the suite of softwares from the DJB people (). All their server processes are controlled though the "daemontools" utilities. The "supervise" program makes sure that all the server programs under its control are always up and running. If a server dies for some reason, supervise gets it up in 5 seconds. The supervise program is started through the /etc/inittab file.

The server programs controlled by supervise have links in the /service directory. It has two links "qmail" and "qmail-smtpd". The qmail package is installed under /var/qmail.

Here are some commonly needed control commands:

  • To stop qmail: svc -d /service/qmail*
  • To start qmail: svc -u /service/qmail*
  • To restart qmail: svc -t /service/qmail*
  • To check qmail status: svstat /service/qmail*

The logs are kept under /service/qmail/log/main/. The file named "current" has the active mail log.

阅读(782) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~