4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] help with a file atta...
FromSent OnAttachments
John RunnelsDec 18, 2002 2:01 pm 
Ruprecht HelmsDec 19, 2002 2:58 am 
John RunnelsDec 19, 2002 6:44 am 
Hanno HeckerDec 19, 2002 7:00 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] help with a file attachment filter.Actions...
From:John Runnels (jrun@shithead.com)
Date:Dec 19, 2002 6:44:40 am
List:net.sourceforge.lists.courier-maildrop

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