Skip to main content
Muri
Explorer
October 2, 2025
Question

Fortimail - need to cach e-mail with subject starting with regex for example Hey

  • October 2, 2025
  • 2 replies
  • 522 views

Hello,

we have a case, that one of the clients wants to catch all the messages which subject starts with "Hey" and to quarantine them.

I tryed to implement a content profile and there use a Dictionary profile where i check Regex content, but this didn't work.

 

Any idea / experience?

 

Br

Marko2025-10-02_08h44_37.png2025-10-02_08h43_35.png

2 replies

AEK
SuperUser
SuperUser
October 2, 2025
AEK
SuperUser
SuperUser
October 2, 2025
Muri
MuriAuthor
Explorer
October 2, 2025

Hey @AEK

thanks for suggestions.

Basicaly what we want to acchieve is, to create a "safe word" string, which must be included in subject of sent message.

the idea is, that the specific sender should send a message, that only in Subject must contain specific word/teyt - for example "Subject:Hey-[space]whatever text" - only that will be accepted and received.

 

Best regards

Marko

AEK
SuperUser
SuperUser
October 2, 2025

Hi Muri

In that case I think the logic is to achieve it with dictionary in antispam profile, and you need a regular expression to match subjects that don't contain "Hey-" to put them in quarantine.

AEK