hey,

I have a qmail-ldap installed. Each user has a "deliveyProgramPath"
defined, and local deliveries are disabled. My goal is the following:

 - scan mail for SPAM for each user individually
 - have quota support

 For this to work, I have disabled local deliveries and enabled
 delivery program path. As a delivery program I have tried:

          a) safecat
          b) condwrite

in case (a), scanning for spam works OK, but quotas are totally
ignored.

in case (b), quotas work fine, but I can not enable scan for spamming,
because condwrite expects a seekable pipe... To be honest I have no
idea where condwrite gets information about quota limits (maybe
environment).

Google says use a program "seekablepipe". Starting from there, I see
the following problems:

  - for each mail being delivered, there will be a whole lot of
    processes started. First - qmail, then delivery program, then
    condwrite, then /bin/true, then seekablepipe (and several
    processes inside of it) and then spamc.
    
  - seekablepipe failed while building package
  
  - installing all of that stuff again on a new server will take
    forever in case of a crash....

Are there any other programs that know how to handle quotas and do not
require seekable pipes? And how does condwrite know about quotas?
Maybe there is a way to enable it in safecat (maildir)?

thanks for all ideas,

Karolis

Reply via email to