Private mail (mail offline)

Hi all..!

I have an old mail system, host for more than 50 domain.

I just deploy Sun Messaging for these domain but some of them user private mail(someone call mail offline).

Example:

My default domain is : xyz.com, my mailhost is : mss.xyz.com

And I have private mail domain abc.com. The MX record of the domain abc.com point to mss.xyz.com, but on the Messaging Server mss.xyz.com don抰 host abc.com.

On the domain xzy.com I created a mail account abc.com@xyz.com.

All I want is : when someone send a message to any account on the domain abc.com. The message is route to the account abc.com@xyz.com.

I have modify the imta.cnf file like is :

!<IMTA_TABLE:domains.rules

!

! Rules to select local users

$* $A$E$F$U%$H$V$H@mss.xyz.com

mss.xyz.com $U%$D@mss.xyz.com

xyz.com. $U%$D@mss.xyz.com

abc.com abc.com%xyz.com @mss.xyz.com

!

! ims-ms

.ims-ms-daemon $U%$H.ims-ms-daemon@ims-ms-daemon

!

But like this, the header off the message is broken?

I hope some can understand me, because my English is not good, and tell me the way to do.

Thank all for reading?

Message was edited by:

le_hung_nb>

[1256 byte] By [le_hung_nba] at [2007-11-27 0:35:48]
# 1

Hi,

> abc.com abc.com%xyz.com @mss.xyz.com

Rule looks ok, although you may want to use:

abc.com $E$F$D%xyz.com@mss.xyz.com

That will result in only the envelope address ($E$F) being changed and not the email header address. The $D just substitutes in abc.com, so if you have a number of domains, you can just copy paste the rule and change in one spot rather then two (reduces the chances of making a typo) :)

Regards,

Shane.

shane_hjortha at 2007-7-11 22:44:39 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Thank for your help.

I was trying but it not work.

And I do follow:

1.In option.dat file, I add a line: LDAP_DOMAIN_ATTR_CATCHALL_ADDRESS=mailDomainCatchallAddress

2.Create domain mailoffline : abc.com

3.Create a user accout delegated to all account for abc.com domain : test@abc.com

4.Add a attribute for abc.com domain maildomaincatchalladdress=test@abc.com

It抯 work

Thank all for reading.

Message was edited by:

le_hung

le_hunga at 2007-7-11 22:44:39 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...