hi,
Im imprementing an email prevent server in reflected mode (postfix --> MTA --> email prevent --> MTA), but i have some trouble, the email prevent server close connection just after the connection is established with it ( either when i test direct connection to email server from postfix using telnet ) there it is the log :
05/févr./17:10:42:13:875+0100 [INFO] (SMTP_CONNECTION.1201) Connection accepted (tid=27 cid=f9fb7e3e-22bf-4c23-85c1-529d3a677f76 local=xx.xx.xx.xx:10025 remote=yy.yy.yy.yy:46986)
05/févr./17:10:42:13:879+0100 [SEVERE] (SMTP_CONNECTION.5210) All forward hosts unavailable (tid=27 cid=<> reason=Connexion refusée)
05/févr./17:10:42:13:880+0100 [INFO] (SMTP_CONNECTION.1205) Service connection closed (tid=27 cid=f9fb7e3e-22bf-4c23-85c1-529d3a677f76 local=xx.xx.xx.xx:10025 remote=yy.yy.yy.yy:46986 messages=0 time=0,01s)
05/févr./17:10:46:52:258+0100 [INFO] (SMTP_CONNECTION.1201) Connection accepted (tid=2b cid=937a7c8e-16ab-454c-a3cc-3db7a596cced local=xx.xx.xx.xx:10025 remote=yy.yy.yy.yy:45730)
05/févr./17:10:46:52:261+0100 [SEVERE] (SMTP_CONNECTION.5210) All forward hosts unavailable (tid=2b cid=<> reason=Connexion refusée)
05/févr./17:10:46:52:262+0100 [INFO] (SMTP_CONNECTION.1205) Service connection closed (tid=2b cid=937a7c8e-16ab-454c-a3cc-3db7a596cced local=xx.xx.xx.xx:10025 remote=yy.yy.yy.yy:45730 messages=0 time=0s)
The iptables in the Email Prevent :
Table : nat
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
1 REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 redir ports 10025
2 REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 redir ports 8443
Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
1 REDIRECT tcp -- 127.0.0.1 0.0.0.0/0 tcp dpt:443 redir ports 8443
Table : filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 Vontu-INPUT tcp -- 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Chain Vontu-INPUT (1 references)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
2 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443