Interested in a complete anti-spam solution for your business or personal domain?
Visit MailLaunder today.

XMail scripts

XMail is an Internet mail server featuring an SMTP server, POP3 server and finger server all in one neat package. It is an open source project that can be compiled XMail under Linux, FreeBSD, Solaris and Windows. It can be downloaded from

These scripts were written to supplement the functionality of the XMail server. They are licensed under the GPL for your use.

SpamAssassin Filter v1.3 is an XMail ( filter Perl script that will send incoming email messages to the SpamAssassin ( email filter for spam identification.

This version works only for XMail version 1.16 and later. If you're using XMail version 1.14 or 1.15, use sa_filter 1.2. If you're using XMail version 1.12 and below, use sa_filter 1.1. calls spamc, the SpamAssassin client (spamc calls spamd) and passes the output of spamc back to XMail for delivery. Neither nor spamc will delete emails that are flagged as spam.

This filter has been tested on the Linux platform, but there is no reason it should not run on Windows or other Unix platforms.

Tests against SpamAssassin 2.53 with the report_safe option enabled have not shown any problems with email clients unable to download email.

Written by Don Drake, Drake Consulting. Send questions to