|
Hi all,
Question: How to invoke ldap:deliveryProgramPath attribute with
parameters?
I have qmail patched with ldap function. And compiled maildrop with ldap
support.
I want to use maildrop to filter emails with duplicate Message ID. I could
do it with command line:
#cat message | maildrop -d [EMAIL PROTECTED]
And /etc/maildroprc is
`reformail -D 8000 duplicate.cache`
if ( $RETURNCODE == 0 ) exit to $HOME/Maildir/ Then maildrop will lookup the mailMessageStore attribute and put the
message in the proper location. Message ID is stored at the user's
duplicate.cache file. Filtering function is good.
However, I would the mail to invoke maildrop and do the delivery as
above. I made the following ldap entry.
However the resulting maildrop will ignore the trailing -d [EMAIL PROTECTED] and run maildrop as user 104
(qmaill), and attempt to deliver to qmaill, which is wrong.
How can I invoke maildrop and give parameter just like the command line?
thanks.
cn=user,ou=mail,....
deliverymode=normal
deliveryprogrampath="/usr/local/bin/maildrop -d [EMAIL PROTECTED]" mailHost=mail.domain.com [EMAIL PROTECTED] uid=user objectClass=top objectClass=qmailUser cn=user dialupuid=user mailMessageStore=/var/maildir/u/s/user mailQuota=20971520S,1000000C qmailgid=101 qmailuid=104
accountstatus=active userPassword={crypt}XXXXXXXXX |
- Re: deliveryprogrampath and maildrop Ken Lee
- Re: deliveryprogrampath and maildrop Claudio Jeker
- Re: deliveryprogrampath and maildrop Dan Melomedman
- Re: deliveryprogrampath and maildrop Dan Melomedman
