How to enable/disable greylisting [10.7 – 10.8]

Click here to learn more about greylisting

To disable greylisting

sudo serveradmin settings mail:postfix:greylist_disable = yes

sudo postfix reload

To enable greylisting

sudo serveradmin settings mail:postfix:greylist_disable = no

sudo postfix reload

How to lookup a user GUID

You can lookup a users’s GUID using WorkGroup Manager, but what fun is that?

Here are just a few ways you can lookup a GUID

Lookup a single user: 10.7 & 10.8 Only:

sudo /Applications/ -i bobsmith

How handy it would be to have a list of all users and their GUID?

dscl /Search -list /Users GeneratedUID

Above returns all of the sytem users, its cleaner if we omit them:

dscl /Search -list /Users GeneratedUID | grep -v '^_'

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.

Download spamtrainer 1.9.9