Post.Office & SpamAssassin (Rewrite Subjects and Spam Reports)

Post.Office Tips & Tricks: Index | Spam Sort Instructions

Use the configurator below to create the optimized script for your server.
You can also download the generic script which you should edit by hand.

Option Value Comments
General Options
Script Path standard name and location of the script. This should only be changed if you know what you're doing as you will also have to change /etc/crontab
Enable Script turns the script on or off
SpamAssassin enables or disables SpamAssassin. If enabled, the checking will take much longer as each message is run through SpamAssassin again. However this gives you the option of including full reports and headers as created by SpamAssassin. If turned off then only the subject will be rewritten to show it was spam.
Delete Files removes the original files from the spam-catcher mailbox after putting a copy of them into the correct user directory.
Debug Logging provides more information in the log file such as the result of each test performed.
Other Options
Log Files This is the log file where all the activity will be stored.
Temporary Message When you run the messages through SpamAssassin again, then you need to use a temporary file for the SpamAssassin output/report. Only change it when you know what you're doing...
Spam-Catcher Account This is the local e-mail address where you receive all spam messages. Any messages in this account will be re-distributed to the local mailboxes of their original recipients.
Include Accounts list any accounts which should be receive their rewritten spam messages, different accounts must be separated by "|". This is useful if you only want some accounts to receive their analyzed/rewritten spam messages.
Exclude Accounts list any accounts which should be ignored by the script, different accounts must be separated by "|". This is useful if you don't want to put spam messages back into certain accounts.
Junk Folder If your users access their mail by POP3 then you should set this to "in". This will put the messages into their normal inbox. If your users access their mail by IMAP4 then you can set this to "Junk". This puts the spam into a Junk/Spam folder which can then be accessed by their IMAP-Client.
SA Location Location of the spamassassin program. If you use the standard Post.Office distribution, then you don't need to change this.
Program Directory
The location of your post.office directory. This is needed to execude some Post.Office command line tools. The auto-detect option will check your Post.Office ( /etc/post.office.conf ) configuration to find out where the program directory is. Usually you should keep it at auto-detect.

 


Please support the development of these scripts through PayPal. Thank you.


Copyright by Jochen "Joe" Savelberg - © 2003-2004 -- Last Modified: 04/02/2012