CHANGING MAILNODE INFO SCALIX 11 -- HELP

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

treedstang
Posts: 24
Joined: Thu Feb 09, 2006 8:06 am

CHANGING MAILNODE INFO SCALIX 11 -- HELP

Postby treedstang » Wed May 02, 2007 11:05 am

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]

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu May 03, 2007 7:00 am

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

treedstang
Posts: 24
Joined: Thu Feb 09, 2006 8:06 am

Postby treedstang » Thu May 03, 2007 12:07 pm

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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon May 07, 2007 8:25 am

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

treedstang
Posts: 24
Joined: Thu Feb 09, 2006 8:06 am

Postby treedstang » Mon May 07, 2007 11:23 am

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

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Tue May 08, 2007 10:25 am

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

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Postby mikethebike » Thu May 10, 2007 8:10 am

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


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron