Mailserver and DNS setup - using subdomains in e-mail address and then catch all
Posted on 2015-01-15
We are setting up a kind of yellow pages website in denmark. Each company profile is put on a subdomain (companyname.better.dk) we would like to give each of these companies their own email address like firstname.lastname@example.org.
We don't want the company to be able to send email using this email address. They should only be able to receive email, these emails are put into our messaging system, like the message system here at expert-exhange, then when they want to answer back, the receiver will get and email that says: See the answer here: and then a link to our website. Here they then have to login using facebook login or setup new user, to then write back inside the messaging system.
So my question is:
Could we make a Catch All email address, that catches all emails sent to *@*.better.dk? also we need to identify which email address it was sent to, so that we can place the email in the right messaging inbox for the specific company on our site. So if the someone sends an email to email@example.com then that email ends up in the Catch All inbox, then we pull that email out from that inbox, identifies the company it is sent to, in this case company-a, and then we put the message into their message inbox in our system, we also need to know the "from address" so that when answering back, we need to send an email from "firstname.lastname@example.org" - or something similar - that the need to go to this link, to see the message. Then this receiver will have to setup a user at our site to see and answer the message back, but this time all messaging will be internal, since that receiver is now also a user at our site.
I have been looking around the web, and it looks as though it is possible, but that you should use som specific mailserver software etc.
Would it be easier to just setup real email address and account, or atleast email alias if possible?
Hope my question is understandable.