[Wylug-help] email redirect in exim 3

Gary Stainburn gary.stainburn at ringways.co.uk
Fri Mar 4 10:55:35 GMT 2005


On Friday 04 Mar 2005 9:50 am, Gary Stainburn wrote:
> Is it possible in exim3 (I know I should be on 4) to redirect an
> email to a specific address based on the contents of the subject
> line?
>
> Specifically, I want to redirect emails starting with one of a number
> of given keywords to spam at ringways.co.uk

I've got

if $header_subject: matches "ph*arm*ac*y"
then
  deliver spam at ringways.co.uk
  fail text "This message has been rejected since it has\n\
	     the signature of a known SPAM in the header."
  seen finish
endif

If i remove the fail text, the deliver works
With the fail text in, it sends the error

Any ideas now I can get it to do both?

--
Gary Stainburn

This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000





More information about the Wylug-help mailing list