Page 1 of 1

CHANGING MAILNODE INFO SCALIX 11 -- HELP

Posted: Wed May 02, 2007 11:05 am
by treedstang
i recently reconfigured a Scalix email server I it look like I didn't the mailnode option correctly.

The Mailnode use to show up as mailserver,domain but now it only shows up in SAC as mailserver without the domain name list

Since this happened local users on the email server get the message below when sending mail to each other on the server

'No route configured for the recipient address' [OM 9301]

Please Help

Tim[/b]

Posted: Thu May 03, 2007 7:00 am
by ScalixSupport
Hi!

Can you send the result for the command:
omshowmnmp
omshowmn

To modify these values you need to use command ommodmn and ommodmnmp, check the
man pages for these commands.

Thanks,
Subir

Posted: Thu May 03, 2007 12:07 pm
by treedstang
Thanks for the reply,, below is the info you requested

[root@mailserver ~]# omshowmnmp
mailserver mailserver.aggeophysical.com


[root@mailserver ~]# omshowmn
** mailserver

Let me know if you need anything else

Tahnks

Tim

Posted: Mon May 07, 2007 8:25 am
by ScalixSupport
Hi Tim!

Use the commands below to edit mailnode and its mailnode map:

Code: Select all

omdelmnmp mailserver, to delete the current mailnode map, and
omdelmn -m mailserver, to delete the current mailnode.

Now create new mailnode and its map using the commands below:

Code: Select all

omaddmn -m <mailnode>
for ex. omaddmn -m mailserver,aggoephysical

Note: Your mailnode should be similar to the hostname, so it could be mailserver,aggoephysical if the hostname is mailserver.aggeophysical.com
Add mailnode map, using the command below:

Code: Select all

omaddmnmp <mailnode> <hostname>
for ex. omaddmnmp mailserver,aggoephysical mailserver.aggeophysical.com

Hope this helps.

Thanks,
Subir

Posted: Mon May 07, 2007 11:23 am
by treedstang
Thanks for the info Subir,

I followed all your steps but I couldn't delete the mailnode named mailserver because all of my users are associated with that mailnode so how do move my users from the mailnode named

mailserver to the new one name mailserver,aggeophysical

Posted: Tue May 08, 2007 10:25 am
by gren
Hi Tim,

You can change the mailnode users are associated with.

For instance, say you had added the new destination mailnode as follows :
omaddmn -m mailserver,aggeophysical -D mailserver.aggeophysical.com

You could move all users on the existing mailnode "mailserver" to this new mailnode using the following fragment of shell script :

omshowu -m mailserver|while read name
do
ommodu -n "$name" -m ou1=mailserver/ou2=aggeophysical
done

Note that the "mailserver,aggeophysical" in the above omaddmn command is really a shorthand for "ou1=mailserver/ou2=aggeophysical".

Regards,
Gren

Posted: Thu May 10, 2007 8:10 am
by mikethebike
Gren,

I am not sure that would work...more like:

omshowu -m all |cut -d"/" -f1 |while read name
do
ommodu -o "$name" -n "$name /newmailnode"
done



Mick

if you have ou1 and ou2, delimit those with comma...so:

omshowu -m all |cut -d"/" -f1 |while read name
do
ommodu -o "$name" -n "$name /newou1,newou2"
done