[exim] Filter Help

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Steven Nikkel
Date:  
À: exim-users
Sujet: [exim] Filter Help
I'm trying to create a filter that rejects messages sent outbound to a
specific address. I have something close, but I'm getting an odd error
message sometimes.

Error: R=noreply_redirect defer (-17): error in filter
data: unrecognized condition word "'Steven" near line 2 of filter file

I'm guessing the Steven bit is part of the TO field in the header in
this case.

Filter setup:
noreply_redirect:
      driver = redirect
      allow_filter
      allow_fail
      user = exim
      no_verify
      data = #Exim filter\n\
        if "$h_to:" contains "noreply@???" then fail else finish endif


--
Steven Nikkel
steven_nikkel@???