diff --git a/imageroot/events/user-domain-changed/20configure_ldap b/imageroot/events/user-domain-changed/20configure_ldap index ba8e8bf9..ac03c6f1 100755 --- a/imageroot/events/user-domain-changed/20configure_ldap +++ b/imageroot/events/user-domain-changed/20configure_ldap @@ -15,7 +15,4 @@ event = json.load(sys.stdin) if event.get('domain') != os.getenv('POSTFIX_ORIGIN'): exit(0) -if 'node_id' in event and str(event['node_id']) != os.getenv('NODE_ID'): - exit(0) # ignore event if the source is not in our node - agent.run_helper('systemctl', '--user', '-T', 'try-reload-or-restart', 'dovecot.service', 'postfix.service').check_returncode()