Roman Gelfand put forth on 12/23/2010 10:01 PM:

> I am now looking to use the postfix mail gateway, smart host, 
> to send mail out.  Specifically, I would like to bypass all of
> the checks done for incoming mail 

If you are referring to user submitted mail to be relayed to the outside
world, you would use the 587 smtpd server for this purpose, configured
very similarly to your re-injection smtpd server, possibly similar to
this example:

587      inet  n       -       n       -       -       smtpd
    -o smtpd_enforce_tls=yes
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o content_filter=
    -o smtpd_recipient_restrictions=permit_sasl_authenticated, \
       permit_mynetworks,reject
    -o receive_override_options=no_unknown_recipient_checks, \
       no_address_mappings,no_header_body_checks

> and tightly control the outbound
> traffic.  How can I accomplish this?

You need to be more specific than "tightly control the outbound
traffic".  "Smart hosting" is simply accomplished via a transport maps
table.  See:

http://www.postfix.org/transport.5.html

If you want to route (smart host) some mail to some destination domains
via an external submission relay(s) (e.g. ISP's TCP 25 or 587 submission
server) then you'll need some things we'll cover in later emails after
your reply confirming you need this capability.

-- 
Stan

Reply via email to