- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to enable smtp port in Linux
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
Discussions
Discussions
Discussions
Forums
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
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
тАО01-04-2006 10:23 PM
тАО01-04-2006 10:23 PM
I have setup postfix server but the problem smtp port is not enabled .
SMTP port details has been added in /etc/services
The error is as follows
telnet 192.151.103.42 25
Trying 192.151.103.42...
telnet: connect to address 192.151.103.42: Connection refused
telnet: Unable to connect to remote host: Connection refused
OS =Red hat linux enterprose version 4
Thanks
Binu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2006 10:43 PM
тАО01-04-2006 10:43 PM
Solutionservice iptables stop
2- Ensure that the service is up and running:
service postfix start
service postfix status
chkconfig postfix on
3- Ensure that your main.cf file has the following option configured:
inet_interfaces = all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2006 10:43 PM
тАО01-04-2006 10:43 PM
Re: How to enable smtp port in Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2006 01:18 AM
тАО01-05-2006 01:18 AM
Re: How to enable smtp port in Linux
Please check if firewall is configured in ur machine..
#iptalbles -A
if it is enabled, either u need to flush out or u need to disable the firewall for the port 25
#iptables -F
#man iptables
#iptables -d INPUT -P TCP --dport 25 -J ACCEPT
#iptables -d OUTPUT -P TCP --dport 25 -J ACCEPT
Hope it will help u to resolve ur issue..
cheers
indrajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2006 03:48 AM
тАО01-05-2006 03:48 AM
Re: How to enable smtp port in Linux
Telnet port 25 from the server itself:
telnet localhost 25
if it connect that means u have Iptables restricting access. In this case do
iptables -F and try again
If even from localhost u cant connect do the following:
Do an nmap to see if the port is open:
nmap localhost
if it is not open do
service postfix restart
Best of luck!!!