Attachment name

This condition lets you filter messages based on attachment filenames. This is useful for blocking specific file types, identifying documents by name, or catching potentially dangerous attachments.
Match using
Choose how to match the filename:
- Exact match – The filename must match exactly (case-insensitive)
- Wildcards – Use
*to match patterns (e.g.,*.exematches any executable file) - Regular expression – Use advanced pattern matching for complex rules
Filename
Enter the filename or pattern you want to match.
Examples
- Block executables:
*.exewith wildcards - Find invoices:
invoice*.pdfwith wildcards - Catch specific documents:
contract-2024.docxwith exact match - Block multiple file types:
.*\.(exe|bat|cmd|scr)$with regex - Find dated reports:
report-[0-9]{4}-[0-9]{2}\.xlsxwith regex - Identify suspicious files:
*.zip.exewith wildcards (double extensions)
Additional resources
- For information about regular expressions you could check regular-expressions.info or regexone.com