4 messages in net.sourceforge.lists.courier-maildrop[maildropl] help with a file attachme...
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:[maildropl] help with a file attachment filter.Actions...
From:John Runnels (jrun@networkcloud.com)
Date:Dec 18, 2002 2:01:42 pm
List:net.sourceforge.lists.courier-maildrop

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 ''" 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 ???