Email alias when multiple sites have the same domain

Discussion in 'Installation/Configuration' started by jdg, Jan 11, 2010.

  1. jdg

    jdg New Member

    I have three sites that have the same domain name:

    cms.domain.com, wiki.domain.com, and www.domain.com

    I only plan to use email accounts on the www.domain.com site and that's the only one "Mailuser Login" selected.

    The problem is, when I create a user under the www.domain.com account, ispconfig isn't including an alias@domain.com entry in the /etc/postfix/virtusertable file. It only creates web6_username@domain.com and alias@www.domain.com. I can see why it chooses to do this, but is there a way to change this behavior?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Does the www.domain.com web site have a Co-Domain domain.com (without hostname)?
     
  3. jdg

    jdg New Member

    www.domain.com does not have any co-domains.

    cms.domain.com does have a co-domain without the hostname. I think it was added automatically because I have SSL enabled on this site.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then remove the co-domains without hostname from all websites except the one that shall receive the emails.
     
  5. jdg

    jdg New Member

    That worked! Thanks
     

Share This Page