virtual mail domains on redhat


I have a Redhat Enterprise Server 4 that I'm running.

I'd like to set up a mail service that would enable me to have virtual domains on it. i.e. , , that are separate and used by different clients.

in windows this would be very easy, I'd install a simple mail server and it would do it for me.
How can I possibly do this with Linux? I've sendmail installed but I don't know anything about it.
I need to have POP3 connectiivty from the internet to this server, and all customers with different domains should use the same public ip that this server has.

Please provide me step by step instructions if possible.
Who is Participating?
Within a linux environment what tends to happen is that there is a seperate daemon running for pop, and another for SMTP. This often complicaets matters for a newcomer. Assuming that you just require SMTP, and POP, then I can thoroughly recommend xmail:

as the SMTP and POP are included in the same package.

In order to configure it, I recommend xmail admin:

which runs on windows. Before you can use it, you will need to set up a password for it (which you create using the XCrypt command in the bin directory of /var/Mailroot. You will also need to configure the server configuration file (also in /var/Mailroot)

Once that's done adding domains, and users and removing and configuring them is really easy and intuitive.

Although this is not a 'mainstream' mail server solution, I have found it to be very capable and efficient coping happily with over 40,000 emails in one day (when one of the individuals in the company running on this had their PC compromised by a bulk mailing worm!)

It supports antivirus/spam filtering etc, but these are a little more 'fiddly' to set up. Basically you'll need to manually copy a script into the or filters.out as appropriate, and add the filter to a list of filters to be run...and away you go.

If you need a 'hardcore' solution dealing with millions of emails a day, then you probably need to look at Qmail...(plus a sendmail hack!)

or as Dovecot comes with RHEL4, you might wish to work through this for a multi-domain/anti-spam/virus configuration with the assistance of Postfix:

I think this is what your looking for, try this
eggster34Author Commented:
I think it is not.
this explains how to create virtual websites. Please read my question again.
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

There is a section in there for virtual mail using sendmail, is that not what you want?
Well eggster34 ,

you 1st install vpopmail in u r linux box - within that you can able to host mulitiple domain with single sendmail .

read Vpopmail documentation for adding domain and create user for specific domain.

and for  MX record of all your,, must be pointed bot ( where u r sendmail running) . So that will suffies u r running single sendmail server with multiple domain with single IP Address.

If more query go on posting..

linux2000in :: It's all about Open Source & Linux :: It';s Place to learn Linux free in different WAY !
eggster34Author Commented:
wvelez, I just noticed that section, but it's very short and I didn't understand anything. as I said, I'm a newbie and I need step by step instructions.
eggster34Author Commented:
pjedmod, the documentation is for professionals only, I need a full guide i.e. which command to use when untarring, how to install / compile etc.
eggster34Author Commented:
Dear Piedmond, Thanks a lot man, I managed to do it!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.