The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Identical mail setup for a second domain?

Discussion in 'E-mail Discussions' started by eidorian, Dec 10, 2006.

  1. eidorian

    eidorian Registered

    Joined:
    Dec 10, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have two domains which are essentially the same (one has a hyphen between two words of the domain, the other doesn't.)

    I'd like mail for usernames at one of the domains (without the hyphen) to be forwarded to the same username at the other domain, or something else which has the same effect. In sendmail, I'd do this in /etc/mail/virtusertable:

    @mydomain.com %1@my-domain.com

    ie.
    xyz@mydomain.com -> xyz@my-domain.com
    abc@mydomain.com -> abc@my-domain.com
    ... and so on for every username

    Is there any easy way to do this in cpanel/exim? "Default Address Maintenance" doesn't do what I want as it only forwards to a fixed account as far as I can work out. Putting in Forwarders for every username in the domain would work, but I'd have to keep both domains in sync manually and I was hoping there would be something more automated I could use.

    Thanks!
    Adrian.
     
  2. intuitive

    intuitive Member

    Joined:
    May 12, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Farnborough, Hampshire (England, UK)
    How about using "Email Domain Forwarding"?
     
  3. eidorian

    eidorian Registered

    Joined:
    Dec 10, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Intuitive, that's exactly what I wanted. So obvious - I'm not sure how I missed it in the fist place! :confused:
     
Loading...

Share This Page