Solution | Navigate to the GML GUI. Go to: Profile -> Content Profile and select Create New or modify the current Content Profile. In the content profile, under Archive Handling, enable Check archive content and Enable Attempt to decrypt archive.
   Next, expand the File Password Decryption Options and enable Words in email content by default; the 'Number of adjacent words to keyword' is set to 5. The minimum adjacent words is 1, and the maximum is 10.
 Number of adjacent words to keyword means the words before and after the keywords as the 'passwords' or 'pass'. Number of words to try: specify how many words before and after the keywords to use.  For example, in the email content, there is such a sentence: 'To open the document, please use password 123456. If you cannot open it, please contact us.' Specify to use two words before and after the keyword, 'please', 'use' (two words before the keyword 'password'), '123456', and 'If' (two words after the keyword 'password') will be used as one by one as the password to decrypt the attachments.
   Apply this content profile to the IP policy or recipient policy accordingly. When sending an email containing a password-protected archive file, FortiMail will be able to scan it, and the following log will be shown.
  FortiMail version 8.0.x: Password-protected Attachment Scan Office/PDF File feature is added.
 |