How can I enable SMTP relay in message server 5.1

I have update the mappings file and add the local subnet to it by x.x.x.x/24 however, it still cannot relay email and the email client said that the server don't accept relay
[196 byte] By [708688] at [2007-11-25 7:07:45]
# 1

After doing the mappings change did you do the following?

./imsimta cnbuild

./imsimta restart job_controller

iMS uses a compiled configuration to enhance performance. Every time you make a config change you need to run the cnbuild command to re-compile the configuration and then restart the process that would be affected by the change. In your case, the job_controller. If you made a change to the dispatcher.cnf file you would have to restart the dispatcher.

Just doing a ./stop-msg followed bt a ./start-msg will not do it as those commands do not re-compile the configuration.

709463 at 2007-6-29 17:38:07 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...