Oops, sorry - too busy and not thinking clearly - I drank too much last 
night! All Ipfstat is telling you is what ports are OPEN in your fiewall 
(oh yeah, THAT ipfstat!), not what ports (and apps) are actively 
listening.  Netstat should be showing (as Davide pointed out) 25 and 110 
as actively listening, so XMail is not running.

I don't use IPFSTAT since I am nat'd behind a hardware firewall (I 
probably should anyway, though!).  Maybe tomorrow.

Do a ps -alx | grep XMail and you should see the XMail process, but I 
don't think you will, so something is not right.

Jeff

Jeff Buehler wrote:

>Sorry, I meant default ports, not all ports.  I use XMAIL_CMD_LINE="-MM 
>-Pl -Sl -SI 127.0.0.1:25 -SI 192.168.1.13:25 -SI 192.168.1.13:587 -SI 
>192.168.2.13:587 -Ll -Fl -Mr 240" from my startup script in 
>/usr/local/etc/rc.d.  192.168.2.13 is listening for connections from an 
>anti-spam server I have running, and the other one accepts conenctions 
>from the WAN, jsut so that doesn't confuse things too much.  So for you 
>it might be -SI 127.0.0.1:25 -SI XXX.XXX.XXX.XXX:25.
>
> If you are running CtrlClnt locally, firewall settings shouldn't matter.
>
>
>The output from my netstat -t -n -a is:
>
>Active Internet connections (including servers)
>Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
>tcp4       0      0  192.168.1.13.110       64.142.69.200.45879    TIME_WAIT
>tcp4       0      0  192.168.1.13.110       64.142.69.200.46342    TIME_WAIT
>tcp4       0      0  192.168.1.13.80        64.142.69.200.32477    TIME_WAIT
>tcp4       0      0  192.168.1.13.80        212.95.252.16.2015     TIME_WAIT
>tcp4       0      0  192.168.1.13.80        212.95.252.16.2756     TIME_WAIT
>tcp46      0      0  *.443                  *.*                    LISTEN
>tcp4       0      0  192.168.1.13.80        *.*                    LISTEN
>tcp6       0      0  ::1.953                *.*                    LISTEN
>tcp4       0      0  127.0.0.1.953          *.*                    LISTEN
>tcp4       0      0  127.0.0.1.53           *.*                    LISTEN
>tcp4       0      0  192.168.2.13.53        *.*                    LISTEN
>tcp4       0      0  192.168.1.13.53        *.*                    LISTEN
>tcp4       0      0  *.3306                 *.*                    LISTEN
>tcp4       0      0  *.79                   *.*                    LISTEN
>tcp4       0      0  192.168.2.13.587       *.*                    LISTEN
>tcp4       0      0  192.168.1.13.587       *.*                    LISTEN
>tcp4       0      0  192.168.1.13.25        *.*                    LISTEN
>tcp4       0      0  127.0.0.1.25           *.*                    LISTEN
>tcp4       0      0  *.110                  *.*                    LISTEN
>tcp4       0      0  *.6017                 *.*                    LISTEN
>tcp4       0      0  *.445                  *.*                    LISTEN
>tcp6       0      0  *.21                   *.*                    LISTEN
>tcp4       0      0  *.21                   *.*                    LISTEN
>udp6       0      0  *.51158                *.*
>udp4       0      0  127.0.0.1.53           *.*
>udp4       0      0  192.168.2.13.53        *.*
>udp4       0      0  192.168.1.13.53        *.*
>udp4       0      0  127.0.0.1.52161        *.*
>udp4       0      0  127.0.0.1.53252        *.*
>udp4       0      0  127.0.0.1.64162        *.*
>udp4       0      0  127.0.0.1.54983        *.*
>udp4       0      0  127.0.0.1.57105        *.*
>udp4       0      0  127.0.0.1.55480        *.*
>udp4       0      0  *.138                  *.*
>udp4       0      0  *.137                  *.*
>udp6       0      0  fe80:5::1.123          *.*
>udp6       0      0  ::1.123                *.*
>udp4       0      0  127.0.0.1.123          *.*
>udp4       0      0  192.168.2.13.123       *.*
>udp4       0      0  192.168.1.13.123       *.*
>udp6       0      0  *.123                  *.*
>udp4       0      0  *.123                  *.*
>
>
>Notice that notice that ports 25 (and 587) and 110 are clearly shown as 
>listerning ports.  They are not when you run the command - I am not 
>cetain why when you seem to get them running ipfstat, which I am not 
>familiar with, so I can't help there.  But it seems to me that you 
>should be seeing them with your netstat command, so something isn't 
>making sense (it might be me).  what version of FreeBSD are you running 
>again?
>
>Jeff
>
>
>
>Ross Gohlke wrote:
>
>  
>
>>>I don't see XMail (or the standard POP3/SMTP) ports anywhere (those 
>>>   
>>>
>>>      
>>>
>>being 110 and 25 or maybe 587).  However, I think port 6017 is the XMail
>>
>> 
>>
>>    
>>
>>>CtrlClnt port, so that should (possibly) be working.
>>>   
>>>
>>>      
>>>
>>Should 6017 be open for incoming and outgoing on the firewall? I'm only 
>>running the command from the machine XMail is on.
>>
>> 
>>
>>    
>>
>>>The ports you are listening on are:
>>>22 (? - ftp?), 10000 (?), 443 (HTTP/SSL), 80 (HTTP), 5432 (?), 514 (?), 
>>>   
>>>
>>>      
>>>
>>6017(XMail CtrlClnt) -
>>
>>I have these ports open:
>>
>># INBOUND
>>ipfstat -in
>>....
>>@23 pass in quick on vr0 proto tcp from any to any port = 80 flags 
>>S/FSRPAU keep state
>>@24 pass in quick on vr0 proto tcp from any to any port = 443 flags 
>>S/FSRPAU keep state
>>@25 pass in quick on vr0 proto tcp from any to any port = 22 flags 
>>S/FSRPAU keep state
>>@26 pass in quick on vr0 proto tcp from any to any port = 6017 flags 
>>S/FSRPAU keep state
>>@27 pass in quick on vr0 proto tcp from any to any port = 110 flags 
>>S/FSRPAU keep state
>>@28 pass in quick on vr0 proto tcp from any to any port = 143 flags 
>>S/FSRPAU keep state
>>@29 pass in quick on vr0 proto tcp from any to any port = 25 flags 
>>S/FSRPAU keep state
>>@30 pass in quick on vr0 proto tcp from any to any port = 10000 flags 
>>S/FSRPAU keep state
>>....
>>
>># OUTBOUND
>>ipfstat -on
>>....
>>@4 pass out quick on vr0 proto tcp from any to any port = 80 flags 
>>S/FSRPAU keep state
>>@5 pass out quick on vr0 proto tcp from any to any port = 443 flags 
>>S/FSRPAU keep state
>>@6 pass out quick on vr0 proto tcp from any to any port = 110 flags 
>>S/FSRPAU keep state
>>@7 pass out quick on vr0 proto tcp from any to any port = 25 flags 
>>S/FSRPAU keep state
>>@8 pass out quick on vr0 proto tcp from any to any port = 143 flags 
>>S/FSRPAU keep state
>>@9 pass out quick on vr0 proto tcp from any to any port = 37 flags 
>>S/FSRPAU keep state
>>@10 pass out quick on vr0 proto tcp from any to any port = 119 flags 
>>S/FSRPAU keep state
>>@11 pass out quick on vr0 proto tcp from any to any port = 21 flags 
>>S/FSRPAU keep state
>>@12 pass out quick on vr0 proto tcp from any to any port = 22 flags 
>>S/FSRPAU keep state
>>@16 pass out quick on vr0 proto tcp from any to any port = 43 flags 
>>S/FSRPAU keep state
>>@17 pass out quick on vr0 proto tcp from any to any port = 6017 flags 
>>S/FSRPAU keep state
>>....
>>
>> 
>>
>>    
>>
>>>Maybe you need different command parameters for XMail than you have 
>>>   
>>>
>>>      
>>>
>>presently - you might try specifying the ports you want XMail to listern
>>
>> 
>>
>>    
>>
>>>on for SMTP instead of all ports.
>>>   
>>>
>>>      
>>>
>>I assume you're talking about this section of the dox:
>>http://xmailserver.org/Readme.html#command_line
>>
>>So the default is to listen on all ports?
>>
>>Here's what I'm using now in /var/MailRoot/bin/xmail.sh:
>>XMAIL_CMD_LINE="-Md -Pl -Sl -Fl -Cl -Ll"
>>
>>Is this what I should try?
>>XMAIL_CMD_LINE="-Md -Pl -Sl -Fl -Cl -Ll -Sp 25"
>>OR
>>XMAIL_CMD_LINE="-Md -Pl -Sl -Fl -Cl -Ll -SI XXX.XXX.XXX.XXX:25"
>>
>>Thanks for your help.
>>
>>ross
>>
>>
>>
>>
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe xmail" in
>>the body of a message to [EMAIL PROTECTED]
>>For general help: send the line "help" in the body of a message to
>>[EMAIL PROTECTED]
>>
>>
>> 
>>
>>    
>>
>-
>To unsubscribe from this list: send the line "unsubscribe xmail" in
>the body of a message to [EMAIL PROTECTED]
>For general help: send the line "help" in the body of a message to
>[EMAIL PROTECTED]
>
>
>  
>

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to