Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am registering domains on behalf of customers and need to setup email forwarding so I can setup an email address as simple as info@theirdomain.com to forward to their existing mail service (hotmail, gmail etc). We are hosting their websites at their domains but do not wish to host an email server or make them switch email providers at this time.

I have complete control over the DNS setup of their domains and a CentOS server to run some sort of mail-forwarding software on.

How do I go about setting this up / what sort of software do I need?

share|improve this question

migrated from webmasters.stackexchange.com Oct 3 '11 at 15:34

This question came from our site for pro webmasters.

    
Is this on shared hosting or VPS/real server? –  paulmorriss Oct 3 '11 at 15:20
    
@paulmorriss Real server –  Dunhamzzz Oct 3 '11 at 15:57

3 Answers 3

up vote 3 down vote accepted

I recommend exim as MTA.

Its really simple. http://www.exim.org/exim-html-3.20/doc/html/spec_50.html

Just add small 'forward' file, like

boss@mydomain    boss-my-domain@gmail.com

And , dont forget add MX record to dns.

share|improve this answer
    
Thanks, I will look into it, is it possible to do wildcards? –  Dunhamzzz Oct 4 '11 at 9:45
    
as i know - yes. wildcards are possible –  Korjavin Ivan Oct 4 '11 at 11:08
    
What DNS/MX Records do I need to setup? –  Dunhamzzz Oct 5 '11 at 13:40
    
@ MX 10 mail.server.com –  Korjavin Ivan Oct 5 '11 at 16:50

Even as pure forwarder it must to be full-size e-mail server (it just not have local users and forward all to another MTA). How to setup, which MTA to use is slightly different and next question (just to note - any MTA, which your postmaster know well, can be used)

share|improve this answer

If you don't wish to manage a mail server yourself, you better use Google Apps for Business (http://www.google.com/apps‎) or Hotmail for Domain (http://domains.live.com/Signup/SignupDomain.aspx). These way you can create mail addresses with your own domain without managing mail server yourself.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.