HP-UX Mailing Solutions White Paper
main.cvd is up to date (version: 30, sigs: 31086, f-level: 4, builder: tkojm)
daily.cvd is up to date (version: 845, sigs: 2207, f-level: 4, builder: ccordes)
2. Start the clamd daemon:
a. Edit the entries as follows in the /opt/iexpress/clamav/etc/clamd.conf
configuration file:
#Example
User root
b. Specify the socket name:
LocalSocket /var/run/clamav/clamd.sock
The clamd.sock socket is an example. You can specify any socket name.
c. For TCP connections, uncomment the following entries:
TCPSocket 3310
TCPAddr 127.0.0.1
d. Start the clamd daemon
# clamd
e. Verify whether clamd is running:
# ps -ea | grep clam
3. Launch clamav-milter with appropriate command line arguments.
a. Edit the entries in the /opt/iexpress/clamav/etc/clamd.conf configuration
file
# Example
ScanMail
User clamav
b. Run the clamav-milter daemon.
# clamav-milter -leo /var/run/clamav/clmilter.sock ----- (a)
c. Verify whether daemons are running:
# ps -ea | grep clam
Configuring the Sendmail Server with Clam-AV Milter
To configure the Sendmail server with Clam-AV milter, you must create a new sendmail
configuration file with the Clam-AV milter functionality enabled through the HP-UX gen_cf
utility:
NOTE: If you have any site specific customized configuration in your /etc/mail/
sendmail.cf, ensure that the customized changes are not lost. You can backup the existing
Sendmail configuration file (/etc/mail/sendmail.cf) so that you can revert to the original
state incase of any configuration issues.
1. Obtain the backup of the existing Sendmail configuration file:
cp –p /etc/mail/sendmail.cf /etc/mail/sendmail.cf.BACKUP
2. Execute the gen_cf utility:
cd /usr/newconfig/etc/mail/cf/cf
./gen_cf
3. Select 6: Milter: Modify (Add/Remove/List) filters under the ‘3: Anti Spamming Options’
option in the main menu.
4. Select 5: Generate sendmail.cf and press enter to generate the Sendmail configuration file
(sendmail.cf.gen) with the Milter program to be configured.
30