Re: Per user SPF and Anti Virus checks

From: Paul G. Allen (no email)
Date: Tue Apr 08 2008 - 10:53:52 EDT

  • Next message: Victor Duchovni: "Re: SELinux and postfix"

    mouss wrote:

    >
    > transports are global in an instance. you need to run multiple instances
    > of postfix: run postfix multiple times (not just edit one master.cf).
    >
    > - one postfix handles mail on port 25 and uses transport_maps to
    > redirect users to the corresponding filter. mail that should not be
    > filtered is passed to the second instance (below) via relayhost for
    > instance.
    >
    > - the other postfix uses a "standard" transport_maps (no filtering) and
    > handles delivery.
    >

    I was finally able to get back to finishing this server and wanted to
    put closure on this thread.

    Thanks for the advice and help.

    What I did was setup a second instance of Postfix to handle the
    filtering. The first (primary) instance checks the PostgreSQL database
    to see if the recipient has enabled Anti-Spam through the use of
    transport_maps. If they have, it sends the incoming message to the
    second instance listening on a local port.

    The second instance uses AVG to scan the message (content_filter). AVG
    returns the message back to the second instance, and it in turn relays
    the message to the qmail server.

    Note that the first instance also performs initial "inexpensive" checks
    on incoming e-mails to help weed out the bulk of spam before it's even
    queued. The way all this is configured each scanner (AVG and the SPF
    policy server, as well as our optional local blacklist) and each e-mail
    server could be run on different machines easily when traffic increases
    to the point tat it's necessary. Users have complete control over
    whether e-mail is scanned or not, and unlike the qmail server, the user
    settings actually work.

    During all this, I've decided I really like Postfix and qmail sucks. :)

    PGA

    -- 
    Paul G. Allen, BSIT/SE
    Network Administrator
    Greenest Host
    www.greenesthost.com
    

  • Next message: Victor Duchovni: "Re: SELinux and postfix"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD