* Le Van Chi <[EMAIL PROTECTED]> [010418 06:45]:
> Thank you for your guide.
> However I still cannot get mail filters worked. My configuration include
> qmail (/var/qmail), vpopmail (/home/vpopmail), sqwebmail, maildrop
> (/usr/local/bin/maildrop)
>
> my /var/qmail/rc :
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start '|dot-forward .forward | /usr/local/bin/maildrop ./Maildir/'
This will not work for two reasons. First, there must be a \n before the
second |, ie
qmail-start '|dot-forward .forward
|/usr/local/bin/maildrop ./Maildir/'
[You're piping dot-forwards output to maildrop, not the message]
Secondly, this still won't work with vpopmail. qmail has no idea in which
./Maildir/ maildrop should look for the user...
> my /usr/local/share/sqwebmail/maildirfilterconfig :
> MAILDIRFILTER=../.mailfilter
> MAILDIR=./Maildir
>
> When I try to create a mail filter in sqwebmail, the filter rule is created
> successfully. I can see sqwebmail creating a .mailfilter file in
> /home/vpopmail/domains/fsps.com/a1/.
>
> Do I miss any configuration step?
You must put the maildrop invocation into a .qmail file inside the domain
directory...
-Johan
--
Johan Almqvist
http://www.almqvist.net/johan/qmail/
PGP signature