How to config JMS to receive mail from internet

Hi all,I installed Sun java messaging server 2005Q4. I can send & receive mail in my domain and I can send mail from my server to internet. But I can not receive mail from internet. How do I config to send & receive mail between another domains.Thanks.
[281 byte] By [thanh_nguyen1981a] at [2007-11-26 17:28:40]
# 1
There is nothing within Messaging Server to configure.Likely, what you need are external DNS settings so other people's messages can be delivered to your server.
jay_plesseta at 2007-7-8 23:56:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Hi,

If you want your email domain to receive emails, then your DNS provider will need to create an MX record which points to the IP address of your mailhost e.g.

[root@meg sbin]# host -t MX sun.com

sun.com mail is handled by 5 btmx1.sun.com.

sun.com mail is handled by 5 btmx3.sun.com.

sun.com mail is handled by 5 btmx4.sun.com.

sun.com mail is handled by 20 mx3.sun.com.

sun.com mail is handled by 20 mx4.sun.com.

Emails sent to <anything>@sun.com will be delivered to the hosts listed above.

If any of this doesn' t make sense, you will need to talk to your domain provider, they will know what to do.

Regards,

Shane.

shane_hjortha at 2007-7-8 23:56:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
My DNS is correct, iclude MX record and PTR record.
thanh_nguyen1981a at 2007-7-8 23:56:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

Hi,

Ok if that is the case, then perhaps you should expand on the comment:

"But I can not receive mail from internet"

What exactly does that mean? If you send an email from say, gmail to <address>@yourdomain.com... what happens? Does the email bounce? If so what does the bounce email say?

Regards,

Shane.

shane_hjortha at 2007-7-8 23:56:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5

Hi,

When I send an mail from Yahoo to address@mydomain.com, I have receive Yahoo retured mail as below:

"Connected to My_mailserver_IP_Addr but sender was rejected.

Remote host said: 421 mail Error: timeout exceeded"

I think that submission and delivery was not configure exactly?

Regards.

Thanks.

thanh_nguyen1981a at 2007-7-8 23:56:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6
you have a firewall in front? On the box?jay
jay_plesseta at 2007-7-8 23:56:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 7
Hi,I use Pix Firewall in front, but I configured in Firewall allow traffic from internet come in to my network through port tcp/25 and another ports.Regards,Thanh
thanh_nguyen1981a at 2007-7-8 23:56:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 8

PIx firewalls often cause problems. There are two ways to configure one such, to "pass data through".

The wrong way is to configur Pix to examine and filter the bits. In this mode, the Pix attempts to understand what the smtp commands are, and will give out MTA commands that it cannot handle. This often causes problems exactly like what you report.

The right way to configure Pix is to have it NOT filter at all, to just pass port 25 through to your Messaging Server. This will work.

jay_plesseta at 2007-7-8 23:56:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...