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
  #1  
Old 3rd September 2008, 14:12
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 261
Thanked 150 Times in 130 Posts
Default creating email address for a co-domain

Anyone here who might know if it's possible to create an email address for a co-domain?

Example. I have in ISPconfig a client who's main domain is: example.com
Now he got an extra domain named: the2nddomain.com

I've added "the2nddomain.com" in the co-domains, and now when going to "the2nddomain.com" it does show the "example.com" page.
The client now also wants an email address for "the2nddomain.com" (it's only for receiving mail).

Problem: How do I create this email address?
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
Sponsored Links
  #2  
Old 3rd September 2008, 14:39
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

A co-domain is an alias for another domain, which means it's not necesarry to create a seperate mailbox.
In your case the2nddomain.com is an alias for example.com.

If you create the following co-domains for example.com:

co-domain 1:
host = www
domain = the2nddomain.com

co-domain 2:
host = (empty)
domain = the2nddomain.com

When an e-mail has been send to user@example.com, the mail will also arrive at user@the2nddomain.com.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #3  
Old 3rd September 2008, 16:08
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 261
Thanked 150 Times in 130 Posts
Default

Hi Hans.. I'm aware of what you are saying, but this is not what I'm asking. (or I'm misreadings your reply)

I've got one main domain: example.com
For that account, I've got one co-domain: the2nddomain.com
Going to www.example.com, example.com, www.the2nddomain.com and the2nddomain.com works fine.

The client has got email setup for @example.com
Now he also wants an info@the2nddomain.com email address.
It's okay with him if it gets forwarded to the @example.com address.
(note that the MX record for the2nddomain.com is setup okay.)

So.. Question is.. How do I get ISPconfig to accept email for the2nddomain.com without creating a "main domain" account for it.
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #4  
Old 3rd September 2008, 17:19
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 261
Thanked 150 Times in 130 Posts
Default

Okay..

I got it working.

I needed to add the email address to the "virtusertable" (below the #### MAKE MANUEL ENTRIES BELOW THIS LINE! ####), and point it to the web17_info (the accout) of that user.
After that I reload the file...
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #5  
Old 3rd September 2008, 17:45
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
 
Default

Quote:
Originally Posted by edge View Post
So.. Question is.. How do I get ISPconfig to accept email for the2nddomain.com without creating a "main domain" account for it.
Ok, with this info i understand where you've asked for.
Sorry for misunderstanding.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
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
Duplicate Email Address .... Why??!!? vaio1 Installation/Configuration 18 19th September 2007 15:38
Steps for creating virtual email boxes satimis Server Operation 1 13th June 2007 01:15
email forwarding locally consumes all resources rdells General 20 1st May 2006 19:43
Second server cannot send email to own domain (hosted on first server) benbalbo Installation/Configuration 20 12th April 2006 05:54
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 19:27.


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