Locate the JBoss Mail Server 1.0 M3/M4 jboss-service.xml
versions: 1.0M3, 1.0M4
For this task you need to locate the jboss-service.xml descriptor for JBoss Mail Server (which is different from conf/jboss-service.xml).
The JBMS 1.0M3/M4 jboss-service.xml defines your service configuration such as ports and protocols. This file is located in the $JBOSS_HOME/server/$CONFIG/deploy/mail.ear/mail.sar/META-INF directory. $JBOSS_HOME is the location which to told the installer to install JBMS/JBAS into. $CONFIG is the configuration name you told the installer to use (i.e. "default") as well as the argument you pass to bin/run.sh -c (if you do not use -c then you get "default" so $CONFIG equals that).