how to route mails from smarthost to message_store?

I am running Iplanet MS server 5.1 on Solaris8.

I got my smart host on DMZ(connected to internet) and the message_store server(POP/IMAP) on the inside network.I am able to send mails to other domains world wide.

What should I do for incoming mails? (i.e) what should I configure on my smart host,so that any mails to my domain would be to routed to my message_store server.

I am not running directory server on smarthost.Only MTA is enabled.

Any help would be appreciated

imta.cnf file of smarthost:

! Rules to select local users

aspdb02.asp.org $U%$D@aspdb02.asp.org

asp.org $U%$D@aspdb02.asp.org

!

! ims-ms

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

!

! native

.native-daemon $U%$H.native-daemon@native-daemon

!

! pipe

.pipe-daemon $U%$H.pipe-daemon@pipe-daemon

!

! tcp_local

! Rules for top level internet domains

<IMTA_TABLE:internet.rules

. $U%$H@tcp-daemon

!

! tcp_intranet

! Do mapping lookup for internal IP addresses

[] $E$R${INTERNAL_IP,$L}$U%[$L]@tcp_intranet-daemon

.asp.org $U%$H.asp.org@tcp_intranet-daemon

* $U%$&0.asp.org

!

!

! part II : channel blocks

!

defaults notices 1 2 4 7 copywarnpost copysendpost postheadonly noswitchchannel immnonurgent maxjobs 7 defaulthost asp.org asp.org

!

! delivery channel to local /var/mail store

l subdirs 20 viaaliasrequired maxjobs 7 pool LOCAL_POOL

aspdb02.asp.org

!

! ims-ms

ims-ms defragment subdirs 20 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 1 pool IMS_POOL fileinto $U+$S@$D filter ssrd:$A

ims-ms-daemon

!

! native

native defragment subdirs 20 maxjobs 1

native-daemon

!

! pipe

pipe single defragment subdirs 20

pipe-daemon

!

! tcp_local

tcp_local smtp logging mx single_sys remotehost inner switchchannel identnonelimited subdirs 20 maxjobs 7 pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth

tcp-daemon

!

! tcp_intranet

tcp_intranet smtp logging mx subdirs 20 noreverse maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_auth

tcp_intranet-daemon

!

! tcp_submit

tcp_submit submit smtp mx single_sys mustsaslserver maytlsserver

tcp_submit-daemon

!

! tcp_auth

tcp_auth smtp mx single_sys mustsaslserver

tcp_auth-daemon

!

! tcp_tas

tcp_tas smtp mx single_sys allowswitchchannel mustsaslserver maytlsserver deliveryflags 2

tcp_tas-daemon

>

[2731 byte] By [707487] at [2007-11-25 8:17:19]
# 1

for smarthost, search the word "daemon" but I am sure you will not need to "smarthost" everything to your mailstore.

1) you should use SMTP proxy from your DMZ or

2) or your MTA should send/forward automatically mail destinated to your user directly to your mailstore server with a good configured rules (TCP_INTRANET).

708700 at 2007-7-1 14:25:12 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...