On Mar 16, 2014, at 12:24 PM, Richard Melville wrote: > Maybe somebody has the answer to this -- it's only a minor point. > > I've set up msmtp and s-nail on a blfs server; I can send email, and > iptables is not blocking them but neither is it recording the > packets passed. When I had this issue before with a different > service, changing sport to dport resolved it, but not this time. > I've set the ports to 25 and I've also tried 587. Both work, but > still no packets recorded. > > Any help much appreciated. > > Richard > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page
use -n -v -L iptables -n -v -L This will show your active firewall information. If you want to view only INPUT FORWARD or OUTPUT: iptables -nvL INPUT iptables -nvL OUTPUT iptables -nvL FORWARD for a table you have set (nat table for example): iptables -nvL -t nat I don't know what your current firewall rules are, but as you send an email, you should see the counters change. Sincerely, William Harrington -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
