diff --git a/smtp2slack4qnap.py b/smtp2slack4qnap.py index f791ed9..57deb8e 100644 --- a/smtp2slack4qnap.py +++ b/smtp2slack4qnap.py @@ -39,6 +39,7 @@ WEBHOOK_URL = 'http://slack2chat.ipa.champion/AAAAcMVs3C4?key=AIzaSyDdI0hCZtE6vy # implemented LOGIN authentication (non-RFC compliant, works with QNAP-NAS) # overkill for running locally, but mandatory for remote class MyServer(Server): + print("[+] Connection made") authenticated = False @syntax('AUTH LOGIN') async def smtp_AUTH(self, arg): @@ -56,6 +57,7 @@ class MyServer(Server): print("[+] Authenticated") await self.push('235 2.7.0 Authentication successful') else: + print("[-] Authentication Failure") await self.push('535 Invalid credentials') # requires STARTTLS