Guest User

Untitled

a guest
Apr 11th, 2018
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. The headers modification thing was done, now I need help to correct following exim filter.
  2.  
  3. 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.
  4.  
  5. I tried following filter but it's removing headers for both IDs.
  6.  
  7. #######
  8. if ("$h_from:" contains "abc@abc.com" and "$header_subject:" contains "SomeThing")
  9. then
  10. deliver "xyz@mydomain.com" (should go to xyz@mydomain.com With complete headers )
  11. headers remove Cc
  12. headers remove From
  13. deliver "abc@mydomain.com" (should go to abc@mydomain.com Without Cc and From headers )
  14. endif
  15. ######
Add Comment
Please, Sign In to add comment