Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm interested in accessing my IMAP accounts offline. I found that maildirs are a simple way to make it work. I found that [offlineimap] takes care of almost everything in making the IMAP->maildir sync happen. Then, I can open the account in Mutt or Wanderlust client.

One major problem, maildirs use colons in their filenames. Windows doesn't allow colons. I tried mount -f -s -b -o managed "d:/tmp/mail" "/home/of/mail" in Cygwin, but doing an echo test > /home/of/mail/test:file didn't work

I'm thinking about ext2fs, but I need an ext2 partition somewhere. Can I make a file into a partition somehow? I don't want to start modifying my hard drive's partition table. Besides, does anyone know if ext2fs will support colons in filenames?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

One major problem, maildirs use colons in their filenames.

On Windows, a semicolon ; is often used in Maildirs. Since offlineimap is written in Python, it shouldn't be hard to make it do the same.

Can I make a file into a partition somehow?

There should be a program that can do that. (I know there's VFDwin for floppy disk emulation.) If not, there's a (hacky) alternative: create a passwordless TrueCrypt volume.

I don't want to start modifying my hard drive's partition table

gparted with ntfsprogs works really well.

Besides, does anyone know if ext2fs will support colons in filenames?

All Unix filesystems do. (In fact, even Windows' NTFS does.)

But Win32 itself probably doesn't. For NTFS, it uses colons to separate the file path from the stream name (kinda like xattrs on ext3).

(It's possible to install a POSIX subsystem in Windows NT, it is (was?) called "Microsoft Services for Unix", but I doubt it'll help you with this issue.)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.