Solved

Mail relay on Centos

Posted on 2016-09-15
1
72 Views
Last Modified: 2016-09-18
Can we configure a centos to accept all incoming emails, and then route to different next hops based on the incoming email domain ?

Thx
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 41801049
Yes,
I'd suggest you use postfix.
The process is you setup a mail server. Sendmail, postfix, qmail, exim, etc.
You configure the IP segment from which the clients will be connecting as allowed to relay. Different mail server have slightly different terminology for this functionality.
Now handling the outgoing based on the recipient domain, several have a transport routing setup
Commonly the format is
Recipient domain:nexthop
The default next hop might vary among the mail servers, before placing in production, test while looking at the maillog of the mail server ...
*:default next hop
:default next hop

The transport rule is only needed when the mail server does not have a direct path to the net. If it has a path to the net, you can allow it to use DNS to identify the servers responsible for each recipients domain and have it deliver the messages ....
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Upgraded from Debian 7 to 8.7 and got black screen 20 121
postfix start error! 9 85
database connection error mysql stops 7 82
bash: ./Facebooker.pl :Permission Denied 9 52
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…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 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