I tried this on my system, and it doesn't seem to have an effect. Do I need to change anything in my LDAP record to make qmail-ldap use the .qmail file? Currently, I have my deliveryMode set to localdelivery.
I also saw this in the qmail-ldap INSTALL file ~control/ldapdefaultdotmode
The default interpretation of .qmail files
Default: ldaponly
Example: both
Values: both, dotonly, ldaponly, ldapwithprog, none
Note: Works only for deliveries based on LDAP lookups.
Local mails use dotonly like in normal qmail.In my ldapdefaultdotmode control file, I have it set to "ldaponly". Do I need to change this to "both"?
Alternatively, I saw this: LDAP_PROGRAM (default: "deliveryProgramPath")
Program to execute for all incoming mails. Gets the message as input on stdin.
Example: /usr/bin/program -c -s
Note: multifield. The same as |/usr/bin/program -c -s in .qmail
Works only with qmailDotMode set to ldapwithprog or both.
With ldaponly set deliveryProgramPath is silently ignored.
Before using it have a look at QLDAPNEWS, qmail-ldap.h, check.c and
see also 5.2.So, could I simply change the qmailDotMode control file to "ldapwithprog" and then put an attribute in my LDAP record called "deliveryProgramPath" with the value "|spamc -f |maildir ./Maildir/" ? This would be IDEAL!
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
