I'm trying to set up email domain aliasing in qmail (I'm on a Plesk server). What should happen is that emails sent to user@myalias.com get sent to user@realdomain.com (regardless of what user is). I would like this to happen without having to set up redirects and mess around with that sort of thing.
I've followed the details on this forum post with limited success. I only made changes to the qmail config as all other config is already there and correct as the myalias.com domain is set up through Plesk ...
- modify /var/qmail/control/virtualdomains
- add myalias.com:60 ("60" corresponds to the integer of the realdomain.com that is in the same file)
- restart qmail service
Logs are showing that qmail accepts the incoming email to @myalias.com and then routes it to @realdomain.com. The email then goes missing and is never actually delivered.
Any thoughts on where/how I could dig deeper to figure out what's happening to the email?
Thanks.