Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The headers modification thing was done, now I need help to correct following exim filter.
- Requirement: any mail coming from abc@abc.com and subject contains "SomeThing" to go to xyz@mydomain.com With complete headers and to abc@mydomain.com without Cc and From headers.
- I tried following filter but it's removing headers for both IDs.
- #######
- if ("$h_from:" contains "abc@abc.com" and "$header_subject:" contains "SomeThing")
- then
- deliver "xyz@mydomain.com" (should go to xyz@mydomain.com With complete headers )
- headers remove Cc
- headers remove From
- deliver "abc@mydomain.com" (should go to abc@mydomain.com Without Cc and From headers )
- endif
- ######
Add Comment
Please, Sign In to add comment