User Guide
Chapter 6 117
In addition to configuring the above scripts, the following actions are highly
recommended:
• Specify the path to the directory in which the above-listed scripts will be
executed as the value of the HOME variable. The recommended path is
/usr/local/ap-mailfilter3/run.
• Add a list of paths to the main system utilities, including the sendmail
2
utility, as the value of the PATH variable. The default value is
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
• Specify the address to which messages about script execution will be
sent. The address is specified using the MAILTO variable. The default
value is postmaster.
The fragment below is an example of the crontab file that illustrates the above-
described settings:
MAILTO=admin@mycompany.com
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
HOME=/usr/local/ap-mailfilter3/run
7,27,47 * * * * /usr/local/ap-mailfilter3/bin/sfupdates -q
*/5 * * * * /usr/local/ap-mailfilter3/control/bin/sfmonitoring -q
* * * * * /usr/local/ap-mailfilter3/control/bin/dologs.sh -q
*/5 * * * * /usr/local/ap-mailfilter3/control/bin/dograph.sh -q
0 */12 * * * /usr/local/ap-mailfilter3/control/bin/logrotate.sh –q
4-59/11 * * * * /usr/local/ap-mailfilter3/bin/uds-rtts.sh -q
2
Used by the monitoring script.










