Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th March 2008, 02:09
can can is offline
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Cool Retracing Steps in Pefect Set-up Centos 5.1

As indicated, I am having to retrace my steps to figure out why I can't get my Postfix installation running properly.

I believe (being very new to this) that my DNS connectiviety is the issue. My server (192.168.XX.XX) is behind a firewall appliance that is assigned the IP 74.XX.XX.XX.

I apologize for asking very basic questions, but I need to ensure that I am not misunderstanding so that I can get this right.

1): the perfect setup example shows a mapping of an "Internal IP" to its related FQDN. In my case, my "EXTERNAL IP" is mapped to my FQDN. Is this correct?

2) Does the DNS port (53) need to be forwarded in the firewall appliance (mine is)?

3) Before even starting up POSTFIX I run IFCONFIG and get inet = 192.168.XX.XX; If I run NSLOOKUP mail.xxx.com, I get my server (mail.xxx.com) and the EXTERNAL IP (74.xx.xx.xx). Is this correct?

Again, I appreciate any help in stepping through this. My frustration is growing, but I am endeavoring to stay patient!
Reply With Quote
Sponsored Links
  #2  
Old 11th March 2008, 21:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Quote:
Originally Posted by can
2) Does the DNS port (53) need to be forwarded in the firewall appliance (mine is)?
Only if you want to run your own name server. In this case you must forward both TCP and UDP.

Quote:
Originally Posted by can
3) Before even starting up POSTFIX I run IFCONFIG and get inet = 192.168.XX.XX; If I run NSLOOKUP mail.xxx.com, I get my server (mail.xxx.com) and the EXTERNAL IP (74.xx.xx.xx). Is this correct?
Yes. Make sure that port 25 is forwarded to your ISPConfig server, that your ISP isn't blocking port 25, and that you aren't blacklisted (most dynamic IP addresses are): http://www.mxtoolbox.com/blacklists.aspx
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
can (15th March 2008)
  #3  
Old 11th March 2008, 21:54
can can is offline
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Cool Appreciate your help.

As mentioned, we are a static IP, but I will check the blacklist to make sure that we are not there. We do not run a nameserver, bu instead rely on COMCAST to provide primary and backup DSN addressess as part of our commerical account. They do not block Port 25 and in fact, have disabled our gateway firewall as I had requested.

At 04:00 this morning, I got up and started to read your tutorial on DNS and BIND. It was very informative and I applaude you for your strong and concise technical writing skills.

As someone really new to LINUX and related email administration (self-taught), I find that most documentation takes for granted a reader familiarity with underlying related concepts and principles. In my case, this forces me to backtrack and get the base knowledge to go forward in the reading. At the same time, I am under pressure to "get my systems up and running" so that I can return to making a living in my small business.

I have another basic question regarding /etc/hosts (as per your example 4 on page 3 (perfect setup Centos 5.1).

My file is like your example, except that my server mail.xxx.com points to the Internet address assigned to my firewall appliance (74.xx.xx.xx), but yours apparently points to an internal address 192.168.0.100. Based upon the fact that my foward and reverse DNS point my mail.xxx.com server to the external address (74.xx.xx.xx), is this hosts configuration correct?

Again, thank you for your patience and consideration as I trace my steps and gather the basic knowledge required to be effective and efficient.
Reply With Quote
  #4  
Old 12th March 2008, 19:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

Quote:
Originally Posted by can
Based upon the fact that my foward and reverse DNS point my mail.xxx.com server to the external address (74.xx.xx.xx), is this hosts configuration correct?
Yes, that's ok.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 13th March 2008, 20:20
can can is offline
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Cool Unable to telnet to machine IP address.

Thanks for that last verification. I have backed-up with this new information and a clean CENTOS and Postfix installation to reconfigure from scratch. I picked up "The Book of Postfix" and have stepped line by line in order to get my system working.

I got stopped in my tracks when I was unable to telnet to my server with "telnet mail.xxx.com 25". So I went to the trouble shooting section and am again stopped when I try "telnet 74.xx.xx.xx 25". Recall that my server "mail.afea.com" is behind a firewall appliance and is pointed to the external IP address 74.xx.xx.xx. I have checked my main.cf file and the "inet_interfaces" line is set to "all" and nothing else.

Can you advise on what else I should check?
Reply With Quote
  #6  
Old 13th March 2008, 21:22
can can is offline
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Cool Learned something about "postfix reload"

Falkso,

I learned something from "the Postfix Book" author today. The "postfix reload" command does not rebind the interfaces. I did not know this and used the command after updating my "inet" line in the main.cf file.

Once I stopped and restarted postfix, I was able to telnet to my localmachine via the external IP address.
Reply With Quote
  #7  
Old 15th March 2008, 18:56
can can is offline
Junior Member
 
Join Date: Mar 2008
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
 
Thumbs up Thanks!

Falko,

I very much appreciate the time that you took to help with my configuration issues. I am up and running and getting more familiar with LINUX and POSTFIX administration.

Again, thank you.

can
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 16:33
Some How-To Questions For CentOS 5.1 pcburner HOWTO-Related Questions 4 27th January 2008 14:10
Advice on how to setup Lintrack As A LAN Gateway And An OpenVPN Bridge eddiequek HOWTO-Related Questions 0 12th July 2007 10:38
Transaction error Perfect FC6 setup ACDII HOWTO-Related Questions 1 6th July 2007 14:56
newbie ububtu 6.0.6 error PHP binary line 816 davidsky73 Installation/Configuration 8 17th September 2006 11:51


All times are GMT +2. The time now is 05:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.