bypass Milter

riccardo
2006-12-06
2013-04-22
  • riccardo
    riccardo
    2006-12-06

    I'm using Sendmail-8.12.10-1.1.1 and smrazor (with milter interface) to check if mail messages are SPAM. My sendmail.mc contains:
    INPUT_MAIL_FILTER(`smrazor', `S=inet:423@192.168.1.12, T=C:5s;S:5s;R:20s;E:20s')

    I'd like bypassing SMRAZOR milter if messages contain a specific header, delivering to recipient:
    for example if I receive email tagged with "checked out : OK" I don't want to check this message with SMRAZOR (to know if it's a spam )but delivering it immediately to recipient.
    Can I create a check_rule in sendmail.mc to do it ?