Skip to main content

Whitelist spam pattern matching in SpamAssassin

Comments

2 comments

  • GoWilkes
    From reading the docs, maybe? IF (MAIL FROM =~ /@(\w\.)?cpanel\.net$) whitelist_from *@*cpanel.net ENDIF
    The docs briefly mention conditions, but I'm not sure if there's a predefined constant for the "from" field or if they can be used in this context.
    0
  • cPRex Jurassic Moderator
    I was going to direct you to a thread that i just saw you commented out, as maybe Exim filters would be more helpful here, but I see you found that :D
    0

Please sign in to leave a comment.