From: mouss (no email)
Date: Fri Mar 02 2007 - 17:27:45 EST
Justin McAleer wrote:
> mouss wrote:
>> Justin McAleer wrote:
>>
>>> While I'm asking stuff, I have clamsmtpd running on this server as a
>>> content filter, reinjecting back into Postfix. Could I only send the
>>> non-hosted mail through clamsmtpd, and just pass on hosted mail to
>>> the internal servers (they do AV scanning)?
>>>
>> you need multiple instances: in the instance before the filter, use
>> transport_maps instead of content_filter to send mail to the filter
>> for the hosted domains, and to the second instance for other mail.
>>
> It's the other way around; I want to send mail destined for the
> Internet to the filter.
so you filter mail sent to the internet but not mail sent to your
domains? that's surprising, but why not... just "swap" the choices in my
post.
> I tried having the virtual_transport set to the internal server, and
> the default_transport set to the filter (overriding that in
> master.cf). But, I learned you can't override the default_transport
> option in master.cf, as you say below, so mail just looped.
first, forget about virtual_transport. second, take the time to read the
rest: in particular, the part that says this:
>> multiple instances are needed because transports are global within an
>> instance (multiple instances mean running postfix multiple times, not
>> adding multiple lines to a single master.cf...).
|
|
|