What I was hoping for was: foo/ Maildir/ courierimapsubscribed new/ cur/ tmp/ .JunkMail/ new/ cur/ tmp/
I have included the source for what I am doing currently and have done in
the past. Any help would be appreciated.
It's even easier now.
Look in the source for this:
const char *dirnames[] = {"Maildir", "Maildir/new", "Maildir/cur", "Maildir/tmp"};
And update it like so:
const char *dirnames[] = {"Maildir", "Maildir/new", "Maildir/cur", "Maildir/tmp", ".JunkMail", ".JunkMail/new", ".JunkMail/cur", ".JunkMail/tmp"};
The courierimapsubscribed code should work as included -- consider removing the chdir though so you don't mess up the rest of the code.
Also take a look at <http://vpopmail.sf.net/>. in the patches section I think there's code to copy a skeleton directory for new users.
-- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/