6Choose from the following to deal with junk mail messages.
ÂÂ Bounced: Sends the message back to the sender. You can optionally send a mail notification of the bounce to a mail account, probably the postmaster.
ÂÂ Deleted: Deletes the message without delivery. You can optionally send a mail notification 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.
7Choose how often to update the junk mail database updated, if desired.
8Click 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 filter must be told what is and isn’t junk mail. Mac OS X Server provides a method of training the filter 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
Training the junk mail filter with users’ help:
1Enable junk mail filtering.
See “Enabling Junk Mail Screening (Bayesian Filters)” on page 35.
2Create two local accounts: junkmail and notjunkmail.
3Use Workgroup Manager to enable them to receive mail.
4Instruct mail users to redirect junk mail messages that have not previously been tagged as junk mail to junkmail@<yourdomain>.
5Instruct 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 filter will learn what is junk and what was mistaken for junk.
6Delete the messages in the junkmail and notjunkmail accounts daily.
36
Chapter 2 Mail Service Setup