When running Xeams in Firewall mode, occasionally, you may want to insert custom headers allowing the downstream server to apply additional filtering. Consider the following use case where this feature is applicable.
You must be using build 6240 or higher.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <customHeaderInjector> <!-- Following is a valid list of injectorType: 1 - Sender's IP address 2 - Sender's Email address, which appears in SMTP envelope (MAIL FROM) 3 - Host name of the connecting IP address 4 - HELO string specified during SMTP communication 5 - Recipient's address, which appears in RCPT TO Following is a valid list of operators: 0 - Equals 1 - Ends with 2 - Starts with 3 - Missing --> <injectors> <!-- Example of an email that comes in from a partner. It puts a header with a YES value. --> <injector friendlyName="PrintingPartner" injectorType="1" operator="1"> <searchFor><![CDATA[188.8.131.52/32]]></searchFor> <headerName>X-PrintingPartner</headerName> <headerValue>yes</headerValue> </injector> </injectors> </customHeaderInjector>