
13th July 2006, 08:08
|
|
Senior Member
|
|
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
cleanup problems with 2.2.3
Hey all,
more issues with ISPconfig 2.2.3 I've been seeing.
I've noticed that there seems to be non cleaning up of things.
eg.
I setup MX and setup a user, postfix all works. I now remove the user and empty the recycle bin and then remove the MX as well as set the Local Mailserver set to now be External Server but I still see postfix is managing the mail and virtusertable is still showing the user account address there.
Another one is I created a site and then once it's visible, I change the name from test.domain.com to www.domain.com
All works fine but I noticed this :
PHP Code:
lrwxrwxrwx 1 root root 13 Jul 13 13:25 test.domain.com -> /var/www/web4
drwxr-xr-x 8 web2_user1 web2 4096 Jul 13 15:23 web2
drwxr-xr-x 8 web4_user2 web4 4096 Jul 13 14:08 web4
drwxr-xr-x 8 web5_test web5 4096 Jul 13 14:36 web5
lrwxrwxrwx 1 root root 13 Jul 11 13:26 www.domain.com -> /var/www/web2
so even though that test is now www, the symbolic link still exists. Not big drama but can get quite confusing.
I've been seeing similar things in other places too which i haven't noted down yet.
|

13th July 2006, 12:55
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,185 Times in 3,202 Posts
|
|
Quote:
|
Originally Posted by djtremors
Hey all,
more issues with ISPconfig 2.2.3 I've been seeing.
I've noticed that there seems to be non cleaning up of things.
eg.
I setup MX and setup a user, postfix all works. I now remove the user and empty the recycle bin and then remove the MX as well as set the Local Mailserver set to now be External Server but I still see postfix is managing the mail and virtusertable is still showing the user account address there.
|
Did you set the co-domain of this website to external mailserver too?
Quote:
Another one is I created a site and then once it's visible, I change the name from test.domain.com to www.domain.com
All works fine but I noticed this :
PHP Code:
lrwxrwxrwx 1 root root 13 Jul 13 13:25 test.domain.com -> /var/www/web4
drwxr-xr-x 8 web2_user1 web2 4096 Jul 13 15:23 web2
drwxr-xr-x 8 web4_user2 web4 4096 Jul 13 14:08 web4
drwxr-xr-x 8 web5_test web5 4096 Jul 13 14:36 web5
lrwxrwxrwx 1 root root 13 Jul 11 13:26 www.domain.com -> /var/www/web2
so even though that test is now www, the symbolic link still exists. Not big drama but can get quite confusing.
|
Yes, thats a known Issuse. The problem is that the server script does not "know" the old domain so it can not remove the smlink correctly and checking all symlinks every time a domain is changed costs to much processing time.Maybe we will solve it with a cronjob that cleans up the symlinks from time to time.
|

13th July 2006, 13:09
|
|
Senior Member
|
|
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
PHP Code:
Did you set the co-domain of this website to external mailserver too?
Yeah I noticed there's 2 sets of MXs, the www+domain and the domain itself.. both are set to "External Mailserver". Both MXs are turned off and the DNS is showing that it's correct but the /etc/postfix/local-host-names still shows the domain.
So now my webserver is sending emails to itself instead of the real mailserver for the domain, which then bounces.
There's aldo virtualusertable entries.
|

13th July 2006, 13:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,185 Times in 3,202 Posts
|
|
Quote:
|
Originally Posted by djtremors
PHP Code:
Did you set the co-domain of this website to external mailserver too?
Yeah I noticed there's 2 sets of MXs, the www+domain and the domain itself.. both are set to "External Mailserver". Both MXs are turned off and the DNS is showing that it's correct but the /etc/postfix/local-host-names still shows the domain.
So now my webserver is sending emails to itself instead of the real mailserver for the domain, which then bounces.
There's aldo virtualusertable entries.
|
I'am not talking about MX records, as they are not connected to the postfix configuration.
Please check the options tab of the website of this domain and the co-domains if they are set to external mailserver (in ISPManager).
|

13th July 2006, 13:19
|
|
Senior Member
|
|
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Yeha I know MX isn't to do with Postfix but was making sure as I don't want the MX to point to itself as the Mail server anyway.
OK, i figured what it was.. it's in the Users & Emails section. I removed this account but now that I've done that, the emails are gone but so has access to the FTP.
I can't create an FTP user that doesn't require an email address? I think this is where I'm getting confused.
Oh, I'm talking about real ftp and not via the Web-FTP which is useless when copying 10 folders with multiple subfolders and no CHMOD functions.
Last edited by djtremors; 13th July 2006 at 13:28.
|

13th July 2006, 13:29
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,185 Times in 3,202 Posts
|
|
Quote:
|
Originally Posted by djtremors
Yeha I know MX isn't to do with Postfix but was making sure as I don't want the MX to point to itself as the Mail server anyway.
OK, i figured what it was.. it's in the Users & Emails section. I removed this account but now that I've done that, the emails are gone but so has access to the FTP.
I can't create an FTP user that doesn't require an email address? I think this is where I'm getting confused.
|
You can create an FTP user without an email address by setting the email domain to external. Make sure you set it to external on the options tab of the website and the options tab of the co-domain.
If the domain is set to external mailserver, ISPConfig does not add this domain to the postfix configuration.
|

13th July 2006, 13:34
|
|
Moderator
|
|
Join Date: Jul 2006
Posts: 1,016
Thanks: 7
Thanked 56 Times in 51 Posts
|
|
Quote:
|
I can't create an FTP user that doesn't require an email address? I think this is where I'm getting confused.
|
Actually no, I asked that already, because I was confused about that, also.
|

13th July 2006, 13:40
|
|
Senior Member
|
|
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
OK, double checked that both domain and co-domain have both external mailserver on.
created a new user and getting
Field: Email
The email address must contain between 1 and 60 letters or numbers.
What other things does it check besides External Mailserver that triggers this? Or tell me which php code and where abouts, I'll could figure out whats triggering the error.
@Ben: nothings impossible. Just needs patching  But if it truely suppose to do it then so be it....
Last edited by djtremors; 13th July 2006 at 14:05.
|

13th July 2006, 14:29
|
|
Senior Member
|
|
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
I could try finding this in code but not only the lack of comments but it's in german.. argh... he he...
|

14th July 2006, 11:21
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by djtremors
OK, double checked that both domain and co-domain have both external mailserver on.
created a new user and getting
Field: Email
The email address must contain between 1 and 60 letters or numbers.
What other things does it check besides External Mailserver that triggers this? Or tell me which php code and where abouts, I'll could figure out whats triggering the error.
|
The code is in /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php in the functions insert() and update(), something like this:
Code:
if(!preg_match("/^[a-zA-Z][\w\.\-\_]{0,60}$/",$email)) {
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 08:55.
|
Recent comments
1 day 23 hours ago
2 days 8 hours ago
2 days 11 hours ago
2 days 12 hours ago
2 days 14 hours ago
2 days 15 hours ago
2 days 17 hours ago
2 days 18 hours ago
3 days 10 hours ago
3 days 11 hours ago