The Distribution and documentation is available from http://consult.ml.org/~timb/spamcan or http://ftp.kernel.org/pub/software/admin/spamcan 1) Apply context diff to clean Sendmail 8.8.8 distribution. You might need gnu patch. Eg: tar xzvf sendmail.8.8.8.tar.gz tar xzvf spamcan.tar.gz cd sendmail-8.8.8 patch -p1 < ../spamcan_for_v888_diff.patch 2) Do NOT use gnu rx unless your system is missing some form of regex. I have observed segmentation faults in the rx library on systems with regexec and regcomp in the system's libc. Sorry for previously recommending this on solaris. 3) Tailor spamcan.c to suit your environment. Chose the type of messages you'd like to pass through un-scanned. This is documented in the source code. 4) Copy sample-spamcan.cf to /etc/spamcan.cf and edit to suit. Some expressions may not be appropriate for your site. Be sure to review them. 5) Create /etc/spamcan-exceptins.cf. Optionally put some regular expressions there. Note, this exceptions file does not understand header names. Because of added overhead, I decided this did not add much value. 6) Touch /var/spool/mail/spamcan on linux or /var/mail/spamcan on Solaris. Make it writable by daemon or root on solaris or by mail on linux. 7) Make and install sendmail. -tim