(08-17-2010 05:17 PM)kilburn Wrote: 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
Thanks a lot mate! It worked with recreating the mail storage folder and set the right permissions for it. You're the man!
Nick