I modified a standard working qmail-ldap user account that I have by adding the following two entries:
qmailDotMode = ldapwithprog
deliveryProgramPath = /usr/local/bin/call-spamc
"call-spamc" is a shell script that looks like this:
#!/usr/bin/bash # Script for Qmail-ldap to call spamassassin client spamc /usr/bin/spamc | /usr/bin/maildir ./Maildir/
However, when I send messages to this account, they seem to go into a black hole. The are neither delivered nor bounced.I normally have my deliveryMode attribute set to "localdelivery" but tried it as set to "normal" as well. It didn't help.
Any ideas on how to get this working? Anyone? FYI: I am using the Qmail-ldap 20030301 patch
Brian!
Carsten Mueller wrote:
oh sorry i forgot the maildir program. cause spamc writes to stdout you need a program that writes the output in a file in your maildir.
look at: http://www.magma.com.ni/~jorge/spamassassin.html for the question "
Where is the "maildir" program?"
carsten
At 00:06 14.08.2003, Brian Clark wrote:
In your string below, is "maildir" supposed to be a program? I don't quite understand this statement. I don't have a program called "maildir" on my qmail-ldap system. I understand the |spamc part of the statement, and I understand the ./Maildir/ part, but the |maildir part confuses me.
Brian!
Carsten Mueller wrote:
hi,
we have the following string in the .qmail file of the user: |spamc -f |maildir ./Maildir/
the individual spamassassin/spamd configurations are in a mysql-db. spamd started with the following options: "/usr/bin/spamd -a -q -x -m 40 -u SPAMDUSER"
works fine if you have .qmail files for your users.
Carsten Mueller intertrend GmbH network & security solutions Bleichstr. 8a 35390 Giessen Germany Tel.: +49 641 984993-0 Fax: +49 641 984993-5 email: mailto:[EMAIL PROTECTED]
At 11:57 12.08.2003, Luca Ongaro wrote:
Hallo,
until now I've found a lot of contradictory information about the most effective way of hooking spamassassin to qmail-LDAP on a per account basis. Is there anyone with clear statements (and maybe a howto)?.
Luca Ongaro
-- Dr. Luca Ongaro tel ++39 055 5061209/5061561 Istituto Agronomico per l'Oltremare fax ++39 055 5061333 Via A.Cocchi, 4 telex 571549 IAO I I-50131 Firenze - ITALIA e-mail [EMAIL PROTECTED] http://www.iao.florence.it
