FCP FortiMail study materials
FCP FortiMail study resources

Encrypting Regulated Data While Keeping Internal Mail Readable

FCP FortiMail · Put your knowledge to work in context.

All case studies

Encrypting Regulated Data While Keeping Internal Mail Readable

Meridian Credit Union uses FortiMail 7.2 in gateway mode with 3,000 users. A DLP profile is configured to detect 16-digit account numbers, and an encryption policy is configured to encrypt matching outbound messages with IBE. The DLP profile also matches internal messages from the fraud team to [email protected], so internal mail is encrypted and auditors cannot open IBE messages without registering. The pattern is matching a 16-digit number in the standard email footer, which is the credit union's registration number. A new partner, clearroute.example, requires TLS for all mail. FortiMail's TLS profile is set to opportunistic, and the partner's server presents a certificate signed by an internal CA that FortiMail does not trust; messages queue briefly and then fall back to plaintext, violating the partner agreement. The credit union wants encryption applied only when required, internal mail to remain readable, and no plaintext fallback to this partner.

1. How would you stop internal messages from being encrypted without disabling DLP for outbound mail?

Read the worked answer

Use policy direction and recipient scope rather than a global DLP bypass. FortiMail policies can distinguish inbound, outbound, and internal direction or match sender and recipient domains. Create or reorder a policy that matches mail from meridian.example to meridian.example and apply a DLP profile that detects the data but does not invoke the IBE encryption action. Keep the outbound policy for external recipients with the encryption action attached. Confirm policy evaluation order, because a broad outbound rule that matches all recipients will catch internal mail before a later internal rule. If the internal policy still needs to record DLP incidents, enable logging without encryption. Test with a controlled message containing a known account number and verify from the delivery log that the internal message is delivered unencrypted and the external message triggers IBE. Do not disable DLP globally, which would also stop detection for external mail.

2. What is wrong with the detection pattern, and how would you reduce false positives while preserving detection?

Read the worked answer

A bare 16-digit pattern matches any long number, including the registration number in the footer. That creates a high false-positive rate and, because encryption is attached, makes ordinary internal mail unreadable. Replace the broad pattern with one that requires more context, such as a keyword near the number, a specific field label, or a validated account-number format. If FortiMail's DLP engine supports checksum validation for card-like numbers, use it; otherwise combine the pattern with sender, recipient, or attachment conditions. Add an exception for the known registration number only if it cannot be distinguished contextually. Test the profile against samples of legitimate statements, footers, and actual account data, and review DLP incident logs before enforcing encryption. The goal is to keep detection sensitive enough for real account numbers while excluding repeated boilerplate.

3. How do you meet the partner's TLS requirement without disabling certificate validation?

Read the worked answer

Opportunistic TLS explains the plaintext fallback: when the handshake fails, FortiMail continues without encryption. Disabling certificate validation would make the handshake succeed but would also accept an impostor, so the better fix is to trust the partner's internal CA. Import the CA certificate into FortiMail's trusted CA store, create a TLS profile that requires TLS and validates the certificate and hostname, and apply that profile to the route or policy used for clearroute.example. Set the policy so that a TLS failure queues or rejects the message rather than falling back to plaintext, and alert on those failures. Verify the partner certificate chain, expiration date, and the exact hostname FortiMail presents and expects. Send a test message and confirm the delivery log shows a successful verified TLS session. If a temporary exception is ever needed, scope it to the partner destination and document the risk.