Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th March 2006, 22:50
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default email@www.domain.com ??

Hmmmm not sure what did go wrong here, and I'm 100% sure that it was not like this before I did the update from 2.1.2 > 2.2.0!

When I go to any of the domains that are shown in sites, and than select the User & Email option and a user that the email address shows up as name@www.domain.com (see images)
The same problem is there when I create a new user.. it will show ....@www.domainname.com !



All the domains are setup like this:



I have also the same problem when I setup a new domain (like the image above).

When I create a new user for the just created domain it will always showup as @www.domainname.com.

Anyone here who knows how to fix this?

Last edited by edge; 15th March 2006 at 23:34.
Reply With Quote
Sponsored Links
  #2  
Old 15th March 2006, 23:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

This has changed in 2.2.0. It now shows the email addresses with the main domain of the web site - nevertheless all other domains do still work.

We are working on something that it shows all domains in one of the next versions.
__________________
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
  #3  
Old 15th March 2006, 23:37
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default

Quote:
Originally Posted by falko
This has changed in 2.2.0. It now shows the email addresses with the main domain of the web site - nevertheless all other domains do still work.

We are working on something that it shows all domains in one of the next versions.
Okay.. I guess it's only a cosmetic thing than (it does look strange.. support@www.domainname.com )

I forgot to say than the email (send/receive) does still work with the normal name@domainname.com address :-)
Reply With Quote
  #4  
Old 20th March 2006, 01:07
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default

Quote:
Originally Posted by falko
This has changed in 2.2.0. It now shows the email addresses with the main domain of the web site - nevertheless all other domains do still work.

We are working on something that it shows all domains in one of the next versions.
falko, or till,

I've done a new clean install on a test server here, and the problem as above is not on it! It's only on the updated version of ISPconfig (production server).

I know that it's not really a problem, but my customers keep calling me about this, and asking me what their real email address is!

When I look at the /etc/postfix/virtusertable it does show both email addresses:
Code:
name@www.domaine.com
name@domain.com
name@www.domaine2.com
name@domain2.com
name@www.domaine3.com
name@domain3.com
Is there some fix I can do to make it the same as the clean installed version of ISPconfig (without the www after the @)
Reply With Quote
  #5  
Old 20th March 2006, 09:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Quote:
Originally Posted by edge
Is there some fix I can do to make it the same as the clean installed version of ISPconfig (without the www after the @)
You can try this, its untested, so make a backup of the file before you modify it!

Edit the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php

replace line 97:

Code:
$out_email = '<input type="text" name="plugin[email]" size="10" maxlength="32" class="text" value="'.$user["user_email"].'">@'.$web["web_host"].".".$web["web_domain"];
with this:

Code:
$out_email = '<input type="text" name="plugin[email]" size="10" maxlength="32" class="text" value="'.$user["user_email"].'">@'.$web["web_domain"];
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 20th March 2006, 11:36
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts
Default

Quote:
Originally Posted by till
You can try this, its untested, so make a backup of the file before you modify it!

Edit the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php

replace line 97:

Code:
$out_email = '<input type="text" name="plugin[email]" size="10" maxlength="32" class="text" value="'.$user["user_email"].'">@'.$web["web_host"].".".$web["web_domain"];
with this:

Code:
$out_email = '<input type="text" name="plugin[email]" size="10" maxlength="32" class="text" value="'.$user["user_email"].'">@'.$web["web_domain"];
Jep... that did the trick..

Thank you till!
Reply With Quote
  #7  
Old 29th March 2006, 13:19
Miisca Miisca is offline
Junior Member
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Cool user@www...

Hi.

This is my first post here since all my earlier problems was solved by searching "threads".
Here we go...

Everyting works fine eccept for one of my sites getting the user@www.domain.se-syndrom when I create an account.
This occured after I realized that I wanted one of my customers to reach the site from his customer-site. I didn´t have the problem earlier.
Since I couldn´t find a way to transfer the site I had I decided to delete the site and re-create it.

I deleted the site, then I created it under my customer. I realized that my trashcan wasn´t empty so i "cleaned it".
But still I got the user@www.
Is it safe to change line 75 in the php-file as described earlier? If I do this and hit problems later on I know I won´t remember I did this change.

Also I have problem with recieving e-mails from my other sites. The server is a 2GHz AMD, with Mandriva2006 and ISPConfig 2.2.0.
I guess this comes from not have configured my outlook2003 correct!? Emailclient connects to the server but the server "times out".

Thanks for a GREAT forum and great work by projectfarm.

/Newbie
Reply With Quote
  #8  
Old 29th March 2006, 14:22
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Quote:
Originally Posted by Miisca
Hi.

This is my first post here since all my earlier problems was solved by searching "threads".
Here we go...

Everyting works fine eccept for one of my sites getting the user@www.domain.se-syndrom when I create an account.
This occured after I realized that I wanted one of my customers to reach the site from his customer-site. I didn´t have the problem earlier.
Since I couldn´t find a way to transfer the site I had I decided to delete the site and re-create it.

I deleted the site, then I created it under my customer. I realized that my trashcan wasn´t empty so i "cleaned it".
But still I got the user@www.
Is it safe to change line 75 in the php-file as described earlier? If I do this and hit problems later on I know I won´t remember I did this change.
Does the website as ha co-domain (domain.se) with empty host field? If not, create it.

You can change the .php file, but its only an "optical" display issue, the email addreses work fine.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 3rd April 2006, 00:48
JaJunk JaJunk is offline
Junior Member
 
Join Date: Jan 2006
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default

What if you don't want mail for www.domain.com only domain.com as alot of spam usually all that comes in on addresses with a host name as well.
Reply With Quote
  #10  
Old 3rd April 2006, 08:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
 
Default

You will have to change the ISPConfig code. ISPConfig creates always email addresses for the domain of the websites and its co-domains.
__________________
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


All times are GMT +2. The time now is 21:43.


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