HP-UX Mailing Solutions White Paper

Configuring Sendmail with Clam-AV Milter
This section discusses the prerequisites and procedure to configure Sendmail with Clam-AV
milter on an HP-UX system.
Prerequisites
Following are the prerequisites for configuring the Clam-AV milter:
The Sendmail 8.13.3 software
NOTE: Sendmail 8.13.3 is available in the core HP-UX 11i v3 operating system.
The Clam-AV software
NOTE: You can install the latest Clam-AV software from the HP-UX Internet Express suite
at:
http://www.software.hp.com
Configuring Clam-AV Milter Support on an HP-UX system
Follow this procedure to configure Clam-AV milter support on an HP-UX system:
1. Update the virus database using the freshclam binary:
NOTE: This step is optional. A default database is provided with the Clam-AV software
at /opt/iexpress/clamav/share/clamav/*.cvd, which you can optionally update
to the latest database from the Internet.
a. Edit the following entries in /opt/iexpress/clamav/etc/fresclam.conf
configuration file:
#Example
UpdateLogFile /var/log/freshclam.log
DatabaseMirror db.in.clamav.net in specify country code
b. You must specify the HTTP proxy server if the HP-UX system is within a restricted
LAN:
HTTPProxyServer <proxy.domain.com>
HTTPProxyPort <8080>
For example:
HTTPProxyServer proxy.jpn.hp.com
c. Run the freshclam binary
# freshclam
The following output is displayed:
ClamAV update process started at Thu Apr 21 14:37:58 2005
SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
See the FAQ at http://www.clamav.net/faq.html for an explanation.
Downloading main.cvd [*]
main.cvd updated (version: 30, sigs: 31086, f-level: 4, builder: tkojm)
Downloading daily.cvd [*]
daily.cvd updated (version: 845, sigs: 2207, f-level: 4, builder: ccordes)
Database updated (33293 signatures) from database.clamav.net (IP: 213.219.245.4)
d. Display the log file:
# cat freshclam.log
--------------------------------------
ClamAV update process started at Thu Apr 21 14:59:56 2005
SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
See the FAQ at http://www.clamav.net/faq.html for an explanation.
Anti-Spam and Anti-Virus Solutions in HP-UX Sendmail 29