This filter adds several useful headers to all inbound mail.
addHeaders: if (sendergroup != "RELAYLIST")
{
insert-header("X-IronPort-RemoteIP", "$RemoteIP");
insert-header("X-IronPort-MID", "$MID");
insert-header("X-IronPort-Reputation", "$Reputation");
insert-header("X-IronPort-Listener", "$RecvListener");
insert-header("X-IronPort-SenderGroup", "$Group");
insert-header("X-IronPort-MailFlowPolicy", "$Policy");
}
Thanks, Dalton!
hey, just a suggestion here. You should edit the title of this to include "X client header" and more keywords in here for the sending/original MTA IP. You have no idea how much time i just invested trying to find this answer. Thank you so much for the insight! Cheers!
ReplyDelete