Bon pour ma part le telnet fonctionne j'ai bien
250-STARTTLS
Edit :
Fonctionne aussi avec le port 587 mais pas 993 !
Mais impossible de configurer thunderbird ou mailbord.
la commande
netstat -tnlp renvoie :
[...]
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 3114/python
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 24619/dovecot
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 24578/master
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 24578/master
[...]
Quand je fais les tentatives de configuration dans thunderbird j'ai rien dans mail.log
Donc je pense qu'il n'y a aucune communication.
J'ai pensé que portsentry pouvait bloqué un scan de port. Je l'ai désactivé pour voir, mais rien.
Voici les logs de portsentry :
portsentry[25092]: securityalert: PortSentry is shutting down
portsentry[25092]: adminalert: PortSentry is shutting down
portsentry[25088]: securityalert: PortSentry is shutting down
portsentry[25088]: adminalert: PortSentry is shutting down
portsentry[25109]: adminalert: PortSentry 1.2 is starting.
portsentry[25110]: adminalert: Advanced mode will monitor first 1024 ports
portsentry[25110]: adminalert: Advanced mode will manually exclude port: 113
portsentry[25110]: adminalert: Advanced mode will manually exclude port: 139
[...]
portsentry[25110]: adminalert: Advanced Stealth scan detection mode activated. Ignored TCP port: 25
[...]
portsentry[25110]: adminalert: Advanced Stealth scan detection mode activated. Ignored TCP port: 80
portsentry[25110]: adminalert: Advanced Stealth scan detection mode activated. Ignored TCP port: 587
portsentry[25110]: adminalert: Advanced Stealth scan detection mode activated. Ignored TCP port: 993
portsentry[25110]: adminalert: Advanced Stealth scan detection mode activated. Ignored TCP port: 113
portsentry[25110]: adminalert: Advanced Stealth scan detection mode activated. Ignored TCP port: 139
portsentry[25110]: adminalert: PortSentry is now active and listening.
portsentry[25113]: adminalert: PortSentry 1.2 is starting.
portsentry[25114]: adminalert: Advanced mode will monitor first 1024 ports
portsentry[25114]: adminalert: Advanced mode will manually exclude port: 520
portsentry[25114]: adminalert: Advanced mode will manually exclude port: 138
portsentry[25114]: adminalert: Advanced mode will manually exclude port: 137
portsentry[25114]: adminalert: Advanced mode will manually exclude port: 67
portsentry[25114]: adminalert: Advanced Stealth scan detection mode activated. Ignored UDP port: 68
portsentry[25114]: adminalert: Advanced Stealth scan detection mode activated. Ignored UDP port: 123
portsentry[25114]: adminalert: Advanced Stealth scan detection mode activated. Ignored UDP port: 520
portsentry[25114]: adminalert: Advanced Stealth scan detection mode activated. Ignored UDP port: 138
portsentry[25114]: adminalert: Advanced Stealth scan detection mode activated. Ignored UDP port: 137
portsentry[25114]: adminalert: Advanced Stealth scan detection mode activated. Ignored UDP port: 67
portsentry[25114]: adminalert: PortSentry is now active and listening.
Je ne pense pas que ce soit lui le problème vu qu'il ignore les ports en écoute, enfin d'après ce que j'ai compris.
"
Ignored TCP port: 25"
J'ai une vm sur débian et quand je fais
telnet smtp.mondomain.tld 25
J'ai pour réponse :
trying... MON_IP_SERVEUR
telnet: Unable to connect to remote host: Connection timed out
Les ports sont bien écoutes, la box est configurée pour "ouvrir" les ports, le filtrages iptables laisse tout passer, la zone de DNS semble bien configurée, la commande telnet fonctionne en local uniquement pour les ports 25 et 587
autrement dit imaps ça passe pas.
Pour le problème précèdent un indice était de regardé dans mail.log. Mais là vu que ça ne passe pas en amont.
Ici, de quoi je dispose pour déterminer à quel endroit cela ne passe pas?
Vérifier /etc/postfix/master.cf ? Le problème pourrait-il être du coté de dovecot?
NB :
http://ovh.to/tW4tAwk
Sur ce tuto :
https://www.isalo.org/wiki.debian-fr/Configuration_d%27un_serveur_mail_avec_Postfix#Sous_Debian_Wheezy_.287.0.29_avec_Dovecot_2.x il explique de faire cette modifications :
Le fichier de configuration à modifier est : /etc/dovecot/conf.d/10-master.conf
service auth {
...
# Postfix smtp-auth
unix_listener /var/spool/postfix/private/auth {
mode = 0660
user=postfix
group=postfix
}
# Auth process is run as this user.
#user = $default_internal_user
}
...
J'ai fais la modif en mettant un user = vmail et group = vmail mais cela ne change rien.