Steven Nikkel wrote:
> 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
>
Well - presuming your only obfuscation is the dratted 'xyz.com' then just what
*IS* (verbatim, if you please) in the 'header in this case'?
From your error message and what you've said about it, one suspects it might
have more than the one 'noreply@...' address?
Bill