How can I make a smarthost entry

I have set up the IPlanet Messageserver 5.1 without an smarthost entry. Now the server had to send all messages to an mailreley. How can I add an smarthost entry?
[176 byte] By [709066] at [2007-11-25 7:09:46]
# 1

edit msg-<instance>/imta/config/imta.cnf

find the tcp_local channnel section, add a keyword of 'daemon <hostname>' to send all mail to that host.

You can also use an MX record for the value of hostname. So you could have load balance and fault tolerance.

Something like

! tcp_local

tcp_local smtp mx daemon send.mail.to.me single_sys remotehost inner switchchannel identnonelimited \

subdirs 20 maxjobs 7 pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth

tcp-daemon

Don't forget to do

msg-<instance>/imsimta cnbuild

msg-<instance>/imsimta restart dispatcher

Regards,

Chad

708686 at 2007-6-29 17:41:34 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...