On Mon, Jun 20, 2005 at 03:41:43PM +0200, Christian Cernuschi
wrote:> Hi..
> I have a little problem exporting Cyrus Imap /var/spool/imap folder.
>
> Cyrus saves all messages using a Number followed by a dot.
>
> i.e.
> mailserver 24m # ls -l
> total 304
> -rw------- 1 cyrus mail 7188 Jun 20 09:17 5077.
> -rw------- 1 cyrus mail 4843 Jun 20 10:14 5078.
> -rw------- 1 cyrus mail 9431 Jun 20 10:45 5079.
> -rw------- 1 cyrus mail 196093 Jun 20 10:45 5080.
> -rw------- 1 cyrus mail 5050 Jun 20 11:24 5081.
> -rw------- 1 cyrus mail 4752 Jun 20 13:00 5082.
> drwx------ 2 cyrus mail 4096 Jun 16 01:53 Posta eliminata
> drwx------ 2 cyrus mail 4096 Jun 16 01:53 Posta in uscita
> drwx------ 2 cyrus mail 4096 Jun 16 01:53 Posta inviata
> drwx------ 2 cyrus mail 4096 Jun 16 01:53 Trash
> -rw------- 1 cyrus mail 27164 Jun 20 13:00 cyrus.cache
> -rw------- 1 cyrus mail 157 May 30 16:11 cyrus.header
> -rw------- 1 cyrus mail 436 Jun 20 14:54 cyrus.index
>
>
> as you see email file always end with a dot.
>
> I'm trying to export to a win2k3 server (which browses my mailserver)
>
> So..
> only files with trailing dots cannot be read from win.
> I tried:
>
> 1 - mangle name=no -> i see file name but i cannot read it (i guess
> win2k3 cuts trailing dots)
> 2 - mangle name=yes,mangled map=(*. *.eml) or (*. *) -> i cannot read
> file (because win2k3 asks for a file that doesn't exists)
> 3 - mangle name=yes (no magled map) - readable file,incorrect name
> files.
>
> Is there a way to solve this?
Not currently for Windows. mangled map has really been deprecated (and
somewhat unmaintained) for a while. A better solution would be a 2-way
mapping function allowing a matching type to be mapped reversibly into
another name. Windows definately removes trailing dots from files.
Jeremy.