You are not logged in.

#1 2013-03-26 20:44:08

vwyodajl
Member
Registered: 2012-01-21
Posts: 183

[Solved] Need pointer for setting up an email server for other domains

I am trying to setup a mail server that can handle multiple domains. Followed this tutorial [1]

What I have:
mailserver.domain.tld
domain.tld
domain2.tld

I have set up postfix with dovecot through postfixadmin, have configured roundcube as my web email client. For the emails coming from and going to the @mailserver.domain.tld addresses work as I would expect them to.

But what I am not grasping I guess is how do I add the domain.tld and domain2.tld domains so that the emails are @domain.tld but they are properly routed to be received on @mailserver.domain.tld

I have been reading the wiki and the postfix virtual readme, but I feel like I am getting lost and confused on terms. Can someone point me back on path for what the proper next step is to be able to get the other domains to receive mail properly. Should it be done with a virtual email or domain or? I have tried both, but probably not properly and any time I send from @domain.tld the email headers do not say to send back to @mailserver.domain.tld .

Thanks for your time and help.
[1] https://wiki.archlinux.org/index.php/Si … ail_System

Last edited by vwyodajl (2013-03-26 21:03:17)

Offline

#2 2013-03-26 20:57:13

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: [Solved] Need pointer for setting up an email server for other domains

Did you add MX records for mailserver.domain.tld to your domains? That should basically all that is needed to get it working, assuming you configured the domains in postfixadmin already so your postfix feels responsible for them.

Offline

#3 2013-03-26 21:02:39

vwyodajl
Member
Registered: 2012-01-21
Posts: 183

Re: [Solved] Need pointer for setting up an email server for other domains

@teekay dang idiot time for me. I had setup the mx records incorrectly. Thanks for the reminder! Will go back and try again, but that should have been it.

Offline

Board footer

Powered by FluxBB