- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: postfix and RHEL 4X
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2007 01:54 PM
06-02-2007 01:54 PM
postfix and RHEL 4X
ANY wisdom is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2007 09:15 PM
06-02-2007 09:15 PM
Re: postfix and RHEL 4X
netstat -an | grep ":25 "
# to see if there is a listener up.
Default RH configuration sets up iptables and blocks port 25.
service iptables stop
Test again.
If it works, configure iptables to permit traffic on port 25.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 01:22 AM
06-03-2007 01:22 AM
Re: postfix and RHEL 4X
it looks like this
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
I Commented following option and restarted the sendmail daemon.
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
Then after restarting the daemon using netstat -an.
the output changed to
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
My mail/smtp now works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 09:38 AM
06-03-2007 09:38 AM
Re: postfix and RHEL 4X
chkconfig postfix on
service postfix status
2- Check that sendmail is not running, or postfix will fail to start
service sendmail stop
chkconfig sendmail off
3- As methioned before, disable firewall to test. If you can connect after this, modify your iptables rules:
service iptables stop
4- Ensure that you have the following line in main.cf:
inet_interfaces = all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2007 01:31 PM
06-03-2007 01:31 PM
Re: postfix and RHEL 4X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2007 03:54 AM
06-04-2007 03:54 AM
Re: postfix and RHEL 4X
Only Postfix is configured on this box. sendmail is not running.
netstat -an | grep *.25* yields nothing
netstat -an | grep .25 yields
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
shuting down iptables does not alter results
inet_interfaces = all was set.
When Telneting I get:
telnet ratatosk.currycollege.net 25
Connecting To Ratatosk.currycollege.net...Could not open connection to the host, on port 25: Connect failed.
A true puzzlement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2007 01:44 PM
06-04-2007 01:44 PM
Re: postfix and RHEL 4X
Are u doing this telnet locally from the same server? is that machine in your local LAN ? if not is it going through any restricted firewall?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 12:34 PM
06-05-2007 12:34 PM
Re: postfix and RHEL 4X
I have been sitting at my windows PC trying to telnet to port 25 on the new linux box and the idiot virus scan blocks outbound port 25. Once I shut that down it works.
Thanks all to your advice and insight.
Chris S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2007 02:57 AM
06-07-2007 02:57 AM
Re: postfix and RHEL 4X
I learn a lot from reading your posts and most times I solve my problems with just a little search of this site.