Virtual Email Domain

I'm using RedHat 6.1, how can i configure few sub domain for my e-mail. There will be users in each of this sub domain. When the external user send mail to them it will send to or The particular are as followed.

Domain name -

Sub domain -

How can i pull all this configuration into one single Linux server. Do i need to use Virtual Email Domain to get it works.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I just set something very simuar up on my Linux Server running 6.1.  Yes, you do have to user virtual email domains to get it working.  I found that this was very easy.  Mailconf, and net conf are the two configuration tools you'll want to use in RH6.1.

First, run mailconf as root.  Goto Server Options, then to sendmail.  You'll see a button "Define Virtual Domains"  click there.  add your virtual domains and  exit.  You might want to read the help file with in that area, i found some very enlightening information within it.

Next, a little harder.  Is to edit your inetd.conf file and your services file.  First goto /etc and pico services.  Page down till you see 110      pop3      #pop email
or something simular.  just make sure that the line is *NOT* commented out.

Next pico /etc/inetd.conf.  Scroll down until you see the line pop-3.  This line you have to enter perfectly or it won't work.
pop-3      stream      tcp      nowait      root      /usr/lib/linuxconf/lib/vpop3d      /usr/sbin/ipop3d
all of that on one line

make sure you have all of your dns entries correct.  make sure that each domain has it's own ip...otherwise virtual email server won't detect which server it's supposed to access.  I believe that is it.  Hope it works out for ya.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage Software

From novice to tech pro — start learning today.