Hello all,

  I'm running qmail-ldap on a cluster of servers, I've been running it
for about a year and a half.  Everything is working pretty well.  I have
everything setup to save mail in Maildir format under a single unix uid
and a single directory tree.

Example:  user 'matthew' with e-mail '[EMAIL PROTECTED]' has a MailDir
setting of '/home/QMAIL/msgs/m/matthew/Maildir/'

I'm trying to setup a way for my users to use procmail scripts on their
mailboxes.  I don't want to put a .qmail file in their homeDir.  Most
users don't have a home dir or share a dummy one (/home/default).  It
would be acceptable if they put .qmail files in their Maildir.  I can
write up a web script so they can manage it.  Ideally I would like to
have the script stored entirely in LDAP and have the qmail server
download the script and execute it on the fly.

An average user in my LDAP directory currently looks kinda like:

dn: cn=Matthew S. Crocker,cn=Crocker Communications Inc.,ou=Customer,dc=crocker,dc=com
uid: matthew
cn: Matthew S. Crocker
sn: Crocker
homeDirectory: /home/user1/matthew
uidNumber: 501
gidNumber: 100
loginShell: /bin/bash
mail: [EMAIL PROTECTED]
mailMessageStore: /home/QMAIL/msgs/m/matthew/Maildir/
mailQuota: 90000000S, 1000C
accountStatus: active
mailReplyText:: IA==
deliveryMode: normal
objectClass: top
objectClass: aUserAccount
objectClass: qmailUser
objectClass: shadowAccount
objectClass: posixAccount
objectClass: radiusprofile
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]


How would I go about setting up qmail-local/qmail-lspawn to use the .qmail file in my 
Maildir? 
How would I go about getting procmail to use a procmailrc file in the same directory?
Can I skip the .qmail file piping to procmail by using LDAPATTR:deliveryProgramPath or 
LDAPATTR:qmailDotMode =  ???

What is the prefered method of handling this?

-Matt




Reply via email to