Would someone be so kind as to pick this recipe apart?
PMDIR=.procmail
LOGFILE=$PMDIR/test.log
HOME=/home/silver
:0:
{
:0w
| $HOME/split -b150
cat $HOME/xaa | mail -s 1 silver(_at_)mobile(_dot_)net
cat xab | mail -s 2 silver(_at_)mobile(_dot_)net
cat xac | mail -s 3 silver(_at_)mobile(_dot_)net
cat xad | mail -s 4 silver(_at_)mobile(_dot_)net
cat xae | mail -s 5 silver(_at_)mobile(_dot_)net
rm $HOME/xa*
}
if I run 'split -b150 mail.msg' I get several files, xaa, xab, xac, etc...
If I type 'cat xaa | mail -s 1 silver(_at_)mobile(_dot_)net' it will send it
if I type rm xa*, it removes all the split files.
Now, in the recipe, it does only the first of the above three things. I'm
obviously way off base here, could someone show me the error of my ways?
-Josh
_______________________________________________________
Get FREE voicemail, fax and email at http://voicemail.excite.com
Talk online at http://voicechat.excite.com