Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
imap folders with spaces and procmail recipes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Namor
n00b
n00b


Joined: 14 Jun 2002
Posts: 43
Location: Madison, WI US

PostPosted: Wed Dec 18, 2002 2:24 pm    Post subject: imap folders with spaces and procmail recipes Reply with quote

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
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Thu Dec 19, 2002 10:49 am    Post subject: Reply with quote

You have to quote any spaces with \, like in

Code:

:0:
* ^From:.nitro@gentoo.org
.Gentoo.Gentoo\ Forums/


Cheers,
Andreas
Back to top
View user's profile Send private message
fatal_2
n00b
n00b


Joined: 02 Nov 2002
Posts: 14

PostPosted: Fri Dec 20, 2002 1:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum