...
ANY_BOUNCE_MESSAGE: any of the *BOUNCE_MESSAGE types above
If you are using SA 3.2.0, just enable the loadplugin Mail::SpamAssassin::Plugin::VBounce
line in /etc/mail/spamassassin/v320.pre
, and set a 'whitelist_bounce_relays' line as per step 3 below.
If you are using SA 3.1.x, you can install the ruleset as follows:
...
7. Edit your procmailrc (or similar) to move messages that contain "ANY_BOUNCE_MESSAGE" in the "X-Spam-Status" header, to a "bounces" folder.
Don't forget – once SpamAssassin If upgrading from 3.1.x to 3.2.0 is released, you may need to delete VBounce.pm and 20_vbounce.cf from /etc/mail/spamassassin, so that it doesn't clash with the released version.