- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- regarging smtp
Operating System - Linux
1753792
Members
7042
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-29-2007 11:29 AM
тАО07-29-2007 11:29 AM
regarging smtp
Hi,
I am trying to configure sendmail, when I do telnet localhost 25 its goes through, I do telnte example.com 25, the domain is able to resolve . I am able to do telnet example.com but I con't telnet example.com 25 what could be the reson and How I can trouble shoot.
Thanks
Uma Maheswar
I am trying to configure sendmail, when I do telnet localhost 25 its goes through, I do telnte example.com 25, the domain is able to resolve . I am able to do telnet example.com but I con't telnet example.com 25 what could be the reson and How I can trouble shoot.
Thanks
Uma Maheswar
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2007 12:22 PM
тАО07-29-2007 12:22 PM
Re: regarging smtp
1- Configuration, check sendmail.mc and verify that DAEMON_OPTIONS is commented, like this:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
the "dnl" keyword is used to comment a line in sendmail configuration macro files. Recreate the configuration file:
m4 sendmail.mc > sendmail.cf
Restart the service
2- Firewall:
service iptables stop
Or
system-config-security
3- Selinux?
setenforce 0
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
the "dnl" keyword is used to comment a line in sendmail configuration macro files. Recreate the configuration file:
m4 sendmail.mc > sendmail.cf
Restart the service
2- Firewall:
service iptables stop
Or
system-config-security
3- Selinux?
setenforce 0
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2007 03:26 PM
тАО07-30-2007 03:26 PM
Re: regarging smtp
here is what i did when i was not able to connect to port 25 or use smtp
sendmail.cf file coming with RH7.2 only listens on loopback interface. u can see that in netstat -an
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 now works
sendmail.cf file coming with RH7.2 only listens on loopback interface. u can see that in netstat -an
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 now works
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP