Current time: 11-23-2024, 09:53 PM Hello There, Guest! (LoginRegister)


Post Reply 
Problem with ispCP folders
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Problem with ispCP folders
If I remember correctly, Maildir folders are automatically created by the delivery agent if they don't exist. Hence, you just have to create the "/home/hosting/mail/virtual" folder, "chown vmail:mail" it and wait for messages to come in...

It is also possible that the delivery agent refuses to create the parent (domain) folder though. If this is the case, you can use a quick script to create all the folders. For example, you could use the "domaint.tld.db" files created for the dns zones as a reference:
Code:
# cd /var/cache/bind
# for f in *.db; do mkdir /home/hosting/mail/virtual/${f%.db}; chown vmail:mail /home/hosting/mail/virtual/${f%.db}; done

Finally, as an alternative, you can also regenerate all the configurations using the ispcp-update (warning: this will regenerate all the panel-controlled configurations!):
Code:
# cp /etc/ispcp.conf /etc/ispcp.conf.old
# cd /var/www/ispcp/engine/setup
# perl ispcp-update
# rm /etc/ispcp.conf.old
(This post was last modified: 08-17-2010 05:22 PM by kilburn.)
08-17-2010 05:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with ispCP folders - NIIcK - 08-17-2010, 03:47 AM
RE: Problem with ispCP folders - kilburn - 08-17-2010 05:17 PM
RE: Problem with ispCP folders - NIIcK - 08-17-2010, 07:02 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)