get error unknown or illegal alias when doing SMTP

installed fresh iplanet 5.2 messaging server.

created a new domain in it called iplanet5org.com OK

created new users within this domain OK

when trying to address a message to one of these users using the same iplanet server as the smtp server.

Following is the smtp session output:

telnet obelix 25

Trying 192.168.181.123...

Connected to obelix.ipunity.com.

Escape character is '^]'.

220 obelix -- Server ESMTP (iPlanet Messaging Server 5.2 (built Feb 21 2002))

mail from: rd@iplanet5org.com

250-2.5.0 No HELO/EHLO seen; continuing anyway, 192-168-181-104.ipunity.com [192.168.181.104].

250 2.5.0 Address Ok.

rcpt to: rd@iplanet5org.com

550 5.1.1 unknown or illegal alias: rd@iplanet5org.com

rcpt to: test@ipunity.com

550 5.1.1 unknown or illegal alias: test@ipunity.com

421 4.4.2 Timeout while waiting for command.

Connection closed by foreign host.

is there any more settings we have to do?

thanks

[1037 byte] By [705791] at [2007-11-25 8:39:19]
# 1

1. wait until 2am

or

2. run dirsync manually

or

3. convert to direct LDAP

the new IMTA uses a feature called dirsync to populate it's alias tables and such. This feature has been depricated in version 5.2 and will dissapear sonner or later. Sun recommends you switch to direct LDAP mode. please see:

http://docs.sun.com/source/816-6009-10/dirldap.htm

for how to do this, it's very simple. If you are planning deployment for a decent sized server, make sure you optimize your LDAP server/install. You'll have to increase it's database memory and add indexes to speed things up as the IMTA will be hitting it pretty hard. I just had a 4000 user install and if I created a dynamic group of everyone, the LDAP server would hit 100% cpu for 24 hours or so and the message would eventually fail. I increased the memory settings and added indexes for all the searched items from the IMTA (look at the LDAP access log)

Read the directory server docs for info on how to do this.

705693 at 2007-7-1 15:16:10 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...