On Fri, Aug 15, 2003 at 03:36:16PM -0500, Brian Clark wrote: > Hello List, > > I have successfully implemented spamassassin on my qmail-ldap server by > using a .qmail file with the text string > "|spamc |maildir ./Maildir/" in each user's home directory. Now I would > like to integrate it more closely with Qmail-ldap and eliminate the > .qmail files. I assumed that I could do this by setting the user's > qmailDotMode to ldapwithprog and then putting a text string into the > deliveryProgramPath. I tried this but got an error. > > > An error was encountered when trying to deliver your email. > > <[EMAIL PROTECTED] > <http://us.f414.mail.yahoo.com/ym/[EMAIL > PROTECTED]&YY=36833&order=down&sort=date&pos=0&view=a&head=b>>: > LDAP attribute deliveryProgramPath contains illegal characters. > (LDAP-ERR #221) > > The exact contents of the deliveryProgrampath that I used were: > /usr/bin/spamc |/usr/bin/maildir ./Maildir/ > I also tried: > spamc |maildir ./Maildir/ > Both resulted in the same error message. > > Anyone know why? What is illegal about this command? Can you not include > a pipe character in the deliveryProgramPath? Any suggestions on how I > should do this instead? >
Have a look a qmail-ldap.h the RESTRICT_PROG option is what you are looking for. You need to set it to 0 (see also check.c) -- :wq Claudio
