On Thu, Dec 23, 2010 at 11:01:44PM -0500, Roman Gelfand wrote:

> I am using postfix server as an smtp gateway to exchange server.  I
> have configured a series of services and filters with postfix.  One of
> antispam daemons is dspam, content filter.  I have configured it to
> replace smtp server.

Actually, you configured it as a content_filter between the SMTP server
and the output side of Postfix.

> Once an email is inspected, it is reinjected for
> delivery.   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 and tightly control the outbound
> traffic.  How can I accomplish this?

In complex configurations with filters and different policies for
inbound/outbound mail, I recommend multiple instances:

    http://www.postfix.org/MULTI_INSTANCE_README.html

With each instance handling the appropriate task. In your case, if
the machine is restricted to one IP address, you may want to configure
Exchange to send outbound mail to a port other than port 25, and modify
the master.cf file of the instance that handles outbound traffic to
listen on a non-default SMTP port, easily configured in the Exchange
SMTP connector.

-- 
        Viktor.

Reply via email to