Solved

Email Provider

Posted on 1997-06-15
1
212 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

914 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now