Hell all,

I was wondering if anyone has tried, or knows how, to accomplish a fake qmail-ldap cluster system using only one machine.

Below i try to explain what i intend with this setup;


What:
Set qmail-ldap to listen for smtpd connections, and then pass the messages to an also locally configured qmqpd server, in the way that the clustering support works. The final delivery would be made only after the qmqpd server passed the message to qmail-queue, etc, etc.


Why:
I've been using inter7 simscan for integration with content filtering procedures (ClamAV for antivirus and DSPAM for antispam). DSPAM has a great set of features in what it comes to user interaction (retraining), but there is a small problem when DSPAM is run in the same system which acts as MX.

DSPAM, while working with simscan, will step in before local delivery. This means that messages with multiple recipients will not be properly handled, since that at that point there is only 1 message and a list of recipients. The use of DSPAM makes the assumption that you will in fact have separate spam dictionaries and actions per user. Therefor the message cannot be held captive or tagged, since one mans SPAM is another mans HAM.

The way i found, in theory, to handle this situation is to have DSPAM acting on the qmqpd instance, which will get 1 copy of the message per recipient from the actual MX.


Problem:
I have previously set qmail-ldap clusters, so i tried the same approach. I have installed 2 separate instances of qmail-ldap on the same machine, activating only qmail + qmail-smtpd on one (MX) and qmail + qmqpd on the other ("LDA"). No matter what i change on the control files (me, locals and rcpthosts) and/or the IP address on which the services would bind (external IP address or localhost), the messages would always get deferred stating that the message was looping since it already has the clusterhost delivery-to header. (qmail-forward: fatal: This message is looping: it already has my Cluster-Delivered-To line. (#5.4.6))


Question:
Can anyone enlighten me on some sordid detail that i've missed?


Thanks in advance,

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:~# _

Reply via email to