Toni Mueller wrote: > Hi, > > I've come to need spam-filtering to be switched on and off on a > per-user basis. So, the alternatives seemed to be to switch to qpsmtpd > (postponed), hack qmail-scanner to add LDAP support and then use a > modified scheme, or utilize deliveryProgramPath after the message has > been accepted. One of our users has this requirement for his mail > server and argues with legal problems (German law has become very > strict on email filtering, tagging etc.). In his case, also email > forwarding to a different server which isn't directly on the Internet > is a requirement. The usual message flow looks like this: > > Internet -> > > qmail-smtpd -> qmail-local -> filter-program(s) -> qmail-remote > > -> other mail server > > So, I hacked together a script (currently 200 lines in Python) that > does all that, based on its command line arguments from the > deliveryProgramPath attribute of a given user. But I don't feel too > comfortable with it (it's _fat_ and _slow_) and wanted to know if there > might be a simpler solution. Filtering everything via QS (what I > normally do, at least on our internal servers) is disallowed in this > case. > > How are you solving this case? > > TIA! > >
Hello, Personally i'm using DSPAM to do content filtering and message tagging. Messages are fed to it using inter7 simscan (qmail-queue replacement), and this setup has proved to be very good indeed. DSPAM is an awsome bayesian content filter with a rich set of features such as per user/group preferences and internal quarantine engine. Day-to-day configurations can be preformed by admins (global and users prefs) and by the users itself using a nive web interface. In terms of message flow, i have it working something like this: qmail-smtpd ---> simscan ---> DSPAM ---> simscan ---> qmail-queue ---> etc... In the case you are interested, i may provide you a set of patches to make this play really smooth between dspam, simscan and qmail-ldap. Regards, Hugo Monteiro. -- ci.fct.unl.pt:~# cat .signature Hugo Monteiro Email : [EMAIL PROTECTED] Telefone : +351 212948300 Ext.15307 Centro de Informática Faculdade de Ciências e Tecnologia da Universidade Nova de Lisboa Quinta da Torre 2829-516 Caparica Portugal Telefone: +351 212948596 Fax: +351 212948548 www.ci.fct.unl.pt [EMAIL PROTECTED] ci.fct.unl.pt:~# _