Procmail Script
Alright, so I wrote this procmail script for filtering spam with Spamassassin. The script detects if the message is flagged, and moves it to a designated spam folder if it is. My problem, is that I need to move it to the "Junk E-Mail" folder, which contains spaces. How do I tell the script how to handle the space, when a space does something scripting wise? I've tried a backslash before the space...even quotes and such. The script is as follows...
SPAMFOLDER=$MAILDIR.Spam/new
:0 wf
| /usr/bin/spamassassin -P
:0 w :$SPAMFOLDER/.lock
* ^X-Spam-Level: XXXXXXXX
$SPAMFOLDER/.
...any ideas?
Thanks,
Scott K Logan
CottsayNet
|