I have a new Debian squeeze VPS with which I'm using to serve a couple of web sites. I have an email address [email protected] that I would like to redirect to [email protected].
Can I install some script or service to do that? If so what would suit my needs best. I did some looking around already and found sendmail but that looks too complex and nullmailer but I'm not sure if that would work for this scenario.
I use
Exim4
which should be available as a package. Configuration can mostly be done withdpkg-reconfigure
. Once it is installed add the appropriate alias to/etc/aliases
.You likely want to configure using a
smarthost
(mail relay). You will need to decide if you want any local email, or want to send all messages to yourgmail
account.Either
postfix
orsendmail
should be just about as easy to configure.