iMS 5.2 SMTP routing

How to setup SMTP routing on iMS 5.2?

For example:

For domain1.comMX is server1.domain1.com

server1.domain1.com (iMS 5.2) have one user (email: user1@domain1.com).

I want to server1.domain1.com route messages for other users to server2.domain1.com.

How to do this?

Peter

[320 byte] By [704931] at [2007-11-25 9:04:57]
# 1
Just add the mailhost attribute for each user to point to the messaging server where their mail is supposed to go.
navin504 at 2007-7-1 16:03:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
But on iMS is only user1.Other users exists only on server2.domain1.com.Peter
704931 at 2007-7-1 16:03:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
All of your users should still exist in the directory server regardless of where the message store is. If they dont then the first server is just going to think that the users dont exist in that domain.
navin504 at 2007-7-1 16:03:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

In order to route your mails to server2.domain1.com, you need to edit your LDAP domain entry (should be cn=domain1,cn=com,o=internet or so) and add a "mailroutingsmarthost" attribute pointing to server2.domain1.com.

then imsimta refresh

That's it.

Good Luck

Vincent MAZARD

DML France (Sun Partner)

Notes :

If your server is working in Direct LDAP mode,

apply patch 1 before adding the attribute.

If server2 is an old version, I suggest you add the "dequeue_removeroute" keyword in your tcp_local and tcp_intranet channels definitions (imta.cnf file) or you'll get rewriting errors from the old server.

vincent mazard at 2007-7-1 16:03:00 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...