anyone has experience to change original email sender (Envelope-From) to any email address what we want ?
i have created pmx-policy to replace header "Envelope-From" value: abc@def.com, but when i execute this policy the email still send with the original sender let say 123@456.com
here my policy sample :
elsif allof(envelope :comparator "i;ascii-casemap" :all :contains ["from"]
["123@456.com"],
header :comparator "i;ascii-casemap" :contains ["Subject"] ["confidential"])
{
pmx_add_header :recode "X-PMX-Encrypted" "YES";
pmx_set_var "BOSS_EMAIL" "/opt/pmx6/home/get_boss.sh %%ENVELOPE_FROM%% /opt/pmx6/etc/notify-map";
pmx_replace_header :index 0 :recode "X-Boss" "%%BOSS_EMAIL%%";
pmx_replace_header :all :index 0 :recode "Envelope-From" "abc@def.com";
pmx_file "Boss_Confidential";
redirect "%%BOSS_EMAIL%%";
stop;
}
This thread was automatically locked due to age.