Procmail Strings

2 views
Skip to first unread message

Wesley

unread,
May 27, 2009, 10:36:39 AM5/27/09
to Regex
I'm trying to use procmail to (among other things) mark mail as read.
I've got a file that does the marking that I feed the mail in to, but
before I do, I set a variable $foldername to hold the folder that I
want the email to go in. The recipe looks like this:

:0:
* ^Subject:.*\[test\]
{
foldername="$DEFAULT/.Mailing\ Lists.Test\ Folder"
SWITCHRC=$HOME/.procmailrc_mark_as_read_maildir
}

The problem here is that my mail never ends up in the correct folder.
If I change the name so it doesn't have spaces in it, everything seems
to work just fine. Does anyone know how I can get spaces in a
variable name?
Reply all
Reply to author
Forward
0 new messages