Skip to main content

EXIM custom filter problem/question

Comments

6 comments

  • ksechrist
    fwiw I think I fixed this by putting each "if" in its own custom filter file. A few successful tests so far, so fingers crossed...
    0
  • ksechrist
    Not fixed. I know it's working for the two separate filters I added with my test accounts. But it's definitely not working for one of my users. I see their outgoing email in the logs, but no filter ever kicks in. Is there something a user could do to override the custom filter?
    0
  • cPanelMichael
    Hello @ksechrist, Can you open a
    0
  • ksechrist
    Thanks Michael. I'm running one more test now - I changed the forwarding address on the non-working filter to be the same as one of the working filters. If that fails, I will open a ticket, because I'm out of ideas.
    0
  • ksechrist
    support ticket 12179075 After a few more tests, I learned that having 2 "unseen deliver" lines does not work on my server (and it should?) - I had this in the non-working filter. So I created local aliases for the non-working and one of the working filters - this is working for one of my test filters, but still not working for this particular user. More details in the support ticket. Thank you for any help you can offer!
    0
  • ksechrist
    In case anyone is experiencing a similar problem, this is what finally got the outgoing filter to work - I had to use $sender_address - here's the full working custom filter: # Exim filter if first_delivery and ("$sender_address:" contains "user@example.com") and not ("$h_X-Spam-Checker-Version:" begins "SpamAssassin") then unseen deliver "user2@example2.com" endif
    0

Please sign in to leave a comment.