domain alias problem

Hi Jay and all,

we are running Sun Java messaging 2004Q4 on solaris 9.

We want to create a domain alias so that our server can receive mails on different domain also.

Let's say we have already x.com and want y.com to be domain alias for it. So i ran this below script and it was successful

++++++

echo dn: o=x.com,dc=x,dc=com >>/sbin/ldap99.txt

echo changetype: modify >>/sbin/ldap99.txt

echo add: associatedDomain >>/sbin/ldap99.txt

echo associatedDomain: y.com >>/sbin/ldap99.txt

cd /var/opt/mps/serverroot/shared/bin

./ldapmodify -D uid=admin,ou=people,o=x.com,dc=x,dc=com -w <admin-pass> -R -f /sbin/ldap99.txt

++++++++++++++

Now i suppose y.com has become an alias to x.com so that i can receive mails destined to user@y.com also and get them forwarded to the user@x.com mailbox (No need for user level aliasing again)

But when i say "telnet <mail-server> 25" and rcpt to:userx@y.com, it says "550 5.1.1 unknown or illegal alias: userx@y.com".

it means that the vanity domain created successfully but not able to identify users already created on x.com (it did not throw the error - 550 5.7.1 Relaying not allowed: userx@y.com)

Please advise me.

TIA

Prvn

[1305 byte] By [sun_prvnrka] at [2007-11-27 4:53:42]
# 1

Hi,

> Now i suppose y.com has become an alias to x.com so

> that i can receive mails destined to user@y.com also

> and get them forwarded to the user@x.com mailbox (No

> need for user level aliasing again)

You still need to add the user-level address attribute e.g.

mailalternateaddress: user@y.com

Just adding the associatedDomain attribute doesn't automatically result in emails sent to user@y.com being delivered to the mailbox of user@x.com.

> But when i say "telnet <mail-server> 25" and rcpt

> to:userx@y.com, it says "550 5.1.1 unknown or illegal

> alias: userx@y.com".

Try adding the mailalternateaddress: userx@y.com to the userx@x.com account.

Regards,

Shane.

shane_hjortha at 2007-7-12 10:08:13 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
Thanks Shane.It worked. I read somewhere in this forum that domain alias would take care of this automatically.Thanks
sun_prvnrka at 2007-7-12 10:08:13 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
Likely "automatically" included setting the DOMAIN_UPLEVEL to something like 2
jay_plesseta at 2007-7-12 10:08:13 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...