I created a policy with content filter below with dictionary that has the one domains list, if one sender from these domain send an e-mail with attachament with protected file, this action is "Drop". This rule is working on, but only password protected PDF files only
are not dropped.
Rule:
Attachment_Protection_Log_Entry-Drop: if (mail-from-dictionary-match("D-Dominios_Anexo_Senha", 1)) AND (attachment-protected)
{ log-entry("Matched_Encrypted From: $EnvelopeFrom To: $EnvelopeRecipients File: $Filenames"); drop(); }
Can someone help me?
regards