Connection refused to port 25 and 587 but sendmail listening on those ports.
Hi, I am new to this forum, and new to Linux, I have been working with it for ten months and I am a big fan now.
I have recently installed a set of virtualized servers with XenServer 5.5 that have one purpose only and that is sending emails.
I have a central server whith Fedora 12 x86_64 that relays email to other servers ,that have minimal config, through a virtual interface created with Xen that works as a LAN.
I have 3 CentOS 5.4 servers working fine in this setup and now I am trying out TurnKey Linux Core, just because its a Linux that has nothing on it, and that way I can use less memory.
The problem is I cant seem to connect to port 25 or 587.
The machine has shorewall installed and I am logging all traffic through the local interface and it shows the telnet request getting there.
Doing a netstat shows sendmail listening on port 25 and 587.
I really dont understand what can be wrong.
Any help would be great.
Thanks in advance.
[root@vm-laentidad1 ~]# telnet 192.168.100.53 25
telnet: connect to address 192.168.100.53: Connection refused
Shorewall:loc2all:ACCEPT:IN=eth2 OUT= MAC=xx:xx:xx:xx:xx:xx SRC=192.168.100.1 DST=192.168.100.53 LEN=60 TOS=0x10 PREC=0x00 TTL=64 ID=56116 DF PROTO=TCP SPT=54963 DPT=25 WINDOW=5840 RES=0x00 SYN URGP=0
Netstat -nlp output:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:12320 0.0.0.0:* LISTEN 4302/shellinaboxd
tcp 0 0 127.0.0.1:587 0.0.0.0:* LISTEN 4434/sendmail: MTA:
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 23620/perl
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 4434/sendmail: MTA:
tcp6 0 0 :::22 :::* LISTEN 4232/sshd
udp 0 0 0.0.0.0:12321 0.0.0.0:* 23620/perl
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 11646 4434/sendmail: MTA: /var/run/sendmail/mta/smcontrol
Sendmail is listening on 127.0.0.1 interface, not 192.168.100.53. So try to reconfigure sendmail to listen on the correct interface.
Thanks, that solved it.
|All times are GMT -5. The time now is 04:56 PM.|