Skip to main content

Comparing Subject and Sender

Comments

3 comments

  • cPanelMichael
    Hello, This isn't possible with a standard filter rule, but you might be able to get that working using a custom regular expression in the filter. You may want to seek out advice from the Exim users mailing list if you do not receive additional user-feedback on this thread: Exim-users Info Page Thank you.
    0
  • cyber_cynic
    Hello, This isn't possible with a standard filter rule, but you might be able to get that working using a custom regular expression in the filter. You may want to seek out advice from the Exim users mailing list if you do not receive additional user-feedback on this thread: Exim-users Info Page Thank you.

    I apologise if I was not clear in my post. I am looking for a "regex" for the rhs of the filter. So the first question would be: Is "Subject" a reserved word that can be used in an expression?
    0
  • cPanelMichael
    Hello, It doesn't appear as though you can use variables for the operators in that way (e.g. $message_body contains "\\$header_subject"). Exim provides in-depth documentation on filter rules at: 3. Exim filter files You may want to setup a custom filter rule for testing and consult with the Exim user's mailing list to see if anyone has setup something similiar. Thank you.
    0

Please sign in to leave a comment.