spamtrainer for Mac OS X 10.4-10.7

spamtrainer assists Mac OS X Server mail services administrators in updating and maintaining their SpamAssassin bayes database.

spamtrainer will read the designated HAM and SPAM mailboxes, update the SpamAssassin databases and delete mail that has been learned from.
It has an array of additional functions. Among them the possibility to backup/restore your bayes database and many more.
This script is written for Mac OS X 10.4.x, 10.5.x, 10.6.x, and 10.7.x, but it will work on Mac OS X 10.3.x with SpamAssassin as well. A separate release is available for later OS X versions.

See current changelog for a complete list of fixes and additions.
Please read our FAQs as well.

spamtrainer is a free download.


Why do mails I send using Outlook get blocked by my own OS X 10.6.x Snow Leopard Server?

Snow Leopard Server implements several anti-spam measures in its default Postfix configuration. Unfortunately there are a few glitches, which may prevent your own Outlook clients from sending mail.

Among the different parameters, there is one which explicitely verifies that the sending mail client does have a fully qualified hostname. The reason being that much spam is sent from poorly configured mail servers or compromised clients.

Outlook does unfortunately not identify itself correctly and thus gets blocked by Postfix.

To get around this, you first will need to make sure that you authenticate to send and then make a change in the Postfix configuration.



and change:

smtpd_helo_restrictions = reject_invalid_helo_hostname reject_non_fqdn_helo_hostname


smtpd_helo_restrictions = permit_sasl_authenticated permit_mynetworks reject_invalid_helo_hostname reject_non_fqdn_helo_hostname

When done, issue:

sudo postfix reload

Why do e-mails sent to OS X 10.6.x Snow Leopard Server arrive only after a delay?

Snow Leopard Server implements an anti-spam technique called Greylisting. While this is quite effective, it has the side effect of causing delays during mail delivery.

If you wish to turn it off, you can disable anti-spam measures in Server Admin. To specifically only stop Greylisting do the following:



and change:

smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reje ct_unauth_destination check_policy_service unix:private/policy permit


smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reje ct_unauth_destination permit

When done, issue:

sudo postfix reload

Mac OS X 10.6 Snow Leopard Server

Snow Leopard Server is here and a month earlier than expected. Let’s have a quick look at the differences between 10.5 and 10.6 Server. Given our sites’ content, the focus will be on Web and Mail Services.

Our tools and tutorials will be updated over the next few weeks to be compatible with and cover Mac OS X 10.6 Server.

Read more