One way to do that is in the installer. Another way is by manually editing $JBMS_HOME/server/$SERVERNAME/deploy/mail.ear/mail.sar/META-INF/jboss-service.xml. Find the block that looks like this:
You can add as many "<server>bla</server>" blocks as you like under the <servers> element.
That is it. Before too long we'll have a GUI admin tool to do this and the config file won't be so nested.
sorry about the >/lt... nukes is sucking today and won't let me disable html or bbcode...
Thanx Andrew for your help,,,,,,,,,,but please would you show me an example of what statement to put inside each DNS,,,I know this is a selly question but I'm new to mail server configuration, can I put localhost as DNS?¿?.
You CAN but normally you put the IP addresses of your DNS servers. The problem is that "localhost" has to be resolved (generally not a problem) but 127.0.0.1 is not a problem. So put IP addresses. I don't know the IP address of your DNS server. You may be able to find it on Linux or BSD by doing a cat of /etc/resolv.conf for instance. if it is assigned via DHCP you should try and pick a stable DNS server on your network.
(btw 127.0.0.1 == localhost)
hello andrew, I want to build my application which support mailing service and I want to host it on my computer, so in this situation what's my DNS will be? is it 127.0.0.1?¿?
No. Most likely if you don't know what your DNS is or where to find it (its under TCP/IP settings on Windows) then you are probably using DHCP to have your IP address assigned.
This means that you likely cannot have an assigned IP address which means its impossible to be a dedicated mail server. If you typed "jboss.org" in your brower and made it here successfully you HAVE a DNS server. However I can't for the life of me remember where to find it on Windows when assigned by DHCP. Anyone else know?
You could route the mails to a dedicated mail server, but you need a fixed IP address (and an MX entry on your DNS server) in order to receive them.
check this out:
However I can't for the life of me remember where to find it on Windows when assigned by DHCP. Anyone else know?
from a command line should tell you
Thank you guys,,,,,,,
You where very helpfull