Hi, We have following requirement any mail coming from [email protected] and subject contains "SomeThing" to go to [email protected] With complete headers and to [email protected] without Cc and From headers.
I tried following filter but it's removing headers for both [email protected] & [email protected]. ===== if ("$h_from:" contains "[email protected]" and "$header_subject:" contains "SomeThing") then deliver "[email protected]" (should go to [email protected] With complete headers ) endif if ("$h_from:" contains "[email protected]" and "$header_subject:" contains "SomeThing") then headers remove Cc headers remove From deliver "[email protected]" (should go to [email protected] Without Cc and >From headers ) endif ===== Regards, Ajay -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
