The way we are doing is we are finding out the message class of a mail message and if it contains "smime" or "secure" then we filter the mail message out.
For some of the encrypted messages the PR_MESSAGE_CLASS returned is "IPM.Note" only. In such cases how to find out the actual message class?
Is there any other better way of filtering out encrypted mail messages?