Qmail-LDAP
[Top] [All Lists]

Re: poll: spam filtering per-user

To: qmail-ldap@qmail-ldap.org
Subject: Re: poll: spam filtering per-user
From: Sebastian Benoit <benoit-lists@fb12.de>
Date: Wed, 2 May 2007 12:44:25 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <20070502093717.7146.qmail@oak.oeko.net>
Mail-followup-to: qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Organisation: Organisation against the bulletization of popular thought as a result of the increasing prevalence of Microsoft PowerPoint(TM)
References: <20070502093717.7146.qmail@oak.oeko.net>
User-agent: Mutt/1.4.2.2i
Toni Mueller(support@oeko.net) on 2007.05.02 11:37:17 +0000:
> How are you solving this case?

I use amavisd-new, it supports per-user configuration in LDAP, you can store
the antivirus preferences together with your user data:

  qmail-smtpd (QMAILQUEUE="bin/qmail-qmqpc-10628")
    -> qmail-qmqpc (patched*)
      -> amavisd-new (mit LDAP-lookup **)
        -> qmail-smtpd-post-amavis (***)
          -> qmail-queue (normal qmail-ldap processing)
            

  * qmqpc patched to pass mails to QMQP server on port 10628
          instead of default

  ** amavisd-new with amavisd-new-qmqpqq.patch, amavisd-new receives mail as
          QMQP-server

  *** this qmail-smtpd ruins on localhost:10025  and receives the processed
          mail from amavisd-new

beware that amavisd-new is not the smallest and fastest program, even more
so when you use antivirus-checks as well (i use clamav).

The nice thing about this setup is, that it is very flexible: you can
offload amavisd/clamav to seperate machines or use multiple machines behind
a loadbalancer for load-sharing and redundancy.

/B.
-- 
Sebastian Benoit <benoit-lists@fb12.de>

Heisenberg might have been here.

Attachment: pgpcrI9mIuaVq.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>