View previous topic :: View next topic |
Author |
Message |
Namor n00b
Joined: 14 Jun 2002 Posts: 43 Location: Madison, WI US
|
Posted: Wed Dec 18, 2002 2:24 pm Post subject: imap folders with spaces and procmail recipes |
|
|
Can anyone tell me how to write a procmail recipe so it will deliver to an imap folder with spaces in the name?
Right now here is what I have for example:
:0:
* ^TO_php-general@lists.php.net
.Linux.PHP General/
This does not seem to be working. Any ideas, other than to create folders without spaces? |
|
Back to top |
|
|
asimon l33t
Joined: 27 Jun 2002 Posts: 979 Location: Germany, Old Europe
|
Posted: Thu Dec 19, 2002 10:49 am Post subject: |
|
|
You have to quote any spaces with \, like in
Code: |
:0:
* ^From:.nitro@gentoo.org
.Gentoo.Gentoo\ Forums/
|
Cheers,
Andreas |
|
Back to top |
|
|
fatal_2 n00b
Joined: 02 Nov 2002 Posts: 14
|
Posted: Fri Dec 20, 2002 1:52 am Post subject: |
|
|
As a related follow-up to this question,
how do i specify in the procmailrc the default directory when using maildir?
I did:
Code: |
MAILDIR=$HOME/.maildir
....
# default
:0:
$MAILDIR
|
but it just creates files in the actual ~/.maildir with names like msg.xrt and msg.ueZB
instead of putting them in .maildir/new/.....
any ideas?
[edit] sorry to answer my own question, but to make it work I just needed a trailing slash on the default scenario.. ie:
Code: |
# default
:0:
$MAILDIR/ |
|
|
Back to top |
|
|
|