Testing SPAM filtering from shell
echo "XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X" | mail -s Spam_test danman@example.com
Disable filtering for example.com
add following lines to /etc/amavis/conf.d/50-user (don’t forget the dot before domain, it has to be there):
@bypass_spam_checks_maps = ( [".example.com"], ); @spam_lovers_maps = ( [".example.com"], );