Re: mailheader patch / sender IP

2010-11-14 Thread t...@diogunix.com
Ok. Got it. For others may be searching for a similar solution: in main.cf: cleanup_service_name = cleanup header_checks = (these are the default values anyway) in master.cf: submission inet n - n - - smtpd -o cleanup_service_name=cleansub cleansub unix n

Re: mailheader patch / sender IP

2010-11-14 Thread t...@diogunix.com
Viktor, /dev/rob0, thanks. Am already working also on this second step (Viktors proposal) as this is really important (thanks for the hint, was already worrying about unwanted effects). Anyway I'm only running all this on a testing machine this time. However, it's impressing what one can do wi

Re: mailheader patch / sender IP

2010-11-14 Thread /dev/rob0
On Sun, Nov 14, 2010 at 04:08:04PM +0100, t...@diogunix.com wrote: > I made it using the header_checks method using > > in main.cf: > header_checks = regexp:/usr/local/etc/postfix/header_checks > > in header_checks: > /^Received: from/ IGNORE > > Seems to work like a charm

Re: mailheader patch / sender IP

2010-11-14 Thread t...@diogunix.com
Thanks to ALL. I made it using the header_checks method using in main.cf: header_checks = regexp:/usr/local/etc/postfix/header_checks in header_checks: /^Received: from/ IGNORE Seems to work like a charm :-) The VPN way certainly was another valuable thing but of course i

Re: mailheader patch / sender IP

2010-11-13 Thread Victor Duchovni
On Sat, Nov 13, 2010 at 01:16:49PM -0600, /dev/rob0 wrote: > As Jeroen mentioned, header_checks(5) REPLACE or IGNORE action does > this, no patching nor recompile needed. Search the list archives, > there have been examples to do this very thing posted before. No, > your requirement is not so u

Re: mailheader patch / sender IP

2010-11-13 Thread /dev/rob0
On Sat, Nov 13, 2010 at 06:51:53PM +0100, t...@diogunix.com wrote: > I have to setup a postfix mailserver with speecial requirements > from the customer side: > > They do not want their sender IP addresses being visible in the > mailheader as seen by the recipients. Reason: They sometimes > also

Re: mailheader patch / sender IP

2010-11-13 Thread Jeroen Geilman
On 11/13/2010 06:51 PM, t...@diogunix.com wrote: Hello everybody, I have to setup a postfix mailserver with speecial requirements from the customer side: They do not want their sender IP addresses being visible in the mailheader as seen by the recipients. Reason: They sometimes also communicate

mailheader patch / sender IP

2010-11-13 Thread t...@diogunix.com
Hello everybody, I have to setup a postfix mailserver with speecial requirements from the customer side: They do not want their sender IP addresses being visible in the mailheader as seen by the recipients. Reason: They sometimes also communicate with competitors and they fear to get spied th