Apple 10.6 Server User Manual


 
6 Choose from the following to deal with junk mail messages.
 Bounced: Sends the message back to the sender. You can optionally send a mail
notication of the bounce to a mail account, probably the postmaster.
 Deleted: Deletes the message without delivery. You can optionally send a mail
notication of the bounce to a mail account, probably the postmaster.
 Delivered: Delivers the message even though it’s probably junk mail. You can
optionally add text to the subject line, indicating that the message is probably junk
mail, or encapsulate the junk mail as a MIME attachment.
 Redirected: Delivers the message to someone other than the intended recipient.
7 Choose how often to update the junk mail database updated, if desired.
8 Click Save.
For an explanation of other options, see “Filtering Mail by Language and Locale” on
page 37.
Training the Junk Mail Filter
The junk mail lter must be told what is and isn’t junk mail. Mac OS X Server provides a
method of training the lter with the help of mail users. The server runs an automated
command at 2:15 am (a cron job) that scans two specially named mail users’ inboxes.
It runs SpamAssassin’s sa-learn tool on the contents of the inboxes and uses the results
for its adaptive junk mail lter.
Training the junk mail lter with users’ help:
1 Enable junk mail ltering.
See “Enabling Junk Mail Screening (Bayesian Filters)” on page 35.
2 Create two local accounts: junkmail and notjunkmail.
3 Use Workgroup Manager to enable them to receive mail.
4 Instruct mail users to redirect junk mail messages that have not previously been
tagged as junk mail to junkmail@<yourdomain>.
5 Instruct mail users to redirect real mail messages that were wrongly tagged as junk
mail to notjunkmail@<yourdomain>.
Each day at 2:15 am, the junk mail lter will learn what is junk and what was mistaken
for junk.
6 Delete the messages in the junkmail and notjunkmail accounts daily.
36 Chapter 2 Mail Service Setup