1) Suppose your /var/qmail/rc is "qmail-start ./Maildir/ splogger qmail" 2) Did you enable localdelivery in the user profile in LDAP? (This forces another copy of message!) 3) Would it be better to user deliveryProgramPath to trigger procmail delivery instead of using .qmail file
kf ----- Original Message ----- From: "Mattias Webj�rn Eriksson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, February 02, 2002 5:07 AM Subject: procmail+ldap+qmail > Hello. > This is probably a bit off topic, but anyway (I'm using the LDAP patch). > I would like to filter my incoming mail with procmail. > My filter (in .procmailrc) for procmail is setup to move (not copy) the message > (if the filter is matched) to a subfolder of the Maildir directory. This does > work (my procmail logs says that anyway) but qmail-local (I guess) > still delivers a second "copy" of the mail to $HOME/Maildir (INBOX). > I end up having the message both in the subfolder and my INBOX, which was not > what I wanted. > > I've put this into my .qmail file: > preline /usr/bin/procmail /opt/users/webjorn.org/test/.procmailrc || exit 111 > > This is how I fire up qmail: > exec env - PATH="/var/qmail/bin:$PATH" \ > qmail-start ./Maildir splogger qmail > > > I tried to start qmail with > exec env - PATH="/var/qmail/bin:$PATH" \ > qmail-start '|preline procmail' splogger qmail > > but I got the same result. > > > Any suggestions? > > Best Regards > Mattias Webjorn Eriksson > > > -- > > > ------------------------------------------------- > Detta elektroniska brev skrevs av en Webj�rn, > fr�n: webmail.webjorn.org
