Solved

Mail relay on Centos

Posted on 2016-09-15
1
46 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
1 Comment
 
LVL 76

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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 …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.

743 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

11 Experts available now in Live!

Get 1:1 Help Now