HP-UX Mailing Solutions White Paper
NOTE: If you are conversant with the macros in the sendmail.cf file, you can manually
edit the /etc/mail/sendmail.cf file to enable the milter functionality.
9. Restart the Sendmail daemons:
# /sbin/init.d/sendmail stop
# /sbin/init.d/sendmail start
Verifying the Sendmail Configuration
Complete the following checks to verify the Sendmail milter configuration:
• Ensure that the output of the mtail command does not contain any errors or warnings.
• Send a test mail and verify if the mail is delivered.
• Ensure that your filter program is running on the system:
#ps -ef | grep milter_prog
root 6480 5573 1 11:03:37 pts/1 0:00 grep milter
root 6476 1099 0 11:03:30 pts/0 0:00 ./milter_prog -p /var/run/f1.sock
• The milter program can fail if the socket already exists. Therefore, remove the socket (if it
exists) before starting the milter program.
• If you have configured milter properly, milter will be mentioned in some Sendmail log
entries.
Clam-AV Milter Support
Clam AntiVirus is an anti-virus toolkit for HP-UX. The main purpose of this software is the
integration with mail servers (attachment scanning).
The required daemons from the Clam-AV package are as follows:
• A flexible and scalable multi-threaded daemon (clamd)
• A milter program for use with Sendmail (clamav-milter)
• A tool for automatic updating through the Internet (clamav-freshclam)
Figure 22 illustrates the daemons involved in Clam-AV support (Sendmail, clamav-milter,
and clamd), the connecting socket files /var/run/clamav-milter.sock and /var/run/
clamav.sock between the daemons, along with the configuration files for the daemons and
log paths to syslogd. You must start the clamd daemon before the clamav-milter program
and finally start Sendmail, because clamd and clamav-milter create the socket files used for
communication.
Figure 22 Daemons for ClamAV Support
28