Sam Varshavchik wrote:

Daniel Kasak writes:

<snipped>

Sep 13 16:29:56 [imapd-ssl] /etc/courier-imap/shared/index: No such file or directory


This message is harmless. This is a new configuration file, and this diagnostic is issued as a reminder. You can make it a zero-length file to get rid of the warning.


Yeah I did that, and yeah it stopped the warnings.

Sep 13 16:29:56 [imapd-ssl] shared-folders/clients/522.52280 Tress Cocks and Maddox/tmp/1095056996.M481233P26440_sync.screamer.nusconsulting.com.au:


What the heck is that period doing in there? Periods are used as hierarchy delimiters, and are forbidden in folder names.

The period IS a hierarchy delimiter. Under the folder 'clients' we have a set of folders with the 1st 3 digits of the file's ID ( eg 522 ) and then under that we have a folder per file ( eg 52280 Tress Cocks Maddox )


Should the '522' folder be an actual folder in the server's filesystem? It's always worked perfectly the way we've had it. I've just checked the man page for maildirmake to see if I got it wrong. It states:

Folders cannot be created directly within other folders. Running maildirmake -f Urgent mail/Maildir/.Drafts will not work. Instead, the period character is designated as a hierarchy separator, run maildirmake -f Drafts.Urgent mail/Maildir instead.

The perl script we're using to create new folders ( when a file is signed up ) is using the command:


my $command = "/usr/bin/maildirmake -s write -f " . substr($row->{FileNo}, 0, 3) . "." . $row->{FileNo} . "\\ " . $new_companyname . " /mnt/stuff/shared_maildirs/clients/";

$row->{FileNo} is the file's ID ( coming from a database ) and $new_companyname is the company name with all the special characters 'stuff' removed.


so in the case of the example above, the command would have been:

/usr/bin/maildirmake -s write -f 522.52280\ Tress\ Cocks\ and\ Maddox /mnt/stuff/shared_maildirs/clients/

From my understanding of the instructions in the man page, we're doing it right. Have I mis-interpreted it?


--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au
Title: CanIt Vote for ID 99454





The following links have been inserted by the NUS Consulting internal spam filter and are for NUS Consulting staff only
Spam
Not spam
Forget previous vote

Reply via email to