著者: Ajay Kajla 日付: To: Exim Users 題目: [exim] Filter for Conditional Header Removal
Hi,
We have following requirement any mail coming from abc@??? and subject
contains "SomeThing" to go to xyz@??? With complete headers and to
abc@??? without Cc and From headers.
I tried following filter but it's removing headers for both xyz@???
& abc@???.
=====
if ("$h_from:" contains "abc@???" and "$header_subject:" contains
"SomeThing")
then
deliver "xyz@???" (should go to xyz@??? With complete
headers )
endif
if ("$h_from:" contains "abc@???" and "$header_subject:" contains
"SomeThing")
then
headers remove Cc
headers remove From
deliver "abc@???" (should go to abc@??? Without Cc and >From headers ) endif
=====