kinda a newbie here in redhatland, banging my head against fetchmail and firewall
config.. fetchmail does nothing and gives the 'socket' error code. the manpage says
it is failing to open a socket, perhaps a service is missing from /etc/services.
would that be true with redhat 7.1 out of the box? i haven't mangled anything in
/etc/services. and i wouldn't think it to be my firewall config either, since it is
supposedly wide open at the moment, and i have managed to bring up dns, dhcp, samba,
demand ppp, and masq, i can browse and send email either from redhat itself or my pc
through the masq, and my pc's eudora can pop down my mail just fine.
can anyone help?
well in case you want them here are some things you might ask to see..
/etc/services is untouched from redhat 7.1
my firewall script:
ipchains -F
ipchains -X
ipchains -P output ACCEPT
ipchains -P forward DENY
ipchains -A forward -s 192.168.0.0/255.255.255.0 -j MASQ -b
ipchains -A forward -j DENY -l
if [ "$1" == "accept" ];then
echo configuring firewall to ACCEPT EVERYTHING|tee /dev/console
ipchains -P input ACCEPT
else
echo configuring firewall for moderate filtering|tee /dev/console
ipchains -P input DENY
ipchains -A input -i $lan_iface -j ACCEPT
ipchains -A input -i lo -j ACCEPT
ipchains -A input -p icmp -d $wan_my_ip/32 -j ACCEPT
ipchains -A input -i $wan_iface -p tcp -d $wan_my_ip/32 1024:65535 -j ACCEPT
ipchains -A input -i $wan_iface -p udp -d $wan_my_ip/32 1024:65535 -j ACCEPT
ipchains -A input -i $wan_iface -p tcp -d $wan_my_ip/32 17 -j ACCEPT
ipchains -A input -i $wan_iface -p udp -d $wan_my_ip/32 17 -j ACCEPT
ipchains -A input -j DENY -l
fi
my .fetchmailrc:
server smtp.ultra.net
proto pop3
user gmott
pass ***
flush
mda /usr/bin/procmail
many thanks in advance,
greg
gregory mott
tel 978-386-9986, icq 5856302
i pledge allegiance to the earth
and all that lives upon her
and the delicate balance in which it all stands
one planet
alive with spirit
in full harmony
with deep respect for all
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list