SpamAssassin Rule Actions enhancement (UNCLASSIFIED)

Gareth list-mailscanner at
Tue Aug 21 08:37:16 IST 2007

On Tue, 2007-08-21 at 00:38, Kash, Howard (Civ, ARL/CISD) wrote:
> Classification: Caveats:     *NOTICE: 
> Would anyone else be interested in an option to the 'store' action to
> specify a directory relative to 'Quarantine Dir'?  This way various
> levels of spamness can be stored in different directories.  For example:
> SpamAssassin Rule Actions = SpamScore>25=>store HIGH,
> SpamScore>15=>store MED, SpamScore>=5=>store LOW, SpamScore<5=>deliver
> would store messages with SA scores between 5 and 15 in
> /var/spool/MailScanner/quarantine/spam/LOW, scores between 15 and 25 in
> /var/spool/MailScanner/quarantine/spam/MED, and scores over 25 in
> /var/spool/MailScanner/quarantine/spam/HIGH.
> How will the 'SpamAssassin Rule Actions', 'Spam Actions', and 'High
> Scoring Spam Actions' be prioritized?  In other words, which one will
> have presedence if there are conflicting settings (i.e. High Scoring
> Spam Actions = delete, SpamAssassin Rule Actions = SpamScore>15=>store)?

I assume that the spam actions and high scoring spam action will work as
normal. Then the custom rules would apply so if the high scoring option
was to deliver you would have to specify the not-deliver action in the
custom action if you did not want the email delivered.

More information about the MailScanner mailing list