Re: postfix on RH 7.2

Dirk Dettmering <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
Hy,

Vijayprasad wrote:
> is it possible to configer two domine in one server by
> postfix on RH 7.2 , Ex : 123.com & 321.co.in(both the
> domain in one system)if possible to configer in server
> please help me out.

That's really easy to achieve. In main.cf put a line like this:
virtual_maps = hash:/etc/postfix/domains/domain1.tld,
                hash:/etc/postfix/domains/domain2.tld
I prefer to have one file for every virtual domain and to put those
file in a subdirectory.
In /etc/postfix/domains/domain1.tld put something like for e.g. the
domain domain1.tld:

domain1.tld anything
[email protected] postmaster
[email protected] postmaster
[email protected] realuser
[email protected] realuser2
...

Important is the first line with domain name something. And the rest
ist just mailaddress on LHS and real username on the RHS. If you want
a catch-all address the last line should be @domain1.tld realuserX.
For more information read the files in /etc/postfix/README_FILES.
But bear in mind that some special addresses are required by rfc 2142
(see
http://www.ietf.org/rfc/rfc2142.txt section 2) for every domain.
 
Bye

Dirk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.