Promoting a secondary domain to primary
Posted on January 5, 2009
Filed Under MDaemon | 3 Comments
It is possible to modify your primary domain in MDaemon, but when you do so, MDaemon will rename all users, aliases, lists and other goodies as well. Sometimes this isn’t desired, one such case is to make an existing secondary domain into a primary domain.
Shut down MDaemon, backup the entire MDaemonApp directory, then open the MDaemon.ini file and find the following key:
[Domain]
DomainName=primary.com
Change the DomainName key to be your ‘new’ primary domain, then restart MDaemon and you should be good to go.
Make sure that your IP bindings, and account pruning are set the way you want as these settings follow the domain, and so the secondary domain’s settings will become the system-wide defaults when it’s converted to a primary domain.
One other thing you might need to update, the mdaemon@ system account *should* change automatically, but if anything goes wrong, do not try to change this account manually, instead just remove it from userlist.dat yourself, MDaemon will recreate it when MDaemon next starts. If you corrupt this account, any number of things will break.
Also, you need to manually update aliases pointing to the mdaemon@ account.
Comments
3 Responses to “Promoting a secondary domain to primary”
Leave a Reply
Hi Dear,
Am using MDaemon 7.2.0 for internal mail server.
Am a IT Technician, i would like to rename my internal domain name from ****.com to ****.lan, in this case i can not find good way to fix it yet, am appreciate if any idea will provide for my concept or manual steps to do this.
Thank & Best regards
Sun Brillant
Sun,
Why do you want to rename your MDaemon domain? Do you realize that once this is done, you likely won’t be able to receive mail?
this is from my boss idea, i know this problem will happen if i do it wrong, i use to try set my secondary domain and apply account with secondary domain but still not success, like from previous is
someone@****.com then apply to someone@****.lan but when i set account in Ms Outlook it require username and password.
if you have any user guide to do this i may appreciate,
Thank Dave