Bounce Rules

Kevin Miller Kevin_Miller at CI.JUNEAU.AK.US
Thu Oct 27 01:17:01 IST 2005


Dave Shariff Yadallee - System Administrator a.k.a. The Root of the
 
> Then what about just making it undeliverable?

There are two score levels in MailScanner: Spam and High Scoring Spam.  In
MailScanner.conf is a line that sets the value of high scoring spam.  If you
want to get rid of any spam above 7.5, set your high scoring spam to that
level, and "High Scoring Spam Actions = delete".  For regular spam, you
assign a lower value, say 5.  Many people will store that, or forward it to
a spam catcher account where you can check for false positives (valid emails
that were wrongly tagged as spam).

This is snipped from my MailScanner.conf.  Just set the actions as
appropriate for your site.  

#
# What to do with spam
# --------------------
#

# This is a list of actions to take when a message is spam.
# It can be any combination of the following:
#    deliver                 - deliver the message as normal
#    delete                  - delete the message
#    store                   - store the message in the quarantine
#    bounce                  - send a rejection message back to the sender
#    forward user at domain.com - forward a copy of the message to
user at domain.com
#    striphtml               - convert all in-line HTML content to plain
text.
#                              You need to specify "deliver" as well for the
#                              message to reach the original recipient.
#    attachment              - Convert the original message into an
attachment
#                              of the message. This means the user has to
take
#                              an extra step to open the spam, and stops
"web
#                              bugs" very effectively.
#    notify                  - Send the recipients a short notification that
#                              spam addressed to them was not delivered.
They
#                              can then take action to request retrieval of
#                              the original message if they think it was not
#                              spam.
#    header "name: value"    - Add the header
#                                name: value
#                              to the message. name must not contain any
spaces.
#
# This can also be the filename of a ruleset, in which case the filename
# must end in ".rule" or ".rules".
# - mkm - Spam Actions = forward Alphonse_Spamdog at ci.juneau.ak.us store
Spam Actions = store

# This is just like the "Spam Actions" option above, except that it applies
# then the score from SpamAssassin is higher than the "High SpamAssassin
Score"
# value.
#    deliver                 - deliver the message as normal
#    delete                  - delete the message
#    store                   - store the message in the quarantine
#    forward user at domain.com - forward a copy of the message to
user at domain.com
#    striphtml               - convert all in-line HTML content to plain
text.
#                              You need to specify "deliver" as well for the
#                              message to reach the original recipient.
#    attachment              - Convert the original message into an
attachment
#                              of the message. This means the user has to
take
#                              an extra step to open the spam, and stops
"web
#                              bugs" very effectively.
#    notify                  - Send the recipients a short notification that
#                              spam addressed to them was not delivered.
They
#                              can then take action to request retrieval of
#                              the original message if they think it was not
#                              spam.
#    header "name: value"    - Add the header
#                                name: value
#                              to the message. name must not contain any
spaces.
#
# This can also be the filename of a ruleset, in which case the filename
# must end in ".rule" or ".rules".
High Scoring Spam Actions = delete



...Kevin
-- 
Kevin Miller                Registered Linux User No: 307357
CBJ MIS Dept.               Network Systems Admin., Mail Admin.
155 South Seward Street     ph: (907) 586-0242
Juneau, Alaska 99801        fax: (907 586-4500

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list