How to send Mails to New Backend Servers

Hi

i). we have our MTA's supporting for two domains let us consider

(domain1 & domain2 ) .

ii). The mails for two domains(domain1 & domain2) are stored in the

same backend servers.

iii). As the users are growing more so we decided to put new seperate

backend servers for (--domain 2--) and we are planning to ROUTE

the messages of Domain2 to new backend servers from our MTA's

Now my questions are..

(1) Now i want to create seperate channel named (tcp_new) and add

appropriate rewrite rules for all new backends.

how i can do this ?

Answer

i. i've to add the rewrite rules in ( part I : rewrite rules of )imta.cnf file

corresponding to new channel created

ii. I think i've to create new channel in the ( part II : channel blocks )

imta.cnf file

(2) what are the options i've to edit in mappings file?

(3)what are all the files i have to edit inorder to ROUTE the messages of

domain2 to NEW Backend servers.?

Thanks in Advance

Jai

[1082 byte] By [bsnl-nib] at [2007-11-26 10:21:14]
# 1

Not quite sure I understand.

Why new channels?

All you have to do to route your mail to the different servers is to change the value of "mailhost" in ldap, for each user.

Creating a new channel, and more rewrite rules won't work, in any case. If you succeed in actually sending mail to the new server, it will simply be forwarded to the server that "mailhost:" points towards, anyway.

The tool I'd be tempted to use to "move" your users is

MoveUser

which can be set to

Migrate the mailbox

Change the ldap value

all at once, automatically.

jay_plesset at 2007-7-7 2:20:33 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Hi Jay

I will try to explain you in detail

Our setup includes 1mx server,1mr server,1 ldap server,2 pop servers &

this setup is supporting for two domains(consider as domain1 & domain2).

Now we are planning to migrate domain2 users from the above setup to our new servers.

The new server setup includes 1mx server,1mr server,1 ldap server,2 pop servers.

now my questions are...

1. How i have to migrate user mail boxes from old messages store

to new one?

I'm planning to put users in hold position in LDAP then i'm going

use imsbackup & imsrestore to move the users.is it correct ?

2. Around two lakh users are there for domain2 & if i'm migrating all the

users at a time then each and every user will get downtime of around 24

hours.so, i don't want to migrate all the users at a time.

Instead of that i'm planning to group say 20 thousand user mailboxes at

time and i will transfer only those 20 thousand user mail boxes from old

servers to new servers. By doing this way each and every users will get

only two hours downtime.

so here how i have to group the users & which command is best to do

the above task?

Thanks in Advance

bsnlnib at 2007-7-7 2:20:33 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

1. How i have to migrate user mail boxes from old messages store

to new one?

You do have options.

You can use

MoveUser

you can also use imsbackup/imsrestore

and, you can even simply copy the mail folders over, and run reconstruct -m afterwards.

Please see several other discussions on this list, under the general search, "migration"

2. Around two lakh

Sorry, I don't understand the word, "lakh"

users are there for domain2 & if i'm migrating all the

users at a time then each and every user will get downtime of around 24

hours.so, i don't want to migrate all the users at a time.

Instead of that i'm planning to group say 20 thousand user mailboxes at

time and i will transfer only those 20 thousand user mail boxes from old

servers to new servers. By doing this way each and every users will get

only two hours downtime.

so here how i have to group the users & which command is best to do

the above task?

You can use imsbackup/imsrestore with a list of users.

You can use MoveUser with a list of users.

If you choose MoveUser, you can move the users with essentially no downtime, only a few minutes for each user.....

jay_plesset at 2007-7-7 2:20:33 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...