Voytek: > I was updating file type definitions in my header checks when I noticed I > have header checks as well as mime header checks : > > /etc/postfix/main.cf > > header_checks = pcre:/etc/postfix/header_checks.pcre > mime_header_checks = pcre:$config_directory/mime_headers.pcre
mime_header_checks is used for MIME headers. By default, mime_header_checks=$header_checks Wietse > header_checks has (now updated) "/^Content-(Disposition|Type)...." AND > lots of old rules from Jim Seymor's page and securitysage page and stuff > from the ml; > > mime_header_checks has just "/^Content-(Disposition|Type)...." AND nothing > else > > do I need both ? > do I need "/^Content-(Disposition|Type)...." in both checks ? > > thanks for any pointers, > > V > > > Try the updated rule in http://www.postfix.org/header_checks.5.html. > > This fixes the problem. > >