Hi AIU,
Hopefully my other replies have set you on the right track, but to make it easy.
1. Set up a local user on the server to catch spam - say 'spamcollector'.
2 using serveradmin from the command line:
Re: auto delete junk mail on os x server
Aug 15, 2012 10:26 PM (in response to shcaerp)
Or, easier than Option 1 and 2 above. - use serveradmin to make the changes instead.
$ sudo serveradmin settings mail:postfix:spam_quarantine = spamcollector@yourdomain.com
Other spam settings configureable in serveradmin include:
mail:postfix:spam_subject_tag = "***JUNK MAIL*** "
mail:postfix:spam_ok_locales = "en"
mail:postfix:spam_notify_admin_email = # "i.e. spamcollector at your domain dot com"
mail:postfix:black_hole_domains:_array_index:0 = "zen.spamhaus.org"
mail:postfix:spam_scan_enabled = yes
mail:postfix:spam_rewrite_subject = yes
mail:postfix:spam_notify_admin = no #yes
mail:postfix:spam_ok_languages = "en fr de ja sw ta"
mail:postfix:spam_action = "deliver" # don't change to 'delete' and definitely don't change to 'bounce'
mail:postfix:spam_log_level = "info" #warning/notice/critical/debug
cheers
Gerry