Email Provider

I require some advice as to how to set up Redhat 4.2 for multiple email and web hosting.  I have set up Apache virtual web hosting (multiple IPs) and it works fine.  The problem I have is setting up mail services.

What I need is POP3 and SMTP but I also need to set up accounts for one or two domains so that they can pick up *all* their mail.

In other words, we have customers who pick up mail on an individual basis using Netscape, but other customers who use TFS gateways for their whole domain.

What sort of configuration do I need on our server?  We have used QPopper and QMail in the past to overcome security issues, but I understand that Redhat 4.2 has secure mail now.  

I am told I need a store and forward server for the customers who want to collect mail for their whole domain.

Note: we are connected 24 hours, the customers TFS gateways are not and just poll every hour or so.  Ideally, I would like to put all the mail services on a single Linux box.

There are many email servers available, do I use the products that come with Redhat 4.2?  What is the most flexible configuration of products?

Your help is much appreciated.

Mark.
mark2061597Asked:
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.

e4monschCommented:
You have to modify the /etc/sendmail.cf. This file is called
rewrite file. There you can state, that the your costomers
domain-names should be "rewritten" to your local hosts name. The mails will end up in the user-account.

For example:
sales@your-client.com

can be rewritten to sales@local-host.com. The headers are not changed by rewriting a mail. The file will end-up on the
user account "sales".

You have to modify your sendmail.cf as follows:
Add following lines somewhere after the local info (DW... DN... - commands ):
#                                                                # aliases for my machine                                        
#                                                                
Cwmail your-client.com

When only rewriting user-names you can use the /etc/alias
file. There you can also setup mulit-recipent account, like
all-customers@my-firm.com.

If you have any questions feel free to mail up again.

Regards Ian

0

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
Linux

From novice to tech pro — start learning today.

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.