Re: Add header with original IP?

2015-03-23 Thread Sebastian Nielsen
Can it be done without a policy service or milter? Eg with some header checks? Or maybe a configuration option? -Ursprungligt meddelande- From: Noel Jones Sent: Monday, March 23, 2015 7:57 PM To: postfix-users@postfix.org Subject: Re: Add header with original IP? On 3/23/2015 1:20 PM

Re: Add header with original IP?

2015-03-23 Thread Noel Jones
header checks? Or maybe a configuration option? -Ursprungligt meddelande- From: Noel Jones Sent: Monday, March 23, 2015 7:57 PM To: postfix-users@postfix.org Subject: Re: Add header with original IP? On 3/23/2015 1:20 PM, Sebastian Nielsen wrote: How can I in postfix add a header

Add header with original IP?

2015-03-23 Thread Sebastian Nielsen
How can I in postfix add a header with the original client IP (like “X-Original-IP”), such as, it cannot be forged, eg any incoming mail will have such headers stripped out, before Postfix adds its own. The intention of this header is to use it at a later processing step for separating

Re: Add header with original IP?

2015-03-23 Thread Noel Jones
On 3/23/2015 1:20 PM, Sebastian Nielsen wrote: How can I in postfix add a header with the original client IP (like “X-Original-IP”), such as, it cannot be forged, eg any incoming mail will have such headers stripped out, before Postfix adds its own. The intention of this header is to use it

Re: Add header with original IP?

2015-03-23 Thread Sebastian Nielsen
Venema Sent: Tuesday, March 24, 2015 12:33 AM To: Postfix users Subject: Re: Add header with original IP? Sebastian Nielsen: Can it be done without a policy service or milter? Eg with some header checks? Or maybe a configuration option? If it is not possible to use the address in Postfix's own

Re: Add header with original IP?

2015-03-23 Thread Wietse Venema
Sebastian Nielsen: Can it be done without a policy service or milter? Eg with some header checks? Or maybe a configuration option? If it is not possible to use the address in Postfix's own Received: header, you can copy the client IP address into a header with a pcre or regexp table. For