Skip to main content

Filter incoming mail by Specific Header Value

Comments

4 comments

  • danfbach
    It looks like postfix has a "header_checks" conf that could accomplish this, but i can't seem to find an exim equivalent
    0
  • cPRex Jurassic Moderator
    Hey there! Could you use the cPanel >> Email Filters tool instead of directly modifying Exim itself? That has options for "Any header" and you can even use regex to match the value you're looking for. If that won't work for your case, then yes, you'll have to do some additional research on doing this directly in Exim, as I don't know of a specific value off the top of my head that would handle that.
    0
  • danfbach
    I wasn't aware of the email filters. Thanks, I'll give that a try!
    0
  • cPRex Jurassic Moderator
    Try it out and let us know!
    0

Please sign in to leave a comment.