Michael Cashwell
2004-04-13 15:04:56 UTC
Greetings,
I'm using a hashed regexp MIME header filter table that works fine if I
put "mime_header_checks = regexp:/etc/postfix/mime_header_checks" in
main.cf. However, I don't want it to apply to the submission service
(which is accessible only inside my firewall). To that end, I commented
it out in main.cf and added the "-o
mime_header_checks=regexp:/etc/postfix/mime_header_checks" line
following the smtp service. (The -o line did start with whitespace.)
But it didn't work. The filter would not trigger.
I don't understand why leaving the setting out of main.cf and applying
it to a specific service in master.cf didn't work. I have not yet tried
the reverse approach: setting the filter in main.cf and "unsetting" it
on the submission service. But even if it does, I don't understand why
the former didn't.
It's almost as if "postfix reload" only picked up changes to main.cf
and not master.cf but that's hard to believe. Or perhaps there's some
behavior I don't understand regarding "-o" options in master.cf.
Advice welcome.
Thanks,
Mike
I'm using a hashed regexp MIME header filter table that works fine if I
put "mime_header_checks = regexp:/etc/postfix/mime_header_checks" in
main.cf. However, I don't want it to apply to the submission service
(which is accessible only inside my firewall). To that end, I commented
it out in main.cf and added the "-o
mime_header_checks=regexp:/etc/postfix/mime_header_checks" line
following the smtp service. (The -o line did start with whitespace.)
But it didn't work. The filter would not trigger.
I don't understand why leaving the setting out of main.cf and applying
it to a specific service in master.cf didn't work. I have not yet tried
the reverse approach: setting the filter in main.cf and "unsetting" it
on the submission service. But even if it does, I don't understand why
the former didn't.
It's almost as if "postfix reload" only picked up changes to main.cf
and not master.cf but that's hard to believe. Or perhaps there's some
behavior I don't understand regarding "-o" options in master.cf.
Advice welcome.
Thanks,
Mike