one domain name different server

iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)

libimta.so 5.2 Patch 2 (built 19:30:12, Jul 14 2004)

currently we have 2 messaging servers..abc.com(staff) and student.abc.com (student)..both servers with different ip's

right now we're thinking of not using the domain student.abc.com anymore, instead all the student will be given @abc.com account name...

my question, is it possible to have one domain which is abc.com but with different servers, means that all email send to student will be received at student's server and email sent to staff will be received at staff's server

example :

staff1

email : staff1@abc.com

server ip : 10.1.2.3

student1

email : student1@abc.com

server ip : 10.1.2.4

currently we have 2 directory servers, dir.abc.com for abc.com and dirstud.abc.com for student.abc.com

[892 byte] By [Abu_Iqbal] at [2007-11-26 8:29:13]
# 1

Hi,

> my question, is it possible to have one domain which is abc.com but with

> different servers, means that all email send to student will be received at

> student's server and email sent to staff will be received at staff's server

What you propose is a standard configuration. For each users account there is a mailhost: attribute. This attribute controls where email is delivered for a given account. The email address in this case is irrevalent to the actual server that the account is hosted on.

You will need to use a messaging multiplexor front-end system to redirect end-user connections (e.g. imap/pop connections & webmail connections) to the appropriate server for the student or staff member in question.

Getting to the configuration which you describe may be difficult if you don't have new/additional systems which you can migrate across to. It is vastly easier to install a new system, with a single directory and migrate accounts across.

Cheers,

Shane.

shane_hjorth at 2007-7-6 21:47:36 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

thank you shane for the response..

I test mmp on 3 servers,

--stud2.xxx.com - mmp

--ls5.xxx.com - store 1

--b5.xxx.com - store 2

user 1 and user 2 are on ls5.xxx.com, user 3 and 4 in b5.xxx.com..

I managed to install MEM on stud2.xxx.com...tested successfully, I can login into user 1 and user 4 thru stud2.xxx.com...

now the problem I'm facing right now is that I cannot send email from outside to this domain..when I send email to stud2.xxx.com from xxx.com, the email will bounce back with the error message

Reason: Remote SMTP server has rejected address

Diagnostic code: smtp;550 5.1.1 unknown or illegal alias:

user2@stud2.xxx.com

here is the content of imapproxyservice config file

default:LdapUrl ldap://dir.xxx.com/o=internet

default:LogDir /usr/iplanet/server5/mmp-stud2/log

default:LogLevel5

default:BindDN "cn=Directory Manager"

default:BindPasssecret

default:BacksidePort143

default:Timeout 1800

default:SearchFormat(uid=%s)

default:VirtualDomainFile/usr/iplanet/server5/mmp-stud2/vdmap.cfg

default:VirtualDomainDelim @

default:ServerDownAlert"your IMAP server appears to be temporarily out of service"

default:MailHostAttrsmailHost

default:PreAuth no

default:CRAMsno

default:AuthCacheSize10000

default:AuthCacheTTL900

default:AuthService no

default:AuthServiceTTL0

default:BGMax10000

default:BGPenalty2

default:BGMaxBadness60

default:BGDecay 900

default:BGLinearno

default:BGExcluded /usr/iplanet/server5/mmp-stud2/bgexcl.cfg

default:ConnLimits 0.0.0.0|0.0.0.0:20

default:LdapCacheSize10000

default:LdapCacheTTL900

default:HostedDomainsyes

default:DefaultDomainstud2.xxx.com

in imapproxy log file there are some error messages such as

--C:\iPlanet\Server5\mmp-stud2\ImapProxyAService.cfg (sid 0x011B20DC)

client socket IO error 0

20060714 023839 C:\iPlanet\Server5\mmp-stud2\ImapProxyAService.cfg

Abu_Iqbal at 2007-7-6 21:47:36 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

Which server rejects the message?

Wha'ts the ldap entry for that user?

Are you attempting to use the "smtp proxy" that's part of the MMP? If so, that's a "bad idea". The smtp proxy was designed for only one use, "POP before SMTP". If you're making an inbound relay, you want to install the MTA, not the SMTP proxy.

jay_plesset at 2007-7-6 21:47:36 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4
I reinstalled everything, directory server, messaging server and mmp..and everything work fine...I got one more questionHow do I migrate all address book at student.abc.com when I install them on the new directory server...all the student domain would be changed to
Abu_Iqbal at 2007-7-6 21:47:36 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5

Hi,

The addressbook operates independantly to the email address of the user. If you have a look at the paburi: directory attribute for a student, that should point at the location of the addressbook information.

To migrate to the new directory server, you should be able to just take the LDIF from the old and add it to the new when you move the account. You may also need to delete the paburi: attribute so it is re-created and repoints to the correct new location once the student is moved. As always testing is the key.

Cheers,

Shane.

shane_hjorth at 2007-7-6 21:47:36 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...