1. Zhang Huangbin
  2. iredapd

Source

iredapd / plugins / sql_user_restrictions.py

Diff from to

File plugins/sql_user_restrictions.py

 REQUIRE_LOCAL_SENDER = False
 REQUIRE_LOCAL_RECIPIENT = False
 
-def restriction(dbConn, senderReceiver, smtpSessionData, **kargs):
+def restriction(dbConn, senderReceiver, smtp_session_data, **kargs):
     # Get restriction rules for sender
     sql = '''
         SELECT