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

I have a VPS running ubuntu 11.10 for a Django app, I want to be able to handle the email for one specific domain (already have the reverse lookup setup with the ISP for that domain), all I'm doing is forwarding email to different addresses, example first_name@mydomain.com -> first_name8384@gmail.com , second_name@mydomain.com -> second_name99348@yahoo.com ... What should I use, and how do I set it up. I'm using Cherokee for the django app since I know someone's going to ask(I know nginx is supposed to do email, but I'm not switching).

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

You are looking for an MTA like postfix or exim.

Use any decent MTA. The fact that your server will not host the mailboxes itself but forward all mail to external servers should not influence much your choice: You just won't have to install additionnal software like pop server or webmail.

You can look at /etc/aliases to forward mail.

share|improve this answer
add comment

This old ServerFault thread shows how to use the Exim MTA to implement this:

Setting up Exim to forward mail

For this to work, the VPS will either need to be the primary MX for mydomain.com, or have another MTA forward mail to it directly.

share|improve this answer
1  
Please provide content here. Link-and-run answers are strongly discouraged. –  EEAA Aug 26 '12 at 21:08
    
Understood. But apart from the no-links rule, that old post pretty much solves his problem. –  Timothy Makobu Aug 26 '12 at 21:46
    
The quality of the linked page really has no bearing on this. Without providing content here on how to solve the problem, your answer loses 100% of its value the instant that link goes dead. The mission of SE is not only to help others out in real time, but also to build a repository of questions and answers for those searching in the future. –  EEAA Aug 26 '12 at 22:04
add comment

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.