-
1. Re: DNS Configuration
acoliver Nov 8, 2005 7:31 AM (in response to ba02000)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:
<mbean code="org.jboss.mail.smtp.sender.SMTPSender"
name="jboss.mail:type=MailServices,name=SMTPSender">
....
</mbean>
and add
<attribute name="DNSServers">
<servers>
<server>123.345.678.910</server>
</servers>
</attribute>
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. -
2. Re: DNS Configuration
acoliver Nov 8, 2005 7:33 AM (in response to ba02000)sorry about the >/lt... nukes is sucking today and won't let me disable html or bbcode...
-
3. Re: DNS Configuration
ba02000 Nov 8, 2005 12:47 PM (in response to ba02000)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?¿?.
Best Regards, -
4. Re: DNS Configuration
acoliver Nov 8, 2005 2:50 PM (in response to ba02000)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.
-
5. Re: DNS Configuration
acoliver Nov 8, 2005 2:51 PM (in response to ba02000)(btw 127.0.0.1 == localhost)
-
6. Re: DNS Configuration
ba02000 Nov 9, 2005 5:16 AM (in response to ba02000)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?¿?
Best Regards, -
7. Re: DNS Configuration
acoliver Nov 9, 2005 5:47 AM (in response to ba02000)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:
http://en.wikipedia.org/wiki/Domain_Name_System
http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol -
8. Re: DNS Configuration
kabirkhan Nov 9, 2005 5:55 AM (in response to ba02000)"acoliver@jboss.org" wrote:
However I can't for the life of me remember where to find it on Windows when assigned by DHCP. Anyone else know?
ynamic_Host_Configuration_Protocol
ipconfig /all
from a command line should tell you -
9. Re: DNS Configuration
ba02000 Nov 9, 2005 6:35 AM (in response to ba02000)Thank you guys,,,,,,,
You where very helpfull
Thanx again