Hi there!
Now this is what I got!! Will this work?
I can get this to work in each users .procmailrc
But what would happend if I took this and saved it as test.rc
Can I then make this execute by a call from .procmailrc
I would like to have this global for all users. And those
attachments will drop down in a folder which I controll.
<>My adding :-)
<>:0
<>* 9876543210^0 \
<>^Content-[-a-z0-9_]+:.*=?[^"]*\.(vb[se]|ws[fh]|hta|shs|exe)
<>* 9876543210^0 B ?? ^Content-[-a-z0-9_]+:.*($[ \
<>].*)*="?[^"]*\.(vb[se]|exe|ws[fh]|h$)
<>*!^X-Loop: TO_=`formail -zxTo:`
<>{
<>TO_=`formail -zxTo:`
<>SUBJ_=`formail -zxSubject:`
<>FROM_=`formail -rtzxTo:`
<>METMAIL_TMPDIR=/path_to_somewhere
<>:0 fw
<>|metamail -q -x -w > /dev/null #<- Rui talked about a leak here?
<>:0 fwh
<>| (formail -r -A"X-Loop: $TO_" \
<>-I"To: $TO_" \
<>-I"Subject: $SUBJ_" \
<>-I"From: $FROM_" \
<>echo ""; \
<>echo "You have recieved an attachment. Please contact me"; \
<>echo "") \
<>| $SENDMAIL $SENDMAILFLAGS -t
<>}
/Micke
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail