Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 30th June 2008, 17:05
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's definitely dovecot and the path to the mail_location.

If I change it to:
Code:
mail_location = maildir:~/Maildir
the normal user accounts work fine but the admin accounts don't work.

Error with admin is "No such file or directory" when trying to create the cur under Maildir. The admin accounts have a Maildir directory under home but when I ssh in as an admin user I can't cd into it. I'll continue to work on trying to fathom that bit out but if anyone has any ideas let me know!

Adam
Reply With Quote
Sponsored Links
  #12  
Old 30th June 2008, 17:38
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Email accounts work if you untick the Administrator option under User & Email - so really not sure what is going on. Odd that when you make a user an administrator it goes wrong. I can cope with it like this for now but not for ever.

AJ
Reply With Quote
  #13  
Old 1st July 2008, 00:29
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is actually causing me a really big problem now. I can't run sites as they run as the admin user not apache and if admin is on for a user I can't access email.

Can anyone help with this as it seems to me to be something ISPconfig does when the administrator box is ticked.
Reply With Quote
  #14  
Old 1st July 2008, 00:54
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Could it be a symlink permissions thing? This is where it seems to stumble. As a user it is already in the user home directory so goes straight to the proper Maildir. When an admin user it logs into the site root so the Maildir is a symlink - it is this bit it falls down on. As far as I can see permissions are ok though.
Reply With Quote
  #15  
Old 1st July 2008, 10:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
Originally Posted by ajw_doc View Post
Could it be a symlink permissions thing? This is where it seems to stumble. As a user it is already in the user home directory so goes straight to the proper Maildir. When an admin user it logs into the site root so the Maildir is a symlink - it is this bit it falls down on. As far as I can see permissions are ok though.
Thats all fine. The admin user has always these symlinks. Please run the command "ls -la" in the website root directory and post the output.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #16  
Old 1st July 2008, 10:17
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Till,

I managed to get it working (at least temporarily) by deleting the symlink and then re creating it. Why that has worked I can't tell you, but the two user's I tested it on had previously been deleted off the system and recreated and still didn't work.



Current output of ls-al is:

Code:
lrwxrwxrwx  1 root                 root       33 2008-06-30 23:02 Maildir -> user/name.domain.com/Maildir
So I checked another domain where I haven't recreated the symlink and here's the problem. The ISPconfig generated symlink is

Code:
lrwxrwxrwx  1 root                   root   46 2008-06-30 16:23 Maildir -> /home/web7/user/user.domain.com/Maildir
Obviously the admin user has issues accessing the domain like that so can I edit any of the ISPconfig files to change how it creates a symlink? Or is there something else that I can do?

Thanks,

AJ

Last edited by ajw_doc; 1st July 2008 at 10:19.
Reply With Quote
  #17  
Old 3rd July 2008, 00:05
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

BUMP... anyone?
Reply With Quote
  #18  
Old 3rd July 2008, 10:24
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry for the bumb but the symlink gets overwritten with a non working one everytime I make a change in ISPconfig. Can someone confirm either that it's or bug or which file to edit within ISPconfig to change the way it writes it? Please!
Reply With Quote
  #19  
Old 3rd July 2008, 18:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

It's not a bug.
You'd have to modify /root/ispconfig/scripts/lib/config.lib.php.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #20  
Old 3rd July 2008, 18:26
ajw_doc ajw_doc is offline
Member
 
Join Date: Jun 2008
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Cool I'll take a look.

If it isn't a bug what could the problem be? Permissions on the home directory?
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
cannot receive emails after made website online llamy General 20 27th December 2007 02:14
Cannot receive emails gorolla Installation/Configuration 10 6th September 2006 03:11
SMTP failed & can't receive new emails torusturtle Installation/Configuration 3 20th August 2006 20:48
Cannot receive emails skeeta Installation/Configuration 18 22nd April 2006 17:02
Cannot receive emails skeeta Installation/Configuration 10 3rd September 2005 10:14


All times are GMT +2. The time now is 00:05.


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