?
Solved

Email Provider

Posted on 1997-06-15
1
Medium Priority
?
227 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
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.
Suggested Courses
Course of the Month8 days, 6 hours left to enroll

616 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