m...@ruggedinbox.com:
> > By default, Postfix REMOVES Return-Path headers from email messages.
> > The default setting is:
> > 
> >     message_drop_headers = bcc, content-length, resent-bcc, return-path

That is the default setting.

> We tried to use the 'message_drop_headers' parameter in both main.cf and 
> master.cf (under the 'cleanup' line) but always get the error:

There is no need to seet this. It is the default.

> [....] Reloading Postfix configuration.../usr/sbin/postconf: warning: 
> /etc/postfix/master.cf: unused parameter: 
> message_drop_headers=bcc,content-length,resent-bcc,return-path
> 
> can we have a working example of how to use it ?

You don't need to set this. It is the default.

> Finally we tried to comment the line in main.cf which calls our custom 
> script
> and the return-path is correct:
> 
> Return-Path: <m...@ruggedinbox.com>
> 
> so it looks like the problem is around the script or its invocation.

OK, so you know the mistake is outside Postfix.

        Wietse

Reply via email to