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 "[email protected]" then fail else finish endif
--
Steven Nikkel
[email protected]
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/