james - mail server DNS configuration

Posted by Chaitanya on Server Fault See other posts from Server Fault or by Chaitanya
Published on 2010-12-25T07:45:40Z Indexed on 2010/12/25 7:55 UTC
Read the original article Hit count: 656

Filed under:
|
|

hi, I am setting up james mail server. I installed James and added in the config.xml added the servername as mydomain.com.

In the DNS for mydomain.com, I have created a A-record, say mx.mydomain.com, which corresponds to the ipaddress of the above mail server machine. Then added mx.mydomain.com as MX record for mydomain.com.

In James, I have created a new user test. From the user I have sent a mail to my gmail account. I see that the mail is accepted and the mail is in outgoing folder of James. But it's not relay to the gmail server.

In the config.xml of James, I have added 8.8.8.8 and 8.8.4.4 as the dns server addresses, which are public DNS servers hosted by Google. IPTables on the machine is stopped.

Thanks for your help!

© Server Fault or respective owner

Related posts about smtp

Related posts about smtp-relay