# ANTISPAM SECTION DECLARATIONS
# NOTE: RAV uses the 'sendmail' executable in order to inject
# the modified spam mails in the MTA queue. Please make sure that the
# MTA's specific 'sendmail' program is in the search path for commands.
# If the 'sendmail' execution fails then the mail will be delivered
# untouched.
# Parameters:

# Name of the section written between two '@' symbols
#@bulk_detection_low@

# The bulk detection accuracy level. This must be one
# of the following keywords:
# accuracy_low
# accuracy_medium
# accuracy_high
# accuracy_very_high

# Extra mail header to be added when a bulk mail
# is detected
#extra_header = message_declared_in_the_define_strings_section

# The string which is prepend to the bulk mail subject
#extra_subject = message_declared_in_the_define_strings_section

# The message used for the embedded mail body
#embedded_msg = message_declared_in_the_define_strings_section

# The actions to be executed for the specified bulk 
# detection level
#actions = action_variable_defined_in_the_define_actions_section

# The directory where the bulk mail is saved before
# any action is executed
#quarantine = /var/opt/rav/bulk

# The mail addresses of one or more administrators who will receive
# the bulk mails when the 'forward' action is used
#forward_to = admin_1@domain.name, admin_2@domain.name

# AntiSpam section for bulk low detection level
@bulk_detection_low@
accuracy_low
extra_header = bulk_header_low_english
extra_subject = bulk_subject_low_english
#embedded_msg = bulk_embedded_low_english

actions = bulk_actions_low
quarantine = /var/opt/rav/bulk
#forward_to = admin1@domain.com

# AntiSpam section for bulk medium detection level
@bulk_detection_medium@
accuracy_medium

extra_header = bulk_header_med_english
extra_subject = bulk_subject_med_english
embedded_msg = bulk_embedded_med_english

actions = bulk_actions_medium
#quarantine = /var/opt/rav/bulk
#forward_to = admin1@domain.com

# AntiSpam section for bulk high detection level
@bulk_high_precision@
accuracy_high

extra_header = bulk_header_high_english
extra_subject = bulk_subject_high_english
embedded_msg = bulk_embedded_high_english

#actions = bulk_actions_high_with_forward
actions = bulk_actions_high
quarantine = /var/opt/rav/bulk
#forward_to = admin1@domain.com

# AntiSpam section for bulk very high detection level
@bulk_very_high_precision@
accuracy_very_high

extra_header = bulk_header_very_high_english
extra_subject = bulk_subject_very_high_english
embedded_msg = bulk_embedded_very_high_english

#actions = bulk_actions_very_high_with_forward
actions = bulk_actions_very_high
quarantine = /var/opt/rav/bulk
#forward_to = admin1@domain.com

# For the very high accuracy level you can configure RAV to discard
# spam mails. Here is an example:
@do_not_want_to_receive_spam@
accuracy_very_high
actions = discard_all_spam_mails
# the 'discard_all_spam_mails' is defined in the _define_actions as 'discard'
# Then use this rule in the group definitions (not here): 
#antispam_configuration = do_not_want_to_receive_spam
# This way all bulk mails that are detected in the 'accuracy_very_high' level
# will be silently discarded.

#forward_to = admin1@domain.com
