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 do not know what are the options are and how to google them and I am little far from the subject, so I am asking it here:

We are a student club and we have a virtual Ubuntu server by our school, it has a limited space and we host our web page there. In the back end, we want to setup such mail server that can direct incoming mails to previously mapped addresses (such as GMail). Additionally, we want our mail to be sent from this host, by setting up SMTP. We want our mail to have mustafa@studentclub.university.edu and to be sent from our server to have a valid IP.

I have found information on how to redirect the incoming mail, but I could not find a hybrid solution for both. I can write them on my own, with C, Java or NodeJS however I do not want to reinvent the wheeel and probably there is a better wheel out there but I cannot find. Is there any server that can do these?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Any decent MTA can handle mail forwarding and sending outgoing mail for clients. The main ones on *nix are Postfix and Exim. With Postfix you would use mail forwarding domains to handle the first requirement, and standard relaying with user authentication to handle the second.

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.