Re: Multiple domains in smtp server(postfix)
Andhu <aravind.arjunan@gmail.com> wrote:
>
>
> In my mailserver am having one domain called linux.com and the FQDN is
> experts.linux.com
> Here in this mail server i want to add multiple domains.
> so when ever am sending mail from client either outlook or
> squirrelmail to any of the domain,it should be delivered.
> so plz tell me how to add multiple domains in single mailserver.
Ok.
You need a few things.
MX records for all the domains you want to receive for to point to the
host that will receive the mail.
You need virtual mail of some sort setup on the postfix, so it knows to
accept the mail being send to it.
The virtual man page for postfix explains manual ways to do this. I no
longer have any manually configed mail, but you may need an entry like
linux.com null
in your virtual file, as well as any other domains you are accepting mail
for. The "null" part can be any text, it's just a place holder.
there is also a program called postfix admin that controls all virtual
mail with a mysql database that's pretty easy to use. It has a php front
end for administration.
|