An Overview of the Finished Product

 < Free Open Study > 



The final installation will have /var/qmail containing the directories with the qmail binaries, documentation, configuration files, control scripts, and queue. Some of these may be symbolic links to other directories or file systems.

The /service directory will contain symbolic links pointing to the control scripts under /var/qmail/supervise. These services will be started by svscan, which is started by init or rc.local when the system boots.

The /service/qmail-send service runs /var/qmail/rc, which runs qmail-start. qmail-start starts qmail-send, the main qmail daemon. The /service/qmail-send/log service uses multilog to timestamp and record the output of qmail-send to the /var/log/qmail directory. The most recent log file will be named current. multilog will automatically rotate the qmail-send log files. The older log files will have names that are TAI64N timestamps. To view the current log file with human-readable timestamps, you'll use the command:

 tai64nlocal </var/log/qmail/current | more 

The /service/qmail-smtpd service runs a tcpserver that listens to the SMTP port (25) and invokes qmail-smtpd. The /service/qmail-smtpd/log service uses multilog to timestamp and record the output of tcpserver (qmail-smtpd generates no output) to the /var/log/qmail/smtpd directory.

The /var/qmail/bin/qmailctl script will be used to control and monitor the qmail services.



 < Free Open Study > 



The Qmail Handbook
The qmail Handbook
ISBN: 1893115402
EAN: 2147483647
Year: 2001
Pages: 186
Authors: Dave Sill

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net