2009/8/14 Eduardo Júnior <ihtrau...@gmail.com>: > > ok, but there is another way to do what I want. > The example above was a test. > Accepting some headers and denying the rest is an alternative: > > /^((Resent-)?From|To|Cc|Date|Reply-to|Reply-TO|Return-Path|Message-ID):/ > OK > /./ IGNORE > >
No!! cleanup processes header_checks header by header. You're removing all headers except those listed in the first line. "Each message header or message body line is compared against a list of patterns. When a match is found the corresponding action is executed, and the matching process is repeated for the next message header or message body line." http://www.postfix.org/header_checks.5.html -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)