Results 1 to 3 of 3

Thread: Accepting mail for multiple domains

  1. #1
    The Fold is offline Senior Member
    Join Date
    Mar 2007
    Location
    London, UK
    Posts
    50
    Rep Power
    8

    Default Accepting mail for multiple domains

    I'm going to be moving our server from test to production next week (finally!) and this requires a change of the domain from companylimited.co.uk to companyltd.co.uk.

    We will still require to accept mail on the companylimited.co.uk domain into the same mailboxes that are being used for companyltd.co.uk so what is the best way to go about setting this up?

    I had a read through the wiki document []ManagingDomains - Zimbra :: Wiki so could that be one way of doing it?

    My other thought was to set up the ltd.co.uk domain as an additional one on the server but to set that to the default one. Would this then allow the server to accept mail for limited.co.uk and go to the correct mailbox?

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    I would suggest renaming the domain with zmprov:

    Code:
      renameDomain(rd) {domain|id} {newDomain}
        -- NOTE: renameDomain can only be used with "zmprov -l/--ldap"
    , adding a second domain with the same name as the original then adding an alias to each user with that domain name (you'll have to dump the user names and script the add alias). The caveats would be the obvious - take a backup and beware of this bug: Bug 25873 – renameDomain command breaks Documents.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    The Fold is offline Senior Member
    Join Date
    Mar 2007
    Location
    London, UK
    Posts
    50
    Rep Power
    8

    Default

    Just to put down here what I've done as it all went successfully.

    After making a backup I renamed the domain:

    Code:
    zmprov -l olddomain.co.uk newdomain.co.uk
    I then check the notebook account as suggested in the bug report:

    Code:
    zmprov gacf | grep Notebook
    zimbraNotebookAccount: wiki@olddomain.co.uk
    So I then ran:

    Code:
    zmprov mcf zimbraNotebookAccount wiki@newdomain.co.uk

    Once this was done I logged into the admin interface and set the new domain to be the default under Global Settings.

    Now I created a new domain with the same name as the old one and aliased it to the new one.

    Code:
    zmprov cd olddomain.co.uk zimbraDomainType alias zimbraMailCatchAllAddress @olddomain.co.uk zimbraMailCatchAllForwardingAddress @newdomain.co.uk
    [/code]

    After running some tests sending e-mail to both domains separately I can confirm that this method worked fine and I received both e-mails.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 06:47 AM
  3. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 AM
  4. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 PM

Posting Permissions

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