Bonjour,
J’ai créé un serveur mail sous postfix et courier-imap et je souhaiterai m’y connecter via Telnet cependant, quand j’entre : telnet 127.0.0.1 25
je reçois : Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection timed out
Le serveur mail fonctionne correctement, j’ai pu envoyer des mails avec la commande mail, j’utilise le relayhost de mon FAI en guise de SMTP.
Pourtant, j’ai ouvert les ports comme il faut il me semble :
iptables -L :
[code]Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all – anywhere anywhere
ACCEPT udp – anywhere anywhere udp spt:domain
ACCEPT tcp – anywhere anywhere tcp spt:domain
ACCEPT tcp – anywhere anywhere tcp spt:www state RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp spt:https state RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp spt:imap2 state RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp spt:smtp state RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp dpt:2222
ACCEPT tcp – anywhere anywhere tcp dpt:telnet
ACCEPT tcp – anywhere anywhere tcp dpt:www
ACCEPT tcp – anywhere anywhere tcp dpt:mysql
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT udp – anywhere anywhere udp spt:domain
ACCEPT udp – anywhere anywhere udp dpt:domain
ACCEPT tcp – anywhere anywhere tcp spt:domain
ACCEPT tcp – anywhere anywhere tcp dpt:domain
ACCEPT tcp – anywhere anywhere tcp dpt:www state NEW,RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp dpt:https state NEW,RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp spt:www state RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp spt:https state RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp dpt:imap2 state NEW,RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp spt:imap2 state RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp dpt:smtp state NEW,RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp spt:smtp state RELATED,ESTABLISHED
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all – anywhere anywhere
ACCEPT udp – anywhere anywhere udp dpt:domain
ACCEPT tcp – anywhere anywhere tcp dpt:domain
ACCEPT tcp – anywhere anywhere tcp dpt:www state NEW,RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp dpt:https state NEW,RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp dpt:imap2 state NEW,RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp dpt:smtp state NEW,RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp spt:2222
ACCEPT tcp – anywhere anywhere tcp spt:telnet
ACCEPT tcp – anywhere anywhere tcp spt:www
ACCEPT tcp – anywhere anywhere tcp spt:mysql
[/code]
Sauriez vous d’où vient le problème ?
Merci d’avance