> This work for 'date' header using IGNORE (or REPLACE changing the
> header name) in header_checks, than cleanup will add a date header.
> If doesn't work the documentation should be fixed or I
> misunderstand?

as Wietse just mentioned to me, that behavior depends on the parameter

undisclosed_recipients_header

which is set to "To: undisclosed-recipients:;" by default. That's why  
header is not empty and thus no rewrite will happen. 

I was just trying to "specify an empty value to disable this feature"
(http://www.postfix.org/postconf.5.html#undisclosed_recipients_header) 
but getting errors 

Nov  8 14:40:13 hermes postfix/cleanup[14723]: fatal: bad string length 0 
< 1: undisclosed_recipients_header = 
Nov  8 14:40:14 hermes postfix/master[14705]: warning: process 
/usr/lib/postfix/cleanup pid 14723 exit status 1
Nov  8 14:40:14 hermes postfix/master[14705]: warning: 
/usr/lib/postfix/cleanup: bad command startup -- throttling

How do I set an empty value for undisclosed_recipients_header ? 
I did it by specifying 

undisclosed_recipients_header =

in main.cf.

Thanks,
Martin

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to