Bug #60203

SMTP external address listening issue

Added by Volodymyr Tomash almost 2 years ago.

Status:NewStart date:12/22/2015
Priority:NormalDue date:
Assignee:ServerDevsGroup% Done:
0%
Category:Scalix Server
Target version:Scalix 12.6
Operation System:Rhel 6
Milestones: Scalix 12.6 release

Description

Hello
on CPG mail server unexpectedly, without any notifications and logs information omsmtpd was stuck
I see lot of connections on 25 port

[root@mail ~]# lsof -i:25
COMMAND    PID    USER   FD   TYPE    DEVICE SIZE/OFF NODE NAME
stunnel    756 stunnel   56u  IPv4 721878780      0t0  TCP mail.cpgventures.com:59773->mail.cpgventures.com:smtp (ESTABLISHED)
stunnel    756 stunnel   58u  IPv4 721880016      0t0  TCP mail.cpgventures.com:59820->mail.cpgventures.com:smtp (ESTABLISHED)
sendmail  9284    root    4u  IPv4 567443929      0t0  TCP localhost:smtp (LISTEN)
java     15488    root  200u  IPv4 721845886      0t0  TCP mail.cpgventures.com:58778->mail.cpgventures.com:smtp (ESTABLISHED)
java     15488    root  242u  IPv4 721869441      0t0  TCP $SERVER_NAME:59506->$SERVER_NAME:smtp (ESTABLISHED)
omsmtpd  19438    root    4u  IPv4 687205919      0t0  TCP $SERVER_NAME:smtp (LISTEN)
omsmtpd  19438    root    5u  IPv4 721836828      0t0  TCP $SERVER_NAME:smtp->$External_IP:44506 (ESTABLISHED)
omsmtpd  19438    root    6u  IPv4 721836830      0t0  TCP $SERVER_NAME:smtp->$External_IP:44509 (ESTABLISHED)
omsmtpd  19438    root    8u  IPv4 721836832      0t0  TCP $SERVER_NAME:smtp->$External_IP:44505 (ESTABLISHED)
omsmtpd  19438    root    9u  IPv4 721836834      0t0  TCP $SERVER_NAME:smtp->$External_IP:44508 (ESTABLISHED)
omsmtpd  19438    root   10u  IPv4 721836836      0t0  TCP $SERVER_NAME:smtp->$External_IP:44507 (ESTABLISHED)
omsmtpd  19438    root   11u  IPv4 721837376      0t0  TCP $SERVER_NAME:smtp->$External_IP:47909 (CLOSE_WAIT)
sendmail 21794    root    9u  IPv4 721880877      0t0  TCP $SERVER_NAME:33773->$External_IP:smtp (SYN_SENT)

But server's greeting I was able to see only by telnet localhost 25

telnet $SERVER_EXTERNAL_IP 25 
Trying $SERVER_EXTERNAL_IP...
Connected to $SERVER_EXTERNAL_IP.
Escape character is '^]'.
telnet> quit

I see no
220 $SERVER_NAME ESMTP Sendmail 8.14.4/8.14.4; Tue, 22 Dec 2015 10:43:27 -0500
[root@mail ~]# omstat -a 
PC Monitor                    Started        NON-STOP       0
Directory Relay Server        Started        11.16.15       
Notification Server           Started        11.16.15       0
Shared memory daemon          Started        NON-STOP       
Notification Monitor          Started        NON-STOP       
Session Monitor               Started        NON-STOP       
Indexer                       Started        NON-STOP       
Stats Daemon                  Started        NON-STOP       
Container Access Monitor      Started        NON-STOP       
Item Structure Server         Stopped        01.09.15       
Database Monitor              Started        11.16.15       
Licence Monitor Daemon        Started        NON-STOP       
LDAP Daemon                   Started        11.16.15       
Queue Manager                 Started        NON-STOP       
Item Delete Daemon            Started        NON-STOP       
IMAP Server Daemon            Started        11.16.15       
SMTP Relay                    Started        11.16.15       
Mime Browser Controller       Started        11.16.15       
Event Server                  Started        11.16.15       
Milter Server                 Started        11.16.15       
Free Busy Service             Started        11.16.15       0
[root@mail ~]# omstat -s
Service Router                Started        11.16.15       0         
Local Delivery                Started        11.16.15       0         
Internet Mail Gateway         Started        11.16.15       0         
Sendmail Interface            Started        11.16.15       0         
Local Client Interface        Enabled        11.16.15       0         
Remote Client Interface       Enabled        11.16.15       31        
Test Server                   Started        11.16.15       0         
Request Server                Started        11.16.15       0         
Print Server                  Started        11.16.15       0         
Directory Synchronization     Started        11.16.15       0         
Bulletin Board Server         Started        11.16.15       0         
Background Search Service     Started        11.16.15       0         
Dump Server                   Started        11.16.15       0         
CDA Server                    Started        11.16.15       0         
POP3 interface                Started        11.16.15       0         
Omscan Server                 Started        11.16.15       0         
Archive Server                Started        11.16.15       0         
Proxy Folder Service          Started        11.16.15       0         

Only restart of smtpd have fixed the issue

Also available in: Atom PDF