Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Port 993 on mail server not responding

We have a mail server running snow leopard server 10.6.8 (build 10K549) Darwin 10.8.0, on a mac mini 2.53 GHz Intel Core 2 Duo with 4 GB RAM, 4 TB storage.



Now this server has the annoying habit of not responding on port 993 (checked from other machines using network utility's port scan both locally and externally).


Postfix is serving mail on this port, and when the port is not responding users cannot retrieve their mail.


Mail is running and when I stop/start mail nothing changes, the port is still not responding.


Is there a way to get the port 993 responding like a reset/clear function?


Could this be related to the fact that the installation of clamav that is installed with the server writes this in the log file?


WARNING: Can't download daily.cvd from database.clamav.net

Trying again in 5 secs...

ClamAV update process started at Mon Apr 23 16:28:52 2012

Using IPv6 aware code

Querying current.cvd.clamav.net

TTL: 137

Software version from DNS: 0.97.4

main.cvd version from DNS: 54

main.cld is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)

WARNING: Current functionality level = 58, recommended = 60

Please check if ClamAV tools are linked against the proper version of libclamav

DON'T PANIC! Read http://www.clamav.net/support/faq

daily.cvd version from DNS: 14830


How can that be fixed?


Any help is appreciated...

Mac mini, Mac OS X (10.6.8), Server

Posted on Apr 23, 2012 9:51 AM

Reply
8 replies

Apr 23, 2012 11:38 AM in response to Peter Borbonus

Hi Peter,


The server has no firewall activated (it is all handled by the router). The router's port 993 is forwarded directly to the mail server's port 993.


The port 993 is not responding using Network Utility's port scan localhost either (scanning ports from 0 to 1000 on IP address 127.0.0.1)


The server is setup to USE (but not demand) SSL so clients can use CRAM MD5 or Kerberos. This is because we have clients that uses iPhones, iPads and Apple Mail on Macs.


The server was working without a hitch until yesterday evening ~22:30. All other functionality is not affected (as far as I can see) e.g. it is possible to login and check mail using squirrel mail (webmail).


This has happened out of the blue before. According to the handwritten log the server was re-installed from scratch on March 9 2012 and March 12 2012 due to the same problem.


Kind regards

Peter

Apr 24, 2012 3:46 AM in response to Peter Borbonus

Result from Network Utility's port scan:

Port Scan has started…


Port Scanning host: 95.9.xx.yy


Open TCP Port: 25 smtp

Open TCP Port: 80 http

Open TCP Port: 443 https

Open TCP Port: 587 submission

Port Scan has completed…



Port 993 is not responding on the server



The message in Mail's SMTP log when scanning with Network Utiliy's Portscan:


Apr 24 13:06:57 mail postfix/smtpd[97874]: connect from unknown[nn.xx.yy.zzz]

Apr 24 13:06:57 mail postfix/smtpd[97874]: lost connection after CONNECT from unknown[nn.xx.yy.zzz]

Apr 24 13:06:57 mail postfix/smtpd[97874]: disconnect from unknown[nn.xx.yy.zzz]


nn.xx.yy.zzz replaces the actual ip address


The mail SMTP log when sending mail from webmail (squirrelmail):


Apr 24 13:11:24 mail postfix/smtpd[98216]: connect from localhost[127.0.0.1]

Apr 24 13:11:24 mail postfix/smtpd[98216]: 71F7A1EFFE4: client=localhost[127.0.0.1]

Apr 24 13:11:24 mail postfix/cleanup[98220]: 71F7A1EFFE4: message-id=<1f0d5dfe313aecd09922d3e51b1764a6.squirrel@mail.xxx.yyy>

Apr 24 13:11:24 mail postfix/qmgr[154]: 71F7A1EFFE4: from=<peterkjeldsen@mail.xxx.yyy>, size=779, nrcpt=1 (queue active)

Apr 24 13:11:24 mail postfix/smtpd[98216]: disconnect from localhost[127.0.0.1]

Apr 24 13:11:24 mail postfix/smtpd[98224]: connect from localhost[127.0.0.1]

Apr 24 13:11:24 mail postfix/smtpd[98224]: D782A1EFFF6: client=localhost[127.0.0.1]

Apr 24 13:11:24 mail postfix/cleanup[98220]: D782A1EFFF6: message-id=<1f0d5dfe313aecd09922d3e51b1764a6.squirrel@mail.xxx.yyy>

Apr 24 13:11:24 mail postfix/smtpd[98224]: disconnect from localhost[127.0.0.1]

Apr 24 13:11:24 mail postfix/qmgr[154]: D782A1EFFF6: from=<peterkjeldsen@mail.xxx.yyy>, size=1256, nrcpt=1 (queue active)

Apr 24 13:11:25 mail postfix/smtp[98221]: 71F7A1EFFE4: to=<peterkjeldsen@mac.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.54, delays=0.01/0.01/0/0.52, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=00288-07, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as D782A1EFFF6)

Apr 24 13:11:25 mail postfix/qmgr[154]: 71F7A1EFFE4: removed

Apr 24 13:11:26 mail postfix/smtp[98226]: D782A1EFFF6: to=<peterkjeldsen@mac.com>, relay=mx6.mac.com.akadns.net[17.172.36.34]:25, delay=2, delays=0.1/0.01/1.2/0.72, dsn=2.5.0, status=sent (250 2.5.0 Ok, envelope id 0M2Z00EHFAZ29YA0@st11b01mm-smtpin207.mac.com)

Apr 24 13:11:26 mail postfix/qmgr[154]: D782A1EFFF6: removed


xx.yyy replaces the actual sending domain name


Mail SMTP log when receiving:


Apr 24 13:11:26 mail postfix/smtp[98226]: D782A1EFFF6: to=<peterkjeldsen@mac.com>, relay=mx6.mac.com.akadns.net[17.172.36.34]:25, delay=2, delays=0.1/0.01/1.2/0.72, dsn=2.5.0, status=sent (250 2.5.0 Ok, envelope id 0M2Z00EHFAZ29YA0@st11b01mm-smtpin207.mac.com)

Apr 24 13:11:26 mail postfix/qmgr[154]: D782A1EFFF6: removed

Apr 24 13:16:19 mail postfix/smtpd[98599]: connect from nk11p99mm-asmtpout008.mac.com[17.158.233.229]

Apr 24 13:16:20 mail postfix/smtpd[98599]: NOQUEUE: reject: RCPT from nk11p99mm-asmtpout008.mac.com[17.158.233.229]: 450 4.7.1 <peterkjeldsen@mail.xxx.yyy>: Recipient address rejected: Service is unavailable; from=<peterkjeldsen@mac.com> to=<peterkjeldsen@mail.xxx.yyy> proto=ESMTP helo=<nk11p99mm-asmtpout008.mac.com>

Apr 24 13:16:20 mail postfix/smtpd[98599]: disconnect from nk11p99mm-asmtpout008.mac.com[17.158.233.229]


xx.yyy replaces the actual receiving domain name. Now my own account is not receiving mail... However my account has last received mails at 11:59 am today but from other senders.


Mail SMTP log when inside client is attemptng to collect mail using IMAP (POP disabled on server):


Apr 24 13:20:34 mail postfix/smtpd[98942]: warning: 95.9.xx.yy: hostname 95.9.xx.yy.static.ttnet.com.tr verification failed: nodename nor servname provided, or not known

Apr 24 13:20:34 mail postfix/smtpd[98942]: connect from unknown[95.9.xx.yy]

Apr 24 13:20:34 mail postfix/smtpd[98942]: lost connection after CONNECT from unknown[95.9.xx.yy]

Apr 24 13:20:34 mail postfix/smtpd[98942]: disconnect from unknown[95.9.93.204]

Apr 24 13:20:35 mail postfix/smtpd[98950]: warning: 995.9.xx.yy: hostname 95.9.xx.yy.static.ttnet.com.tr verification failed: nodename nor servname provided, or not known

Apr 24 13:20:35 mail postfix/smtpd[98950]: connect from unknown[95.9.xx.yy]

Apr 24 13:20:35 mail postfix/smtpd[98950]: lost connection after CONNECT from unknown[95.9.xx.yy]

Apr 24 13:20:35 mail postfix/smtpd[98950]: disconnect from unknown[95.9.xx.yy]

Apr 24 13:23:55 mail postfix/anvil[98947]: statistics: max connection rate 1/60s for (smtp:95.9.xx.yy) at Apr 24 13:20:34

Apr 24 13:23:55 mail postfix/anvil[98947]: statistics: max connection count 1 for (smtp:995.9.xx.yy) at Apr 24 13:20:34

Apr 24 13:23:55 mail postfix/anvil[98947]: statistics: max cache size 2 at Apr 24 13:20:35



95.9.xx.yy


IMAP log when internal user (webmail) attempts to collect mail:


Apr 24 13:22:44 mail dovecot[90]: IMAP(*): User peterkjeldsen: Disconnected: Logged out bytes=90/438

Apr 24 13:22:44 mail dovecot[90]: IMAP(*): Master disconnected (pid 99130)

Apr 24 13:32:45 mail dovecot[90]: imap-login: Login: user=<peterkjeldsen>, method=CRAM-MD5, rip=127.0.0.1, lip=127.0.0.1, secured

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): Loading modules from directory: /usr/lib/dovecot/imap

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): Module loaded: /usr/lib/dovecot/imap/lib10_quota_plugin.so

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): Module loaded: /usr/lib/dovecot/imap/lib11_imap_quota_plugin.so

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): Effective uid=1025, gid=20, home=

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): Quota root: name=User quota backend=maildir args=

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): Quota rule: root=User quota mailbox=* bytes=0 messages=0

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): Quota warning: bytes=0 (100%) messages=0 command=/usr/libexec/dovecot/quota-exceeded.sh

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): Quota warning: bytes=0 (80%) messages=0 command=/usr/libexec/dovecot/quota-warning.sh

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): maildir: data=/var/spool/imap/dovecot/mail/6A6DB807-9155-45BA-B2DD-F1B995C571FE

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): maildir++: root=/var/spool/imap/dovecot/mail/6A6DB807-9155-45BA-B2DD-F1B995C571FE, index=, control=, inbox=/var/spool/imap/dovecot/mail/6A6DB807-9155-45BA-B2DD-F1B995C571FE

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): User peterkjeldsen: Disconnected: Logged out bytes=90/438

Apr 24 13:32:45 mail dovecot[90]: IMAP(*): Master disconnected (pid 99901)


WEB Log (Apache access) when webmail user attempts to collect mail:


192.168.1.5 - - [24/Apr/2012:13:20:48 +0300] "GET /webmail/src/left_main.php HTTP/1.1" 200 3034

192.168.1.5 - - [24/Apr/2012:13:22:36 +0300] "GET /webmail/src/left_main.php HTTP/1.1" 200 3034

192.168.1.5 - - [24/Apr/2012:13:22:38 +0300] "GET /webmail/src/left_main.php HTTP/1.1" 200 3034

192.168.1.5 - - [24/Apr/2012:13:22:39 +0300] "GET /webmail/src/left_main.php HTTP/1.1" 200 3034

192.168.1.5 - - [24/Apr/2012:13:22:40 +0300] "GET /webmail/src/left_main.php HTTP/1.1" 200 3034

192.168.1.5 - - [24/Apr/2012:13:22:40 +0300] "GET /webmail/src/left_main.php HTTP/1.1" 200 3034

192.168.1.5 - - [24/Apr/2012:13:22:40 +0300] "GET /webmail/src/left_main.php HTTP/1.1" 200 3034

192.168.1.5 - - [24/Apr/2012:13:22:42 +0300] "GET /webmail/src/right_main.php?PG_SHOWALL=0&sort=0&startMessage=1&mailbox=INBOX HTTP/1.1" 200 18776

192.168.1.5 - - [24/Apr/2012:13:22:44 +0300] "GET /webmail/src/left_main.php HTTP/1.1" 200 3034


192.168.1.5 - - [24/Apr/2012:13:32:45 +0300] "GET /webmail/src/left_main.php HTTP/1.1" 200 3034


I'm at a loss it seems that attemps to connect via port 993 is registered in the log, but the port is not showing when port scanning and mail clients cannot collect mail.


This is inconsistent behaviour... file corruption somewhere?


Kind regards

Peter

Port 993 on mail server not responding

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.