Stripping Question1995-11-22 16:46:36If a set of conditions exist I would like to strip out the e-mail address of a sender, delete the rest of the file and append a single file with these addresses. So far, my attempt looks like this: MAILDIR=$HOME/mail TO=`/usr/local/bin/formail -x TO: :0 H B * .*stop $MAILDIR/IN.stopsending | echo $TO >> $MAILDIR/IN.stopsending/dontsend :0 H B * .quit $MAILDIR/IN.stopsending | echo $TO >> $MAILDIR/IN.stopsending/dontsend Does anyone have any idea what I'm doing wrong? Thanks in advance. Thomas
|
|