Hi all,
Currently hosting site on my winxp with abyss web server, i have dsl with a recently-changed-to dynamic dns service (sucks!). Anyways, i am currently hosting through dyndns.org, a utility which updates your IP with the DNS service each time it changes. I would like to install a mail server on my machine so that I can use "sendmail" with my web site, but i am not quite sure how to go about this with the given DNS stipulations. Please advise as to what the server names should be, etc.


Thanks,
Derek

Dani AI

Generated

Running a mail server from a home Windows XP box with a dynamic IP is doable, but two things decide whether it will actually work for real recipients: DNS/host naming and deliverability/ISP limits. already described the dynamic-DNS setup; pointed out Windows server options and raised the key deliverability concerns. Those are the right issues to focus on before installing an MTA.

If the website only needs to send mail (contact forms, password resets), the most practical solution is to stop trying to use your host IP as a public SMTP server and instead configure your site to use an authenticated SMTP relay (your ISP’s SMTP or a cloud transactional SMTP service) on port 587 with TLS and login. That avoids running a full mail server, bypasses many residential port-25 blocks, and gives much better delivery rates.

If you must run your own MTA, these are the essentials to get DNS and reputation right:

  • Host a real domain and create an MX record that points to an A record such as mail.yourdomain.com (avoid using a CNAME as an MX target).
  • Keep that A record updated to your current IP (use your DNS provider’s dynamic-update API).
  • Ensure the mail server’s EHLO/HELO matches mail.yourdomain.com.
  • Publish SPF that authorizes your IP or, better, your relay; implement DKIM/DMARC if possible.
  • Expect trouble if you cannot set reverse DNS (PTR) — most ISPs control PTR and many receivers check it, so a mismatch hurts delivery.
  • Confirm your ISP does not block inbound/outbound port 25 and read their Terms of Service about running servers.

Quick troubleshooting checklist: test SMTP connectivity and the server banner, run an MX/SMTP check (online tools can help), and test delivery to big providers and inspect headers for rejections or graylisting. For Windows, lightweight MTAs exist, but for consistent delivery a hosted MX or authenticated relay is the pragmatic choice.

Recommended Answers

All 3 Replies

If you are running windows, this is posssible, however I would high recommend running MailEnable. :cheesy:

The only issue with this is that is you may need to change some of the coding to work correctly.

If you are running windows, this is posssible, however I would high recommend running MailEnable. :cheesy:

The only issue with this is that is you may need to change some of the coding to work correctly.

ok i am just wondering though, what will the address of my mail server be, given my DNS as "", pointing to my http server? This seems to be the point at which I run into trouble.

Thanks,
Derek

Hello,

I am sure that it is possible to setup a mail server using Windows XP. Probably not the best suited environment for it, but it should work out.

The larger question is if someone else is going to be able to receive your email effectively. More and more places are scanning email messages, and killing off anything that comes from a dialup or DCHP-based email server, such as what your box would be. You wouldn't have problems sending email to various accounts that you control *internally*, but anything that hits the open internet could be blocked just because some turkey ruined the road before you.

This happened to me; I was using linux to do email services for some club newsletters, and AOL and Road Runner started blocking the emails. The solution was to go to a non-dhcp gathered address and use that for the mail server instead.

Christian

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.