• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 462
  • Last Modified:

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. a.com , b.com , c.com 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.
1 Solution
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.
There is a section in there for virtual mail using sendmail, is that not what you want?

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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 a.com,b.com,c.com must be pointed bot mail.yourLinuxBOX.com ( 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..

http://www.linux-directory.net :: It's all about Open Source & Linux

http://www.linux-gujarat.co.in :: 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.
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 filters.in 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:


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!!

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now