ok sounds good. but I desperately ask what about the rule ?? it does not
work. I am trying to filter out .exe's .txts ext... based on a filter file
that to person file out from a web page. the expression does not evail
properly and I have tried everything !!!! please help sir.
Thanks
John
----- Original Message -----
From: "Ruprecht Helms" <rhe...@mayn.de>
To: "John Runnels" <jrun...@networkcloud.com>
Cc: <cour...@lists.sourceforge.net>
Sent: Thursday, December 19, 2002 2:56 AM
Subject: RE: [maildropl] help with a file attachment filter.
Hi John Runnels,
I am trying to filter out extensions based on a file. my filter is not
working and help would be greatly appreciated.
thanks in advance.
John Runnels
if ( /.*name=.*\./:b && lookup( $MATCH2, "$ATTACHEXT" ))
{
cc "| /usr/bin/mailbot -t $PHOME/.filter/attach/b_txt \
-s '$ATTACHBSUB' -A 'From: $ATTACHBADD' \
/usr/sbin/sendmail.postfix -f ''"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
/var/qmail/bin/sendmail or /var/qmail/bin/qmail-inject
to $PHOME/Maildir/.attach
}
I am running 1.4.0 ver of maildrop
on qmail
in the var $ATTACHEXT is the value "txt"
not ".txt" does this matter ???
the suffix you only have using windows not on linux/unix.
Beware of using a responderline in filterrules or from there executed
scripts.
At the moment I've disabled such a script because of multiple sending of
mails.
Regards,
Ruprecht
Tel/Fax.: +49[0]7621 16 99 16
Homepage: http://www.rheyn.de
email: in...@rheyn.de