Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: p-jones on April 30, 2009, 05:08:50 AM
-
I have screwed up here and cannot see how to get out of it.
I have been using the documentation in the email Wiki to forward email to different local exchange servers
First, create the necessary virtual domains using server-manager::Configuration::Domains::Add Domain.
Then, (assuming your domain is called test.com and the actual mail server is at a.b.c.d issue the following commands:
I repeated this three time for three domains and all was good. Now I want to remove completely one of the three domains and hand processing back to the SME Server. I have tried substituting the SME IP address and also the localhost IP without success.
I am sure this is easy but I cannot find the answer. Have read the fine print a few time but somewhere I am missing something.
Thanks in advance.
Peter
-
Already tried removing the virtual domain(s)?
-
Its not the virtual domain I want to modify...it the main domain. internal-domain.local.
Like I said, I screwed up. !
Maybe I need to explain a bit more, this is a front end for two public domains
domain-a.com and domain-b.com which are virtual on the server and it lives in internal-domain.local. just renaming the main domain poses a few issues with the rest of the infratructure.
If I rename the domain through the server configuration manager then rename it back, will it revert to these (wrong) settings or will it wipe the slate clean ?
-
Its not the virtual domain I want to modify...it the main domain. internaldomain.local.
Like I said, I screwed up. !
Perhaps we can see where you screwed up if you post the output of:
db domains show internaldomain.local
-
I know where I screwed up.
I issued the same command for the main domain as I did for the virtual domains to point it at another server, then realised my error.
-
db domains show localdomain.local
papakura-realty.local=domain
Content=Primary
Description=Primary domain
MailServer=203.x.33.x (offsite smtp server )
Nameservers=localhost
Removable=no
SystemPrimaryDomain=yes
-
db domains show localdomain.local
papakura-realty.local=domain
Content=Primary
Description=Primary domain
MailServer=203.x.33.x (offsite smtp server )
Nameservers=localhost
Removable=no
SystemPrimaryDomain=yes
Other than the MailServer key I see no strange things here. Perhaps you can elaborate on the symptoms you are seeing indicating a problem as you have not done so so far. It also might help if you show us what commands you have executed exactly to your domain. You can investigate what you did using this perhaps:
history | grep localdomain.local
-
p-jones
The syntax for db commands is shown by typing
db
You should then be able deduce the command to use to remove the forwarding for a domain ie
db domains delprop localdomain.local MailServer
signal-event email-update
db domains show localdomain.local
papakura-realty.local=domain
Content=Primary
Description=Primary domain
MailServer=203.x.33.x (offsite smtp server )
Nameservers=localhost
Removable=no
SystemPrimaryDomain=yes
-
Thanks Mary. Thats the hole I was trying to fill and that sorted my problem.
-
I've updated the wiki to mention how to clear out the internal mail server for one domain: http://wiki.contribs.org/Email#Internal_Mail_Servers
-
Please edit the Subject of the thread when your problem is solved.
Please also try a little harder to use a specific descriptive Subject - "email problem" is very generic.