I've got a postfix server with mysql back-end. Currently I have just one domain which I will call "maindomain.org"- but now I got another domain too, which will be called "aliasdomain.org"
I wan't to set up the aliasdomain.org to be an alias for my maindomain.org.
This shoulden't be to tricky, but I can't figure out how to do it.
What I tried :
I tried to add in the alias (I tried the virtual too) database with
(I also tried the other way, just to be sure)
But when I try to send I message it get's stuck in the queue, with message "bouced back to myself" or something like that.
Just to try I tried adding the domain in transport db.
Now I got a different error saying email@example.com
did not exist.
I wan't the mail coming to the aliasdomain.org to get forwarded to maindomain.org, and ofcourse keep the username.
when it get's in my inbox.
Hopefully by just adding the whole domain as a alias.