> sudo lsof -i tcp  | grep LIST   to find out what processes are  
> listening on tcp.

bash-3.2# netstat -na | grep LIST
tcp4       0      0  127.0.0.1.10026        *.*                     
LISTEN
tcp4       0      0  127.0.0.1.10024        *.*                     
LISTEN
tcp4       0      0  127.0.0.1.10025        *.*                     
LISTEN
tcp4       0      0  *.2600                 *.*                     
LISTEN
tcp4       0      0  *.125                  *.*                     
LISTEN
bash-3.2#

bash-3.2# lsof -i tcp | grep LIST
imapd     49489       _cyrus    4u  IPv4  0x6b8266c      0t0  TCP  
*:imaps (LISTEN)
imapd     52237       _cyrus    4u  IPv4  0x6b8266c      0t0  TCP  
*:imaps (LISTEN)
master       52       _cyrus    7u  IPv6  0x5038664      0t0  TCP  
*:imap (LISTEN)
master       52       _cyrus   10u  IPv4  0x6c71a68      0t0  TCP  
*:imap (LISTEN)
master       52       _cyrus   13u  IPv6  0x503819c      0t0  TCP  
*:imaps (LISTEN)
master       52       _cyrus   16u  IPv4  0x6b8266c      0t0  TCP  
*:imaps (LISTEN)
master       52       _cyrus   19u  IPv6  0x5037f38      0t0  TCP  
*:pop3 (LISTEN)
master       52       _cyrus   22u  IPv4  0x6b82270      0t0  TCP  
*:pop3 (LISTEN)
master       52       _cyrus   25u  IPv6  0x5037cd4      0t0  TCP  
*:pop3s (LISTEN)
master       52       _cyrus   28u  IPv4  0x6c71e64      0t0  TCP  
*:pop3s (LISTEN)
perl         50     _amavisd    6u  IPv4  0x6c7166c      0t0  TCP  
localhost:10024 (LISTEN)
perl         50     _amavisd    7u  IPv4  0x6c71270      0t0  TCP  
localhost:10026 (LISTEN)
perl      48562     _amavisd    6u  IPv4  0x6c7166c      0t0  TCP  
localhost:10024 (LISTEN)
perl      48562     _amavisd    7u  IPv4  0x6c71270      0t0  TCP  
localhost:10026 (LISTEN)
perl      49103     _amavisd    6u  IPv4  0x6c7166c      0t0  TCP  
localhost:10024 (LISTEN)
perl      49103     _amavisd    7u  IPv4  0x6c71270      0t0  TCP  
localhost:10026 (LISTEN)
perl        770         assp    4u  IPv4  0x6672a68      0t0  TCP  
My.MX.Domain.com:smtp (LISTEN)
perl        770         assp    5u  IPv4  0xd3f7270      0t0  TCP  
My.MX.Domain.com:submission (LISTEN)
perl        770         assp    7u  IPv4  0xd7e6e64      0t0  TCP  
My.MX.Domain.com:urd (LISTEN)
perl        770         assp    9u  IPv4  0xd7e666c      0t0  TCP  
*:asspRawStats (LISTEN)
pop3d     52231       _cyrus    4u  IPv4  0x6c71e64      0t0  TCP  
*:pop3s (LISTEN)
pop3d     52235       _cyrus    4u  IPv4  0x6c71e64      0t0  TCP  
*:pop3s (LISTEN)
pop3d     52236       _cyrus    4u  IPv4  0x6c71e64      0t0  TCP  
*:pop3s (LISTEN)
pop3d     52437       _cyrus    4u  IPv4  0x6c71e64      0t0  TCP  
*:pop3s (LISTEN)
pop3d     52438       _cyrus    4u  IPv4  0x6c71e64      0t0  TCP  
*:pop3s (LISTEN)
pop3d     53405       _cyrus    4u  IPv4  0x6c71e64      0t0  TCP  
*:pop3s (LISTEN)
pop3d     53406       _cyrus    4u  IPv4  0x6c71e64      0t0  TCP  
*:pop3s (LISTEN)
bash-3.2#

The above is naturally a subset of the full report (I've only excluded  
http and the other non-e-mail-related services). The assp raw stats  
port is set in assp to be available only to localhost. I suspect that  
the extra processes used by amavisd are for the various processes that  
use it (assp, Postfix, etc.); note that they are only available to  
localhost.

I'm still none the wiser to how the mail got past assp.

T. 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to