Cannot Telnet postfix port 25 - Connection failed
Ok..I am pulling my hair out to get postfix to respond to Telnet on port 25
The machine is Centos 6 i386 on Virtualbox with bridged network This also has a webserver which is working fine Local machine ip is 192.168.1.60 I can connect with putty and Winscp from local machines ( same subnet )and telnet on p22 So far I have done Installed telnet telnet-server Stoped iptables ( but have added to allow port 25 ) etc/hosts Code:
127.0.0.1 localhost.localdomain localhost Code:
myhostname = mail.ipabxsystems.com Code:
smtp inet n - n - - smtpd Connecting To 192.168.1.60...Could not open connection to the host, on port 25: Connect failed C:\Users\Stuart> |
Code:
netstat -laptn | grep master |
Code:
Last login: Sun Aug 28 09:46:47 2016 from 192.168.1.90 |
Is your postfix running?
Maybe it doesn't use 'master' on Centos ... maybe: Code:
netstat -laptn | grep :25 |
Yes postfix is running ( and been restarted )
[root@mail ~]# netstat -laptn | grep :25 [root@mail ~]# |
Well, it's not listening on port 25 on any interface.
|
Code:
[root@mail ~]# uname -a Code:
[root@mail ~]# cat /etc/centos-release |
Quote:
I just cant work out why... |
Your snippet from master.cf looks wrong, have you been messing about with it?
See http://www.postfix.org/master.5.html if you want to customise it. edit: presumably there are no obvious clues in your mail.log? |
Fixed typo... still no joy
Code:
smtp inet n - n - - smtpd |
Quote:
Code:
25 inet n - n - - smtpd |
Is that your entire master.cf??
The smtp service IS port 25 so those lines are a duplicate - don't know if that matters as I have never seen it misconfigured like that before. inet_interfaces doesn't belong there! |
Quote:
Looks like that was the problem Thank You (very much) :-) |
All times are GMT -5. The time now is 02:50 PM. |