Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Muri
New Contributor III

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

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

4 REPLIES 4
AEK
SuperUser
SuperUser

AEK
AEK

For regular expressions you may use dictionary in antispam profile.

https://docs.fortinet.com/document/fortimail/7.4.1/administration-guide/352990/configuring-antispam-...

AEK
AEK
Muri
New Contributor III

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

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
AEK
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors