Create new directories in user accounts

Create new directories in user accounts

Postby sillyme » Fri Sep 21, 2007 3:21 pm

Is there a way to create new directory in a user account without logging in using the web interface?

Thanks
sillyme
 
Posts: 49
Joined: Wed Sep 19, 2007 3:30 pm
Location: Cincinnati, Ohio

Re: Create new directories in user accounts

Postby Code Crafters » Mon Sep 24, 2007 10:21 am

You can create new user directories by using some simple IMAP4 commands from a telnet window or script. Below is a telnet session showing the commands needed to login, create a new folder named "newfolder", rename it to "oldfolder" then delete it.

* OK Welcome to localhost, with Code-Crafters Ability Mail Server 2.60.
a LOGIN user pass
a OK LOGIN completed.
b CREATE newfolder
b OK CREATE completed.
c RENAME newfolder oldfolder
c OK RENAME completed.
d DELETE oldfolder
d OK DELETE completed.
Code Crafters
 
Posts: 933
Joined: Mon Sep 10, 2007 2:35 pm

Re: Create new directories in user accounts

Postby sillyme » Mon Sep 24, 2007 1:48 pm

Looks like that still requires me to login to the user account. I do not now all the users passwords so I need some other way to create them using the administrator login.

Thanks
sillyme
 
Posts: 49
Joined: Wed Sep 19, 2007 3:30 pm
Location: Cincinnati, Ohio

Re: Create new directories in user accounts

Postby Code Crafters » Tue Sep 25, 2007 9:22 am

You can create a skeleton password for the admin to access all user accounts in the General settings. Doing this would allow you to add folders like this. If you want to add folders to all users in a group you can add Permanent Preset Account Directories in the group settings. This will create permanent folders for each user in the group that can't be deleted by the users.
Code Crafters
 
Posts: 933
Joined: Mon Sep 10, 2007 2:35 pm


Return to General

Who is online

Users browsing this forum: No registered users and 25 guests

cron