Search code examples
dnssmtpwampmx-recordhmail-server

hMailServer with Domain - WAMP


I came into a struggle the last few days.

Using WAMP Server and following this Tutorial I set up a local email environment, and I wanted to make the emails reach accounts outside of the local host.

I heard you need to make some changes in the DNS zone, so here is my DNS Zone at Freenom.

enter image description here

Is is possible to make emails sent from a computer using hMailServer reach the outside world through a domain?

Thank you for your time.


Solution

  • It is possible but it depends on your Scenario.

    If you are behind a Router or a NAT or a Dynamic IP-Address it's almost not possible to run a real World sending SMTP-Server and you shouldn't

    If you have a Hosting plan (your own Windows V-Server or Root server) with Remote Desktop access and a static ip address it's and access to the DNS-Configuration of your Internet Domain, it is possible and recommended.

    1) First you need to setup a DNS A Record which points to your static IP in DNS 2) You need to create DNS MX Record which points to your A Record

    Now you can add a new hMailServer Domain and add accounts and sent Emails out. But you should setup a DNS A Record for IMAP or POP3 as well so you can Receive Emails and not only sending.