csf smtp tweak
Posted: 10 Apr 2007, 20:11
there is one problem
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 127.0.0.1 tcp dpt:25
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 OWNER GID match 12
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 OWNER GID match 32001
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 OWNER UID match 0
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 reject-with icmp-port-unreachable
root@nemesis [~]# cat /etc/passwd |grep -w 12
mail8:12:mail:/var/spool/mail:/sbin/nologin
games12games:/usr/games:/sbin/nologin
why does it allow user games outgoing mail ? instead of mail ? how can this be modified ?
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 127.0.0.1 tcp dpt:25
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 OWNER GID match 12
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 OWNER GID match 32001
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 OWNER UID match 0
REJECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 reject-with icmp-port-unreachable
root@nemesis [~]# cat /etc/passwd |grep -w 12
mail8:12:mail:/var/spool/mail:/sbin/nologin
games12games:/usr/games:/sbin/nologin
why does it allow user games outgoing mail ? instead of mail ? how can this be modified ?