Noel Jones-2 wrote
> On 10/27/2016 9:46 PM, Den1 wrote:
>> Well, here it goes. My postconf -n looks like this:
> 
> I can't see any obvious reason why your header_checks aren't working
> as expected.  Keep in mind that postfix can't remove headers that
> don't exist yet.
> 
> 
>   -- Noel Jones

Thank you so much for trying. Appreciate.

Well, I couldn't see any reasons either, that's why I thought I would ask
the experts over here. But the fact remains on hand - the headers are not
removed.

Could you please, advise where do I exactly place those three in order for
them to work (based on my postconf -n and postconf -Mf pasted here)? 

1.) -o cleanup_service_name=subcleanup
2.)  subcleanup unix n       -       -       -       0       cleanup
3.) -o smtp_header_checks=regexp:/etc/postfix/header_checks

I've experimented with it for a day and couldn't figure it out how to make
it work.

The last resort idea that crossed my mind was to remove for testing purposes
all the mileters that I have just to check should that help at all, but I am
not sure that these may set separate headers that Postfix is unable to
remove... Is that possible? Many thanks!

milter_default_action = tempfail 
smtpd_milters = unix:/clamav/clamav-milter.ctl, unix:/spamass/spamass.sock
-o milter_macro_daemon_name=ORIGINATING




--
View this message in context: 
http://postfix.1071664.n5.nabble.com/Stripping-Received-headers-tp56953p86994.html
Sent from the Postfix Users mailing list archive at Nabble.com.

Reply via email to