Home |
About Spam |
About SpamBouncer |
Downloads |
Configuration |
Reference |
Resources
Overview |
Configuration Variables |
Blocked Spammers |
Whitelists |
Blocklists |
Pattern Matching Filters

SpamBouncer Variable Definitions:
SBDELIVERY
| Variable Name: |
SBDELIVERY |
Default Value: |
FILE |
| Other Values: |
FILTER, MH, and SPAMTRAP. |
The SBDELIVERY variable controls how the SpamBouncer delivers your email after it is filtered. You have four choices:
- FILE. The default choice. Setting SBDELIVERY=FILE, or not setting the SBDELIVERY variable at all, delivers your email to the Unix-style flat file email folders you designate. You tell the SpamBouncer which folders to use by setting the ADMINFOLDER, BLOCKFOLDER, BULKFOLDER, DEFAULT, SPAMFOLDER, and VIRUSFOLDER variables in the variables section at the top of your .procmailrc file.
- FILTER. Setting SBDELIVERY=FILTER causes the SpamBouncer to filter and tag your email, and then to return it to Procmail undelivered. You can then allow all of it to be delivered to your designated DEFAULT mailbox, as happens by default when no other delivery location is selected, or you can write your own delivery recipes.
- MH. Setting SBDELIVERY=MH causes the SpamBouncer to deliver your email to MH Mail style indexed folders. You tell the SpamBouncer which folders to use by setting the ADMINFOLDER, BLOCKFOLDER, BULKFOLDER, DEFAULT, SPAMFOLDER, and VIRUSFOLDER variables in the variables section at the top of your .procmailrc file, just as you do with the default SBDELIVERY=FILE setting. The SpamBouncer then interprets these settings as referring to MH Mail folders rather than standard Unix flat file folders.
NOTE: If you set SBDELIVERY=MH, you must ensure that your server's copy of the rcvstore program is located in the /usr/lib/mh directory, or set the MHDELIVER variable to point to the proper directory and filename.
- (SB 2.2) SPAMTRAP. Setting SBDELIVERY=SPAMTRAP causes the SpamBouncer to assume that all email it sees is spam, and deliver one copy of that email to each appropriate file and folder in the directory you designate in the SPAMTRAPROOT variable. This setting is intended only for catchall spamtrap accounts that should receive no legitimate email whatsoever.
At present, you need to manually create the necessary subdirectories in your SPAMTRAPROOT directory. They are:
- ${SPAMTRAPROOT}/backscatter
- ${SPAMTRAPROOT}/dangerous
- ${SPAMTRAPROOT}/forwarded
- ${SPAMTRAPROOT}/fraud
- ${SPAMTRAPROOT}/havens
- ${SPAMTRAPROOT}/identified
- ${SPAMTRAPROOT}/language
- ${SPAMTRAPROOT}/patterns
- ${SPAMTRAPROOT}/retired
- ${SPAMTRAPROOT}/sources
Later revisions of this feature will check for and create those directories automatically.
NOTE: If you set SBDELIVERY=SPAMTRAP, and either do not set the SPAMTRAPROOT variable or set it to a non-existent or inaccessible directory, the SpamBouncer automatically changes SBDELIVERY=FILE.