Alexander Perlis:
> Hello, I seek advice. For mail received on port 25 for my domain,
> the usual local transport should be used (as accomplished with
> mydestination=mydomain), but for mail submitted by authorized users
> on port 587, I want all such mail (even for recipients@mydomain)
> to get sent via SMTP to a separate smarthost for additional
> filtering.

Maybe you could use this:

/etc/postfix/master.cf
  submission .. .. .. .. .. .. smtpd
    -o ...usual submission options...
    -o content_filter=smtp:filterhost.example
    -o receive_override_options=no_header_body_checks

The no_header_body_checks ensures that no FILTER actions in
header/body_checks can override smtp:filterhost.example.

You may want to do the same thing with the sntps service.

What should happen with local submissions via /usr/sbin/sendmail?

        Wietse

Reply via email to