LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2006, 05:48 PM   #1
InTech
LQ Newbie
 
Registered: Oct 2006
Distribution: CentOS 4.4
Posts: 3

Rep: Reputation: 0
Exclamation Basic Postfix Installation Problem


I have posted my issue in numerous forums to no avail...PLEASE, I AM BEGGING YOU...HELP!

Setting up my test email server and have run into a snag: I can not connect to Postfix in any way (Outlook or telnet) from any other PC on my network. I am looking to replace my current Exchange 2000 server with my Linux as my primary email server so I need it to be able to receive email from the internet. (External MX record already configured)

I can:

- Ping my new Server
- Connect to the internet from my new server
- Telnet to Dovecot on the new server from another PC on my netwok through port 110.
- Send mail externally FROM my new server
- Telnet to Postfix FROM the server itself

I honestly believe this is a configuration issue within Postfix as I have disabled ALL firewalls, SELinux and IPTables to no avail. I just don't know where to begin..

Everything is a standard install except for what I have changed as listed below.
Here is what I have tried:

1) Installed CentOS 4.4. Install went fine. Selected a standard "server" config and only selected "Mail Server" additional to the standard server config during the initial install. Installed all updates and patches.
2) Installed Postfix via yum. Install went fine. ran the following:

# chkconfig --level 35 sendmail off
# chkconfig --level 35 postfix on
# /etc/rc.d/init.d/sendmail stop
# /etc/rc.d/init.d/postfix start

Configured only the following parameters in the main.cf file:

myhostname = mail.in-tech.us
mydomain = in-tech.us
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, $mydomain
mail_spool_directory = /var/spool/mail
mynetworks = 192.168.254.0/24, 127.0.0.0/8

Ran system-switch-mail and selected Postfix as my MTA.

I completely disabled the firewall, SELinux, iptables service and rebooted.

Still couldn't connect to Postfix via telnet from my other machine OR any MUA
 
Old 10-29-2006, 06:42 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Sounds like postfix is listening only on the loopback interface. In main.cf, you should have:
Code:
inet_interfaces = all
If that doesn't fix the problem, post the output of
Code:
postconf -n
 
Old 10-29-2006, 09:16 PM   #3
WindowBreaker
Member
 
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
I agree that Postfix may only be listening on the loopback interface.

To check, run the following commands (and post the output for us to see):
Code:
netstat -pantu|grep -w 25
lsof -i :25
I would try the suggestion(s) offered by the previous user.

If it doesn't work, tell us whether you're connecting to your postfix server via it's hostname of ip address.

Another thing to try is to run tcpdump to see if any TCP/25 packets are hitting the postfix box from your LAN.
You can do that as follows (assuming you LAN is on eth1):
Code:
tcpdump -i eth1 port 25 -A
Cheers
 
Old 10-29-2006, 11:20 PM   #4
InTech
LQ Newbie
 
Registered: Oct 2006
Distribution: CentOS 4.4
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry -

That is exactly what I figgured out. I should have reposted my problem was solved...

Apparently Postfix is now shipping with it listening on the loopback..or at least from the CentOS yum repos...

Thanks for your patience and time!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
basic config for postfix dienerk Linux - General 1 10-25-2004 02:52 AM
basic installation human Linux - Newbie 5 10-05-2004 05:06 PM
Postfix basic configuration Swift&Smart Linux - Software 21 09-05-2004 05:38 PM
postfix server installation, samba server problem eozdoganci Linux - Networking 0 06-04-2004 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration