Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    2

    Exclamation Virtual Domains and Multiple Email Accounts

    After several hours of research yesterday at this site and other technical sites - I finally decided to get on the WestHost chat support to ask about setting up an additional domain email account. Unfortunately, I was turned away with the message that WestHost does not support the issue.

    It was somewhat dissapointing to say the least, especially when I read all the other posts inquiring about the same problem. Actually, I'm almost willing to put money on the fact that email problems (including the difficulty of setting up addtional domain emails; ie: thomas@domain2.com) are the majority of customer issues. Now, I'm not able to continue with my site until I figure out a way of getting a respectable looking email address.

    It's even worse reading posts from over two years ago of people complaining about the same problem (see http://forums.westhost.com/showthrea...+mail+servers).

    I'm not one to complain, but right now I'm still looking for a solution. Actually, during my research yesterday I came upon the Sendmail (http://www.sendmail.org/) website. I spent a good amount of time reading it and noticed they have made quite a bit of improvements since WebHost last installed it. Currently, WestHost is using version 8.1.2 - which is lacking a lot of the features their new 8.9.3 version implements. One of those features happens to be the ability to quickly and easily configure multiple virtual domain email accounts. The other feature includes an anti-spam utility, which would be quite nice too - especially with the recent increase in junk-email.

    I'm guessing this is why I've had no luck trying the few Sendmail techniques posted on this forum, as it looks like Sendmail never supported this in the past. Maybe it's just me, but I couldn't get any of the methods to work located at; http://forums.westhost.com/showthread.php?t=7963, http://forums.westhost.com/showthread.php?t=9807, and http://forums.westhost.com/showthread.php?t=6674. The last thread has over 8,000 views. Hmmmm....

    Finally, let me just say that you all offer a terrific service here at WestHost. I really do appreciate the 24 hour tech support and the live help option. Your staff is great - always providing quick and helpful answers. Thank you very much!

  2. #2
    Senior Member jalal's Avatar
    Join Date
    May 2003
    Location
    Germany
    Posts
    1,377

    Default

    Harris, you are right that the issue is to do with sendmail and it's support of virtual domains. I guess when, and if, there is an upgrade it will become easier for us.

    The other side of the issue is that Westhost has created a system here where you can easily and cheaply give each domain it's VPS and then it becomes very simple. Most of the problems arise because some folks try and treat a WH VPS (for $4/month) the same way as a 'normal' VPS costing $90/month. Where a 'normal' VPS allows you to create lots of domains and uses something like Postfix for mail. So, there are pro's and con's to the way things are here....

    Oh, and Welcome to WestHost

  3. #3
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,720

    Default

    Jalal brings up a very good point. I think that many people forget that WestHost also offers Reseller accounts that include more then one VPS for as little as $1.49 a month per VPS! What a deal. Granted that is 100 individual VPS accounts and not everyone well need that many but they do have a plan that is for 7 VPS accounts at $3.70 a month per VPS. Just because they are called Reseller accounts does not mean you have to be reselling them.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  4. #4
    Junior Member
    Join Date
    Mar 2007
    Posts
    2

    Default

    Thanks guys. I guess I'm just wondering if it's even possible to get an email address using a virtual domain with the current WestHost setup? So far... I've had no luck. If anyone knows - I'd greatly appreciate the help!

  5. #5
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,720

    Default

    Yes it is possible and the first thread you linked to by Suzon are the "basic" steps you have to take.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  6. #6
    Junior Member
    Join Date
    Jun 2006
    Posts
    1

    Default got the aliases working...now have another question

    From what I can see in the following post by Sunzon, the neomail configuation is an effort to make it possible for the aliased email to use the neomail client at the subdomain address.

    For example:

    subdomain1@primarydomain.com

    is aliased by info@subdomain1.com

    With uebimiau, to use this tool, without any extra tweaking, email sent to info@subdomain1.com has to be accessed by logging into http://www.primarydomain.com/uebimiau

    While the post by sunzon does not talk about uebimiau, but rather neomail, it seems to be attempting to make it possible for the aliased email to be reached at http://www.subdomain1.com/neomail...or something like that.

    I have seen in other posts, however, that neomail is no longer supported and perhaps not a good idea to install manually on a west host server. So, with uebimiau being one of the supported web-based email tools, is there anyway to configure or install another copy such that my aliased email can be reached at a url of http://www.subdomain1.com/uebimiau???

    Please let me know if this is possible.

  7. #7
    Junior Member
    Join Date
    Jan 2007
    Posts
    23

    Default

    Quote Originally Posted by delliott
    With uebimiau, to use this tool, without any extra tweaking, email sent to info@subdomain1.com has to be accessed by logging into http://www.primarydomain.com/uebimiau
    I have uebimiau working on both the primary domain and a subdomain. To duplicate my setup requires you to access your vps through ssh.

    First, I created a symbolic link in my sub-domain's root directory named 'mail' pointing to the uebimiau directory in the Primary domain's root - like this:

    ln -s /var/www/html/uebimiau /var/www/subdomain/mail

    For this to work, make sure your httpd.conf file has the following options for your root directory in the virtual host for your subdomain. Note there may be other options on this line:

    Options FollowSymLinks

    Finally, in webimiau's config.php file (/var/www/html/uebimiau/inc/config.php for me) you need a line that says
    $mail_server_type = "ONE-FOR-EACH";

    You also need 2 or more blocks defining $mail_servers[]. For me they look like the following. Note that the first one defines the context for the subdomain - I'll tell you why further down:

    $mail_servers[] = Array( //sample using POP3
    "domain" => "subdomain.com",
    "server" => "primarydomain.com",
    "login_type" => "%user%@%domain%",
    "protocol" => "POP3",
    "port" => "110",
    "folder_prefix" => "" //not used for pop3
    );

    $mail_servers[] = Array( //sample using POP3
    "domain" => "primarydomain.com",
    "server" => "primarydomain.com",
    "login_type" => "%user%@%domain%",
    "protocol" => "POP3",
    "port" => "110",
    "folder_prefix" => "" //not used for pop3
    );


    Once I had all this defined I had to restart apache:

    apachectl restart

    Now, I can access uebimail at either http://www.primarydomain.com/uebimiau or at http://www.subdomain.mail. The domain field is a dropdown, allowing the user to choose to which domain he/she wants to connect. The order they appear in the dropdown appears to coincide with the order in which they're defined in the config file.

    One thing I didn't address is the fact that if you define the same email user for both domains, the same user gets mail sent to either one. There are other threads describing work-arounds for this, but because I support a small number of users with no duplication of names across domains I didn't worry about it.

    Jp

  8. #8
    Senior Member rolling's Avatar
    Join Date
    May 2004
    Location
    Different day, different place
    Posts
    486

    Default

    If you have $mail_server_type = "ONE-FOR-EACH"; then set

    "login_type" => "%user%",

    The user will have to select the domain from a drop down menu and you will have to have one $mail_servers[] block for each domain.

    However, if you use the php reserved variable $_SERVER['HTTP_HOST'] as shown below you will only need one $mail_servers[] block and uebimiau will automatically detect the domain so that the user will just have to enter their user ID. The code below will let you access your domain by either domain.com, www.domain.com or webmail.domain.com.

    Code:
    $mail_servers[] = Array( //sample using POP3
    "domain"=>str_replace("webmail.","",str_replace("www.","",$_SERVER['HTTP_HOST'])) ,
    "server" => "maindomain.com",
    "login_type" => "%user%",
    "protocol" => "POP3",
    "port" => "110",
    "folder_prefix" => "" //not used for pop3
    );
    If you want email for joe@domain1.com and joe@domain2.com to be delivered to different users, then you will have to edit /etc/mail/virtusertable as described in this post or elsewhere in the Westhost forum. By default mail to joe@domain1.com and joe@domain2.com are delivered to user joe.
    Richard

    I have jotted down some of my meddlings at http://www.rollingr.net/wordpress
    Click here for a full list of formatting codes for this forum

Similar Threads

  1. Can I set up email accounts for multiple domains
    By spellow in forum E-mail / FTP Management
    Replies: 66
    Last Post: 01-20-2008, 09:59 PM
  2. Email accounts for multiple domains
    By Edward in forum E-mail / FTP Management
    Replies: 1
    Last Post: 02-18-2005, 11:14 AM
  3. Multiple Email Accounts with Multiple Domains
    By richardz in forum Comments / Suggestions
    Replies: 12
    Last Post: 08-05-2004, 11:20 AM
  4. Email for multiple domains has 1100+ posts NEED WH HELP!!
    By warren in forum E-mail / FTP Management
    Replies: 9
    Last Post: 05-22-2004, 04:10 AM
  5. Multiple Domains - Unique Email Accounts
    By computersmarts in forum General Discussion
    Replies: 1
    Last Post: 01-07-2004, 11:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •