--Lanny Baron wrote on 28.08.2001 05:51 +0000:
> Hello,
> I have read the docs for the mailfilter. So far the button for the filter
> appears on the web page. However when trying to get it to save a rule, it
> comes back with "contact your administrator". Well I can't fire myself just
> yet. If I understand the docs at all, the maildirfilterconfig file has to be
> where the Maildir is but, if you have several hundred users all using
> vpopmail with sqwebmail, then you have a problem with one Maildir.
Every user has his own maildir, even with vpopmail, but I really dont
know if all vpopmail-users share the same .dot-qmail and $HOME.
Maildrop requires individual $HOME for each user, or an individual
.dot-qmail where you have a chance to adjust the environment.
What is your default delivery ? Maildrop must be mentioned there,
and you have to know the values of $HOME and $MAIL (or $DEFAULT).
> The > README.maildirfilter.html says "For SqWebMail, install
maildirfilterconfig in
> /usr/local/share/sqwebmail" but how do you get it to work??? The
Just create (touch) this file, dont worry about content until you
come to the part of the real $MAILDIR/maildirfilterconfig :)
<snip>
In order for mail filtering to be enabled, it is necessary to
initialize the file named maildirfilterconfig in the maildir itself.
</snip>
> instructions on the same web page show that the following contents of the
> file must contain: MAILDIRFILTER=pathtomailfilter
> MAILDIR=pathtomaildir
> That is fine and dandy. If the maildirfilterconfig is in
> /usr/local/share/sqwebmail what are the correct paths for MAILDIRFILTER and
> MAILDIR? I have used MAILDIRFILTER=../../filter.html But the MAILDIR, I have
MAILDIRFILTER points to the file $HOME/.mailfilter for this user, which
is usually one level above the Maildir (../.mailfilter).
This file will be created by SQWebmail whenever you click on 'save'.
Use absolute paths if you feel more comfortable with them.
The contents of MAILDIR on the other side gets inserted into .mailfilter
whenever Maildrop delivers something to the Default-Rule (cwd at $HOME).
This is usually the same as $DEFAULT (./Maildir) but could also be
something like "| sendmail -f $SENDER [EMAIL PROTECTED]" if
you really want.
At my Toaster $HOME and $MAILDIR are located in the same directory.
Roland