Pour checker le nombre de connexion via le webmail grep "Logged in" /var/log/maillog | grep "rip=::1" | awk -F'user=<' '{print $2}' | cut -d'>' -f1 | sort | uniq -c | sort -nr | head -n 10 Le nombre des IPs et ::1 siginife le webmail grep "Logged in" /var/log/maillog | awk '{print $11}' | cut -d= -f2 | sort | uniq -c | sort -nr | head -n 10 Les ips connecté netstat -antp | grep dovecot | grep ESTABLISHED | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr Pour connaitre l'IP elle c'est connecté où grep "52.98.156.101" /var/log/maillog redemarré systemctl restart dovecot Voir les stats d'anvil en temps réel doveadm who # Nombre total de process dovecot actifs ps aux | grep dovecot | wc -l grep -E "35\.173\.197\.133|13\.218\.91\.109|52\.98\.156\.101|52\.55\.20\.105|3\.80\.183\.157|34\.228\.0\.162|100\.29\.201\.125|54\.90\.212\.216|54\.89\.33\.238|54\.82\.54\.22|54\.2...