atom feed2 messages in net.sourceforge.lists.courier-users[courier-users] IMAP Folders and the ...
FromSent OnAttachments
Michael NguyenMar 31, 2006 1:12 pm 
Sam VarshavchikMar 31, 2006 3:25 pm 
Subject:[courier-users] IMAP Folders and the ampersand
From:Michael Nguyen (mich@twentyten.org)
Date:Mar 31, 2006 1:12:44 pm
List:net.sourceforge.lists.courier-users

I noticed something in Courier... Let's say I make an IMAP folder called "Bonnie & Clyde". The folder gets created as "Bonnie &- Clyde", however the folder is returned as "Bonnie & Clyde" in the IMAP folder list. I assume that the &- is some sort of escaping that's done. So I have a question:

- Are there any other characters that Courier does this to? If so, what are they?

I ask because I'm implementing some direct folder delivery stuff and I'd like to know what characters I need to escape when I pass the maildir. Currently, I'm passing ${MAILDIR}/${FOLDER} to the delivery agent, and that's not correct. What ends up happening is the email gets delivered to say, "/home/michaeln/mail/.Bonnie & Clyde" instead of "/home/michaeln/mail/.Bonnie &- Clyde".

Thanks in advance!

Michael