Re: best way to only alias postmaster@ for local domains?

From: Justin McAleer (no email)
Date: Fri Mar 02 2007 - 08:22:25 EST

  • Next message: Daniel Solsona: "Re: Per user maximum message size"

    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. 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.
    > 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...).
    >
    >
    > Note that using FILTER isn't reliable because only one content_filter
    > is used, even if there are multiple recipients.
    >
    > you can even use 3 instances here, where one instance gets mail from
    > clamsmtpd and only handles your hosted domains. In this instance, you
    > can use your aliases without a script.
    >
    >


  • Next message: Daniel Solsona: "Re: Per user maximum message size"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD