Solved

Email Provider

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

830 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