Commit 9e3de6f5 authored by Claudemir Todo Bom's avatar Claudemir Todo Bom

* do not consider deleted contacts as safe contacts

parent c940186b
Pipeline #175 passed with stage
in 1 minute and 30 seconds
......@@ -592,7 +592,7 @@ check_recipient:
## verifica agenda do destinatario
warn condition = ${lookup mysql{select count(contacts.email) from roundcube.users,roundcube.contacts where users.username='$acl_m5' and contacts.user_id=users.user_id and contacts.email='${sg{$sender_address}{^prvs=[^=]*=(.*)\$}{\$1}}'}}
warn condition = ${lookup mysql{select count(contacts.email) from roundcube.users,roundcube.contacts where users.username='$acl_m5' and contacts.user_id=users.user_id and contacts.del=0 and contacts.email='${sg{$sender_address}{^prvs=[^=]*=(.*)\$}{\$1}}'}}
message = Message allowed because of listing $sender_address on $acl_m5 contacts
log_message = DISABLE_SA allowing $sender_address because it is on $acl_m5 contacts
set acl_m0 = do-not-scan
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment