HP-UX Mailing Solutions White Paper
5. Send a test mail with subject as test to the superuser:
#echo “ Testing Procmail” | mailx –s “test” root
6. The folder folder-name now contains the msg.50B message.
# ls <folder-name>
msg.50B
# cat msg.50B
SpamAssassin Support
SpamAssassin is an extensible and intelligent email filter, which uses a diverse range of tests to
identify unsolicited bulk email, commonly known as "spam". These tests are applied to email
headers and content to classify email using advanced statistical methods. SpamAssassin is
modular and can be setup in a client-server mode. The SpamAssassin server or daemon is spamd
and the client is spamc.
Currently, SpamAssassin cannot be integrated with Sendmail. You can use other milters to
interface between SpamAssassin and Sendmail, the most popular being Procmail.
A simple setup of SpamAssassin on a system pre-configured with Procmail and Sendmail is as
given below.
Configuring SpamAssassin with Sendmail on an HP-UX System
This section discusses the prerequisites and procedure to configure SpamAssassin with Sendmail
on an HP-UX system.
Prerequisites
Following are the prerequisites for configuring SpamAssasin with Sendmail:
• The Sendmail 8.13.3 software
NOTE: Sendmail 8.13.3 is available in the core HP-UX 11i v3 operating system.
• The Procmail software
NOTE: You can download the latest version of Procmail (A.11.00-3.22.002) from the HP-UX
Internet Express suite:
http://www.software.hp.com.
• The SpamAssasin software
NOTE: You can download the latest version of SpamAssasin (A.11.00-3.2.4.002) from the
HP-UX Internet Express suite:
http://www.software.hp.com.
Configuring SpamAssassin on an HP-UX system
Follow this procedure to configure SpamAssassin on an HP-UX system:
1. Start the SpamAssassin daemon (spamd):
# /usr/bin/spamd -d -c -s /tmp/mail.log
where:
-d Daemonizes the command.
-c Creates user preferences.
-s Logs the location.
36