The following information applies to Postfix 2.1. Earlier
Postfix versions do not support the
receive_override_options feature.
If you are MX service provider and want to apply disable
head/body checks for some domains, you can configure ONE Postfix
instance with multiple SMTP server IP addresses in master.cf. Each
address provides a different service.
/etc/postfix.master.cf:
# =================================================================
# service type private unpriv chroot wakeup maxproc command
# (yes) (yes) (yes) (never) (100)
# =================================================================
# SMTP service for domains with header/body checks turned on.
1.2.3.4:smtp inet n - n - - smtpd
# SMTP service for domains with header/body checks turned off.
1.2.3.5:smtp inet n - n - - smtpd
-o
receive_override_options=
no_header_body_checks
Once this is set up you can configure MX records in the DNS
that route each domain to the proper SMTP server instance.