1. Zhang Huangbin
  2. iredapd

Source

iredapd / plugins / sql_alias_access_policy.py

Diff from to

File plugins/sql_alias_access_policy.py

  • Ignore whitespace
     elif policy == MAILLIST_POLICY_SUBDOMAIN:
         # Bypass all users under the same domain or sub domains.
         if senderReceiver['sender'].endswith(senderReceiver['recipient_domain']) or \
-           senderReceiver['sender'].endswith('.' + senderReceiver['recipient_domain']):
+                senderReceiver['sender'].endswith('.' + senderReceiver['recipient_domain']):
             return 'DUNNO'
         else:
             return SMTP_ACTIONS['reject']