PDA

View Full Version : Multiple Email Accounts with Multiple Domains



richardz
10-02-2003, 11:49 AM
I called your sales department to talk about upgrading the the $18.95 Deluxe plan but was dissapointed to find out that you can't have multiple email accounts in conjunction with different domains. The option offered was redirecting the emails with an alias but I would like to be to have the ability to have dedicated emails along with the ability to log into webmail and access domain1.com seperately from domain2.com, and so on. Is this a feature that your company would be willing to work on and provide?

REC-WH
10-03-2003, 08:01 AM
I called your sales department to talk about upgrading the the $18.95 Deluxe plan but was dissapointed to find out that you can't have multiple email accounts in conjunction with different domains. The option offered was redirecting the emails with an alias but I would like to be to have the ability to have dedicated emails along with the ability to log into webmail and access domain1.com seperately from domain2.com, and so on. Is this a feature that your company would be willing to work on and provide?

Thanks,
Richard Zmijewski

I also would be interest in the ability to have separate email addresses for each domain. I thought this would be possible because customer of reseller would want their own email address for their site.

CM

MacToph
10-03-2003, 11:14 AM
I don't know about multiple email domains on a standard or advanced package, but you can definitely do that with a reseller package if that is any help?

salzan
01-28-2004, 05:05 PM
I've been up and running since 1998 and this is the first host I've used that allows multiple domains without allowing multiple domain email accounts. I'm very disappointed with this and would never have signed up with Westhost had I known in advance. Now I have to change hosts again before my 30 days are up for the refund. :( :(

MacToph
01-28-2004, 08:27 PM
Salzan,
Check out this post before you leave, it looks like there might be a way to do it, it just involves a little work:

http://forums.westhost.com/phpBB2/viewtopic.php?t=1407

salzan
01-28-2004, 08:59 PM
Thanks MacToph, but I'm not sure that method will work. I have commercial websites and I need to be able to reply to email from the proper addresses. If a client writes to mysite@domain.com, I don't want to send replies from someothersite@somewherelse.com :wink:

<-- R O B -->
01-29-2004, 05:15 AM
Hi Salzan

I have implemented the ideas in the thread MacToph pointed you to and it works fine.
Here's a quick run down of what I did when creating the email account rob@pollen-8.co.uk:

1. Create a user in sitemanager which includes the domain that the perosn belogs to - e.g. rob.pollen-8.co.uk. Give the user email and ftp access (not sure if you need ftp - but I gave it anyway)

2.SSH into your site and type:



cd /etc/mail
vi virtusertable


This will open the virtuser file. Scoll down to the bottom. You will have a list of entries for your user and each of the domains that you have enabled email for - eg:



rob.pollen-8.co.uk@pollen-8.co.uk rob.pollen-8.co.uk
rob.pollen-8.co.uk@anotherdomain.co.uk rob.pollen-8.co.uk

Delete the lines for each of the domains that you don't want that user to access (press d twice to delete a line)
And then edit the line (press x to delete chars) with the correct domain so that the email address is correct:


rob@pollen-8.co.uk rob.pollen-8.co.uk


Write and exit the file (type wq)

Remake the virtualusertable by typing



makemap hash virtusertable &lt; virtusertable


And thats it!

P.S. if you want to set up a catch all email address for a domain simply add this line into the virtualusertable



@pollen-8.co.uk rob.pollen-8.co.uk


This will send all emails for the domain pollen-8.co.uk to the user rob.pollen-8.co.uk[/code]

<-- R O B -->
01-29-2004, 05:16 AM
Plus - isn't your reply from address set up in your email program rather than on the server?

salzan
01-29-2004, 08:40 AM
Thanks for the support folks, I do appreciate the help but since I signed up with Westhost I've spent more time on the phone to support than I can remember for any issue. It's odd that this fix isn't implemented right away through support instead of leaving me on own to figure it out. I spent last night looking at other forums for info on this and discovered what you all went through with this host last Fall. Since I've had so much trouble already, and I'm not even here yet, I think I'll find another provider with an interface I'm more familiar with and not waste any more of anybody's time.
Best wishes and good luck to you all.

computersmarts
02-03-2004, 10:27 AM
I share the same troubles as you, only I have been a WestHost customer for 5 years! I found this hack above out on my own, with NO HELP FROM WESTHOST! Once I found it I was very shocked on how easy it is to do. I do not know why WestHost does not update their control panel to make it user friendly for customers.


Any comments from WestHost?

warren
05-27-2004, 06:05 PM
Hey Folks, I was just browsing this category and was suprised to this email topic again in this forum. It has over 1200 views in the Email Management forum (Can I set up email accounts for multiple domains
).

I too have a number of sites with WH over 5 years and have been very happy until now. I want to resell sites and use multiple domains but have been holding back opening another account because of this issue. I am SHOCKED that WH is totally silent on this issue other than to point you to the "CK1" hack
( http://forums.westhost.com/phpBB2/viewtopic.php?t=1407&amp;start=0 )

It does work well especially if you use this trick I devised (see CK1's post above for full details)
Edit /etc/mail/virtualusertable file

2. I added the new users to the end of the file like this. (Note instead of using sally and mark as alais (read mailbox names) I devised this format which is very descriptive and will not confuse the end user

john@domain1.com john.domain1.com
john@domain2.com john.domain2.com

(john@domain1.com uses john.domain1.com as mailbox name instead of using mark)

(john@domain2.com uses john.domain2.com as mailbox name instead of using sally)

After further experimentingI think I see the "root" of the problem.

If you have multiple domains (domain1.com, domain2.com, etc) select any one of them and make a new mail box in manger i.e. test@domain2.com

Now go to/etc/mail/virtualusertable and take a look at it,you will see test@domain1.com and test@domain2.com and test@domain3.com, etc for every domain you have!! Obviously something is a miss inmanager for doing this. Other brands of control panel do not have this problem so its an issue with the VPS structure or the manager.

So I'm going to a) find a "hackless"solution or b)go elsewhere sinceWH continues to turn a deaf ear to this issue.

imageforward
08-05-2004, 09:41 AM
I also resell the 'extra' domains from my account and have Email configuration problems.
domain1.com
domain2.com
domain3.com
I cannot have 2 of the same user names:
john@domain1.com &amp; john@domain2.com

Also in Neomail, those users can choose from a drop down list - any of the domains. I don't want my clients to be able to choose, they should be locked to their domains only. I don't want to have to go alter code somewhere - there should be a GUI to choose these options.

There doesn't seem to be a way for users to change their own Email passwords. I can change them as the administrator.

Finally, the default directory structure places all the extra domains I create inside my master domain directory. Each domain, including the master should have their own directory.

FZ
08-05-2004, 11:20 AM
Also in Neomail, those users can choose from a drop down list - any of the domains. I don't want my clients to be able to choose, they should be locked to their domains only. I don't want to have to go alter code somewhere - there should be a GUI to choose these options.

You can edit the Neomail options file: /var/neomail/neomail.conf and change/remove the domains from this line:


@domainnames = qw&#40; domainone.com domaintwo.com &#41;;


There doesn't seem to be a way for users to change their own Email passwords. I can change them as the administrator.

Point them to http://yourdomain.com/users/ - they can use their assigned username and password to log in to their own "mini Site Manager", which gives them a few options, including the ability to change their own password.


Finally, the default directory structure places all the extra domains I create inside my master domain directory. Each domain, including the master should have their own directory.

Not quite sure what you mean, but if you really want to, you can modify Apache configuration to point to any directory you want to for each domain ("virtual hosts"). So, you could create (for example) /var/www/domain2 and use that instead of using /var/www/html/domain2...