>
>>прописал всё как ты написал, почта всеровно уходит!!!
>
>Сделай
>iptables -L -v -n
>и на всяк случай iptables -L -v -n -t nat
>
>выложи что получилось, посмотрим. [root@]# iptables -L -v -n
Chain INPUT (policy ACCEPT 135K packets, 30M bytes)
pkts bytes target prot opt in out source destination
466 37652 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:20
0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
0 0 ACCEPT tcp -- eth2 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:20
0 0 ACCEPT tcp -- eth2 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
0 0 ACCEPT tcp -- eth3 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:20
0 0 ACCEPT tcp -- eth3 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
0 0 DROP all -- eth0 * 62.141.50.175 0.0.0.0/0
0 0 DROP all -- eth0 * 66.103.134.9 0.0.0.0/0
0 0 DROP all -- eth0 * 82.195.132.245 0.0.0.0/0
0 0 DROP all -- eth0 * 82.159.86.238 0.0.0.0/0
0 0 DROP all -- eth0 * 218.228.80.254 0.0.0.0/0
0 0 DROP all -- eth0 * 61.211.237.180 0.0.0.0/0
0 0 DROP all -- eth0 * 63.204.205.245 0.0.0.0/0
0 0 DROP all -- eth0 * 66.201.244.225 0.0.0.0/0
0 0 DROP all -- eth0 * 67.69.105.30 0.0.0.0/0
0 0 DROP all -- eth0 * 61.211.237.180 0.0.0.0/0
0 0 DROP all -- eth0 * 203.144.229.199 0.0.0.0/0
0 0 DROP all -- eth0 * 59.42.83.204 0.0.0.0/0
0 0 DROP all -- eth0 * 61.129.117.112 0.0.0.0/0
0 0 DROP all -- eth0 * 220.119.33.251 0.0.0.0/0
0 0 DROP all -- eth0 * 61.95.194.109 0.0.0.0/0
0 0 DROP all -- eth0 * 222.112.249.123 0.0.0.0/0
0 0 DROP all -- eth0 * 80.100.232.9 0.0.0.0/0
0 0 DROP all -- eth0 * 202.39.97.140 0.0.0.0/0
0 0 DROP all -- eth0 * 83.246.118.252 0.0.0.0/0
0 0 DROP all -- eth0 * 66.236.238.4 0.0.0.0/0
0 0 DROP all -- eth0 * 211.176.61.119 0.0.0.0/0
0 0 DROP all -- eth0 * 202.177.184.40 0.0.0.0/0
0 0 DROP all -- eth0 * 202.63.192.13 0.0.0.0/0
0 0 DROP all -- eth0 * 83.246.118.252 0.0.0.0/0
0 0 DROP all -- eth0 * 194.126.99.220 0.0.0.0/0
0 0 DROP all -- eth0 * 210.244.225.13 0.0.0.0/0
0 0 DROP all -- eth0 * 66.236.238.4 0.0.0.0/0
0 0 DROP all -- eth0 * 64.58.144.44 0.0.0.0/0
0 0 DROP all -- eth0 * 210.114.174.177 0.0.0.0/0
0 0 DROP all -- eth0 * 65.19.155.219 0.0.0.0/0
0 0 DROP all -- eth0 * 195.114.174.177 0.0.0.0/0
0 0 DROP all -- eth0 * 211.238.253.248 0.0.0.0/0
0 0 DROP all -- eth0 * 84.37.11.11 0.0.0.0/0
0 0 DROP all -- eth0 * 200.215.61.6 0.0.0.0/0
0 0 DROP all -- eth0 * 59.36.96.101 0.0.0.0/0
0 0 DROP all -- eth0 * 210.123.71.5 0.0.0.0/0
0 0 DROP all -- eth0 * 60.28.9.143 0.0.0.0/0
0 0 DROP all -- eth0 * 212.113.123.130 0.0.0.0/0
0 0 DROP all -- eth0 * 210.6.101.220 0.0.0.0/0
0 0 DROP all -- eth0 * 207.203.211.140 0.0.0.0/0
0 0 DROP all -- eth0 * 222.82.253.178 0.0.0.0/0
0 0 DROP all -- eth0 * 66.14.62.125 0.0.0.0/0
0 0 DROP all -- eth0 * 203.207.224.67 0.0.0.0/0
0 0 DROP all -- eth0 * 83.167.5.158 0.0.0.0/0
0 0 DROP all -- eth0 * 209.164.117.32 0.0.0.0/0
0 0 DROP all -- eth0 * 202.131.114.112 0.0.0.0/0
0 0 DROP all -- eth0 * 83.206.167.193 0.0.0.0/0
0 0 DROP all -- eth0 * 202.232.130.80 0.0.0.0/0
0 0 DROP all -- eth0 * 66.44.210.252 0.0.0.0/0
0 0 DROP all -- eth0 * 221.154.250.38 0.0.0.0/0
0 0 DROP all -- eth0 * 210.21.234.11 0.0.0.0/0
0 0 DROP all -- eth0 * 84.19.186.36 0.0.0.0/0
0 0 DROP all -- eth0 * 218.1.65.233 0.0.0.0/0
0 0 DROP all -- eth0 * 67.138.80.15 0.0.0.0/0
0 0 DROP all -- eth0 * 213.168.177.20 0.0.0.0/0
0 0 DROP all -- eth0 * 201.6.101.230 0.0.0.0/0
0 0 DROP all -- eth0 * 60.28.9.243 0.0.0.0/0
0 0 DROP all -- eth0 * 212.133.123.130 0.0.0.0/0
0 0 DROP all -- eth0 * 201.113.123.130 0.0.0.0/0
0 0 DROP all -- eth0 * 204.155.67.192 0.0.0.0/0
0 0 DROP all -- eth0 * 200.203.162.185 0.0.0.0/0
0 0 DROP all -- eth0 * 222.185.245.208 0.0.0.0/0
0 0 DROP all -- eth0 * 211.224.60.21 0.0.0.0/0
0 0 DROP all -- eth0 * 218.22.8.59 0.0.0.0/0
0 0 DROP all -- eth0 * 202.108.40.59 0.0.0.0/0
0 0 DROP all -- eth0 * 213.169.137.62 0.0.0.0/0
0 0 DROP all -- eth0 * 58.94.4.28 0.0.0.0/0
0 0 DROP all -- eth0 * 4.18.44.59 0.0.0.0/0
0 0 DROP all -- eth0 * 200.96.178.100 0.0.0.0/0
0 0 DROP all -- eth0 * 218.62.27.125 0.0.0.0/0
0 0 DROP all -- eth0 * 61.220.36.148 0.0.0.0/0
0 0 DROP all -- eth0 * 195.136.49.178 0.0.0.0/0
0 0 DROP all -- eth0 * 211.231.62.131 0.0.0.0/0
0 0 DROP all -- eth0 * 213.202.214.51 0.0.0.0/0
0 0 DROP all -- eth0 * 64.182.37.226 0.0.0.0/0
0 0 DROP all -- eth0 * 88.214.86.118 0.0.0.0/0
0 0 DROP all -- eth0 * 69.90.30.227 0.0.0.0/0
0 0 DROP all -- eth0 * 82.165.175.220 0.0.0.0/0
0 0 DROP all -- eth0 * 82.207.62.50 0.0.0.0/0
0 0 DROP all -- eth0 * 222.45.29.200 0.0.0.0/0
0 0 DROP all -- eth0 * 202.155.214.169 0.0.0.0/0
0 0 DROP all -- eth0 * 61.107.94.199 0.0.0.0/0
0 0 DROP all -- eth0 * 60.190.78.94 0.0.0.0/0
0 0 DROP all -- eth0 * 59.77.6.195 0.0.0.0/0
0 0 DROP all -- eth0 * 125.95.18.34 0.0.0.0/0
0 0 DROP all -- eth0 * 193.41.88.2 0.0.0.0/0
0 0 DROP all -- eth0 * 212.40.43.122 0.0.0.0/0
0 0 DROP all -- eth0 * 203.155.165.85 0.0.0.0/0
0 0 DROP all -- eth0 * 80.97.64.181 0.0.0.0/0
0 0 DROP all -- eth0 * 202.127.0.66 0.0.0.0/0
0 0 DROP all -- eth0 * 212.251.120.94 0.0.0.0/0
0 0 DROP all -- eth0 * 60.48.26.206 0.0.0.0/0
0 0 DROP all -- eth0 * 206.137.17.223 0.0.0.0/0
0 0 DROP all -- eth0 * 81.19.44.2 0.0.0.0/0
0 0 DROP all -- eth0 * 80.97.64.181 0.0.0.0/0
0 0 DROP all -- eth0 * 61.34.255.81 0.0.0.0/0
0 0 DROP all -- eth0 * 60.48.26.206 0.0.0.0/0
0 0 DROP all -- eth0 * 202.69.217.114 0.0.0.0/0
0 0 DROP all -- eth0 * 69.72.217.234 0.0.0.0/0
0 0 DROP all -- eth0 * 216.152.252.155 0.0.0.0/0
0 0 DROP all -- eth0 * 212.50.9.253 0.0.0.0/0
0 0 DROP all -- eth0 * 211.23.174.171 0.0.0.0/0
0 0 DROP all -- eth0 * 124.2.175.15 0.0.0.0/0
0 0 DROP all -- eth0 * 83.19.44.26 0.0.0.0/0
0 0 DROP all -- eth0 * 62.117.126.220 0.0.0.0/0
0 0 DROP all -- eth0 * 218.249.36.56 0.0.0.0/0
0 0 DROP all -- eth0 * 211.170.242.10 0.0.0.0/0
0 0 DROP all -- eth0 * 218.7.13.215 0.0.0.0/0
0 0 DROP all -- eth0 * 212.50.9.253 0.0.0.0/0
0 0 DROP all -- eth0 * 211.23.174.171 0.0.0.0/0
0 0 DROP all -- eth0 * 222.234.2.86 0.0.0.0/0
0 0 DROP all -- eth0 * 59.41.39.115 0.0.0.0/0
0 0 DROP all -- eth0 * 218.25.62.92 0.0.0.0/0
0 0 DROP all -- eth0 * 213.52.227.121 0.0.0.0/0
0 0 DROP all -- eth0 * 203.158.228.2 0.0.0.0/0
0 0 DROP all -- eth0 * 151.164.60.251 0.0.0.0/0
0 0 DROP all -- eth0 * 222.216.27.40 0.0.0.0/0
0 0 DROP all -- eth0 * 125.241.141.131 0.0.0.0/0
0 0 DROP all -- eth0 * 87.244.192.153 0.0.0.0/0
0 0 DROP all -- eth0 * 61.78.244.88 0.0.0.0/0
0 0 DROP all -- eth0 * 218.12.46.18 0.0.0.0/0
0 0 DROP all -- eth0 * 64.18.194.226 0.0.0.0/0
0 0 DROP all -- eth0 * 193.41.88.2 0.0.0.0/0
2 814 DROP all -- eth0 * 0.0.0.0/0 0.0.0.0/0 state INVALID,NEW
Chain FORWARD (policy ACCEPT 44369 packets, 11M bytes)
pkts bytes target prot opt in out source destination
189 10265 ACCEPT all -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 state NEW,ESTABLISHED
0 0 ACCEPT all -- eth2 eth0 0.0.0.0/0 0.0.0.0/0 state NEW,ESTABLISHED
8 427 ACCEPT all -- eth3 eth0 0.0.0.0/0 0.0.0.0/0 state NEW,ESTABLISHED
0 0 ACCEPT tcp -- eth1 eth0 192.168.0.2 0.0.0.0/0 tcp dpt:25
0 0 ACCEPT tcp -- eth1 eth0 192.168.0.11 0.0.0.0/0 tcp dpt:25
0 0 DROP tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
0 0 ACCEPT tcp -- eth2 eth0 192.168.4.2 0.0.0.0/0 tcp dpt:25
0 0 DROP tcp -- eth2 eth0 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
0 0 ACCEPT tcp -- eth3 eth0 192.168.10.222 0.0.0.0/0 tcp dpt:25
0 0 DROP tcp -- eth3 eth0 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
0 0 DROP all -- eth0 * 0.0.0.0/0 0.0.0.0/0 state INVALID,NEW
Chain OUTPUT (policy ACCEPT 68104 packets, 29M bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:20
0 0 ACCEPT tcp -- * eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
0 0 ACCEPT tcp -- * eth2 0.0.0.0/0 0.0.0.0/0 tcp dpt:20
0 0 ACCEPT tcp -- * eth2 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
0 0 ACCEPT tcp -- * eth3 0.0.0.0/0 0.0.0.0/0 tcp dpt:20
0 0 ACCEPT tcp -- * eth3 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
iptables -L -v -n -t nat
Chain PREROUTING (policy ACCEPT 4774 packets, 421K bytes)
pkts bytes target prot opt in out source destination
25 1200 REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 3128
0 0 REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080 redir ports 3128
0 0 REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 redir ports 3128
0 0 REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8081 redir ports 3128
Chain POSTROUTING (policy ACCEPT 24 packets, 1369 bytes)
pkts bytes target prot opt in out source destination
34 1963 MASQUERADE all -- * eth0 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT 2396 packets, 144K bytes)
pkts bytes target prot opt in out source destination