Jump to content

MX (Mail Exchange) Records on Apache Server/James


spider_3000

Recommended Posts

Hello everyone.

 

I'm very new to web servers and such, and have only started earlier today with Apache HTTP Server. So far what I've done is used Apache to host a very simple website on my Windows Vista laptop, and use DynDNS for a dynamic domain name. The domain name is in the format "name.doesntexist.org". So far everything worked, people could connect to the website.

What I wanted to do next is make a simple mail server, and so I installed Apache James. I followed the instructions at http://www.mobilefish.com/developer/james/james.html, and installed the James Mail Server Service instead of running "run.bat" everytime. Everything worked, and I could use 2 internally created email addresses to send emails to one another using Thunderbird. However I tried sending an email to my hotmail address, but nothing happened. After much research, I think I have to set up a MX record, the problem is, nobody tells me where it is.

Can anyone please direct me to the file where I can edit or set up a MX record in either Apache or James.

 

P.S., for James, i had to add the following to my host file:

127.0.0.1 smtp.name.doesntexist.org

127.0.0.1 pop.name.doesntexist.org

 

Thank you very much for your help.

Link to comment
Share on other sites

Thanks for the reply.

 

I've checked out the the mail routing option on the "Modify Hostname" page. It asks me for the MX Hostname. I've tried entering "name.doesntexist.org" into it, but when I reload the page, it didn't save it. If I enter "mail.name.doesntexist.org", it gives me a "MX should resolve to A or AAAA record." error. Same goes for "pop.name.doesntexist.org" and "smtp.name.doesntexist.org".

However, I forwarded port 25 on my router, and now I can get email from my hotmail to my @name.doesntexist.org on Thunderbird. But still can't send emails away.

So my question is what MX Hostname should I enter, and what else do I need to set up?

 

By the way, I have not yet set up a page for "mail.name.doesntexist.org" because I can't figure out vhosts. But that's a problem for another time.

 

Thanks for your help.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.