Solved

Linux Mail server

Posted on 2008-09-30
2
223 Views
Last Modified: 2013-12-16
Dear Sir/Madam:

I have redhat enterprise linux ver 5 host name is parrot.abc.com the same is local name server for the internal resolving and this server also works as ftp server this is been assigned with the private ip address  i,e 192.168.1.250 and one more linux box works as a router DNAT and SNAT is done here so from the internet ftp server can be accessed similarly lan users can access the internet but now my requirement is :
To configure the server parrot.abc.com as a Mailserver for the different domain name xyz.com  
that is host name is parrot.abc.com but mail server should be for the xyz.com  please help me how to do this ,
Is it required to change the hostname but i do not want to do so .
please help.



0
Comment
Question by:D_wathi
2 Comments
 
LVL 13

Accepted Solution

by:
WizRd-Linux earned 500 total points
ID: 22612303
There is no need to change the hostname at all.

If you are using for example sake postfix, there is a line in the main.cf configuration file which specifies which domains to accept mail for, as long as the system has a valid user.

mydestination = mail.abc.com, parrot.abc.com, abc.com, mail.xyz.com, xyz.com


From there, your external box, which is doing the NAT for you just forwards port 25 traffic to this server.

From there, setup the domain xyz.com and point the MX record at your external NAT box.
0
 
LVL 19

Expert Comment

by:bevhost
ID: 22612592
If using sendmail add the names to /etc/mail/local-host-names

# telnet localhost 25
quit

to see which mail server you have.


0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
There was an incident about the POP3 issue for the double read receipts and delivery receipts in Exchange 2013.  There was huge research been done and found solution for the duplicate mails. Especially when the user gets  duplicate mails.
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…
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.

747 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

9 Experts available now in Live!

Get 1:1 Help Now