Solved

Email Provider

Posted on 1997-06-15
1
214 Views
Last Modified: 2013-12-15
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.
0
Comment
Question by:mark2061597
1 Comment
 
LVL 2

Accepted Solution

by:
e4monsch earned 100 total points
ID: 1628199
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

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question