CyberNinjas / pam_aad

Azure Active Directory PAM Module
GNU General Public License v3.0
55 stars 19 forks source link

Error checking for blacklisted IPs #35

Open Jnchi opened 5 years ago

Jnchi commented 5 years ago
[root@ip-172-26-7-166 beatles]# nc -C outlook.com 25
220 DM3NAM03FT051.mail.protection.outlook.com Microsoft ESMTP MAIL Service ready at Fri, 19 Apr 2019 20:03:00 +0000
HELO
250 DM3NAM03FT051.mail.protection.outlook.com Hello [3.211.34.40]
Mail
501 5.5.4 Unrecognized parameter [DM3NAM03FT051.eop-NAM03.prod.protection.outlook.com]
MAIL FROM: noreply@cyberninjas.com
250 2.1.0 Sender OK
RCPT TO: email
550 5.7.1 Service unavailable, Client host [3.211.34.40] blocked using Spamhaus. To request removal from this list see https://www.spamhaus.org/query/ip/[3.211.34.40] (AS16012611) [DM3NAM03FT051.eop-NAM03.prod.protection.outlook.com]

_Originally posted by @neverrend in https://github.com/CyberNinjas/pam_aad/issues/34#issuecomment-485001709_