Running a home mail server using dynamic dns

Is it possible to run an email server on my home box using dynamic dns?

The scenario is, I want to auto cc all incoming and outgoing emails from my one account to another, from some server side config instead of configuring email clients for rules. I have tried Google Apps Mail but it doesn't allow auto cc of outgoing emails. After having read tons of blogs, forum messages etc (hope I have been reading the correct info :) ) the only option to achieve what I am needing is to setup my own mail server, but the cost of getting a static IP doesn't fit my budget.

Please can someone point me in the correct direction. Platform doesn't matter, I can setup a Windows or Linux server.

Many Thanks


Running an email server on dynamic DNS, while certainly possible, is a bad idea. Here's why: http://www.arschkrebs.de/postfix/postfix_why_dyndns_does_not_work.shtml

If you don't want to get a static IP, then I'd suggest checking into the various email hosting services (google for "email hosting") and see if one of those might fit your needs.


It's possible to run a smtp on a dynamic IP with a small delay (due to the caching nature of DNS) on delivery when your IP actually change.

Easiest setup I suppose is dyndns which has clients for all major OS's.

As for the scenario postfix address rewriting should do the trick.


You can absolutely run an email server with dynamic DNS. Though you can run an email server on dynamic DNS, there are some hurdles. In regards to previous posts citing the issue with updating your IP from your server, I choose to have my dynamic DNS updated from the firmware within my router. This ensures that regardless of the state of my clients that the IP updating feature is always on (as long as there is not a power outage of course). Even if there was a power outage, the router would eventually get back up and sync to my dynamic DNS host regardless of client activity. With this, your server will need to have a reserved IP address issued from your router so as to not tangle with any other configurations.

As far as the email server aspect, your biggest issue on dynamic DNS will be other email servers marking the mail as spam due to the changing nature and tough identity of a server running on a dynamic DNS. Many email providers, gmail for instance, will mark my emails as spam because it cannot identify the credibility of my server. There are workarounds that I am still trying to hammer out but given the changing IP beyond my router, I will constantly deal with that spam issue.