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 am looking for way to forward email from info@mydomain.com to e.g. uglyname@hotmail.com. And I wish provide a webinterface for someone else to setup this mail forwarding.

Mydomain.com runs on a VPS with Ubuntu server 10.04 and LAMP installed. I have full control over the DNS table.

share|improve this question
3  
What are you trying to do? It is not clear from your question. Do you have multiple users? Do you want users to be able to forward their own email? Do you want users to forward system mail? Do you just want to forward your own email? Do the users have command line access? (To forward your own email from the command line, just put the email address into a file called ~/.forward.) To forward messages at the server level, edit /etc/aliases and run newaliases as root to forward. –  Mei Feb 21 '12 at 19:00
    
I simply want that when people send an e-mail to info@mydomain.com that that mail is forwarded to another e-mailadres (e.g. uglyname@hotmail.com). Right now I'm trying if postfix can do the trick, and I maybe can make a java server page to manage these aliases. I still think there must be an easier way. –  cobra91 Feb 21 '12 at 19:53
    
The server doesn't have any debian users relevant to this forward issue. –  cobra91 Feb 21 '12 at 19:54
    
You could just add a line to /etc/aliases for the alias info and forward it where you want; an alias like that is usually set up by the admin of the mail server. Just run newaliases after changing the file. This change works for any mail server. –  Mei Feb 21 '12 at 22:39
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.