#1  
Old 15th July 2009, 09:40
escu escu is offline
Junior Member
 
Join Date: Jul 2009
Posts: 7
Thanks: 0
Thanked 2 Times in 1 Post
Default Vmail folder location

Hello. I have installed ISPConfig 3.0.1.3 on CentOS 5.3. Everything works perfectly, so I decided to do a little tweaking

So, because I have a RAID 1 device, consisting of two 1 TB hard-disks which is mounted as /home, I decided both vmail folder and www folder should be placed in /home. I moved these two folders in /home and in Server Config -> Mail I have changed Maildir Path to /home/vmail/[domain]/[localpart] and Homedir Path to /home/vmail. Everything fine, but when I try to create new mailboxes, I get this error in mail logs:

Quote:
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
665EB5DE8ED 946 Wed Jul 15 10:05:38 apache@server1.domain.tld
(temporary failure. Command output: mkdir: cannot create directory `/var/vmail/domain.tld': No such file or directory maildirmake: /var/vmail/domain.tld/office: No such file or directory chmod: cannot access `/var/vmail/domain.tld': No such file or directory sh: /var/vmail/domain.tld/office/ispconfig_mailsize: No such file or directory /usr/bin/maildrop: Unable to open mailbox.)
office@domain.tld
The solution was a really simple one, just creating a symlink of /home/vmail in /var. Everything is fine now, but that's a small correction to be made to the code of this, otherwise, great thing called ISPConfig.


Cheers,

Cosmin
Reply With Quote
Sponsored Links
  #2  
Old 15th July 2009, 15:23
zond zond is offline
Junior Member
 
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what says command
ls -l /home/vmail
Reply With Quote
  #3  
Old 15th July 2009, 15:34
escu escu is offline
Junior Member
 
Join Date: Jul 2009
Posts: 7
Thanks: 0
Thanked 2 Times in 1 Post
Default

I have already fixed the issue by making that symlink. So now in my /home/vmail folder there are two folders: mailfilters and domain.tld which is normal.

What I was saying is that changing those folders in Server Config -> Mail (Maildir Path and Homedir Path) does not actually changes them; ISPConfig keep trying to use the default location (/var/vmail)
Reply With Quote
  #4  
Old 15th July 2009, 15:58
zond zond is offline
Junior Member
 
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by escu View Post
I have already fixed the issue by making that symlink. So now in my /home/vmail folder there are two folders: mailfilters and domain.tld which is normal.

What I was saying is that changing those folders in Server Config -> Mail (Maildir Path and Homedir Path) does not actually changes them; ISPConfig keep trying to use the default location (/var/vmail)
can you make a screenshot of Server Config -> Mail (Maildir Path and Homedir Path)

in webpanel ISPconfig a have System->Edit Server [ select server : example.com]-> (2 tabs ) Services and Config

and a can't change config between mailbox or maildir or locations

I think my installation of ISPconfig 3 is wrong

i will make screenshots
Reply With Quote
  #5  
Old 15th July 2009, 16:14
escu escu is offline
Junior Member
 
Join Date: Jul 2009
Posts: 7
Thanks: 0
Thanked 2 Times in 1 Post
Default

Here it is. ISPControl 3.0.1.3
Attached Images
 
Reply With Quote
  #6  
Old 15th July 2009, 16:37
zond zond is offline
Junior Member
 
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hm, i have this
but where you change from maildir to mailbox

and why maildrop says
(temporary failure. Command output: /usr/bin/maildrop: Unable to open mailbox.

but ispconfig uses maildir

or it's not important

Last edited by zond; 15th July 2009 at 16:48.
Reply With Quote
  #7  
Old 15th July 2009, 20:22
zond zond is offline
Junior Member
 
Join Date: Jul 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

my problem
http://www.howtoforge.com/forums/showthread.php?t=37461
Reply With Quote
  #8  
Old 16th July 2009, 10:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
 
Default

The answer to this is really simple. You can not change the location of the maildir in ISPConfig after it is installed or you will have to change the maildir also manually in all maildrop scripts.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Images not served by apache over a symbolic link folder hhhhhh Server Operation 0 27th January 2009 04:01
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10) mrtot HOWTO-Related Questions 26 29th December 2008 12:36
auto maildir cration jag7720 Server Operation 4 19th September 2008 23:20
Postfix with MySQL FreeVPS HOWTO-Related Questions 3 19th October 2006 20:54


All times are GMT +2. The time now is 02:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.