Is it possbile to exclude some folders from search?

In my mail accounts I have some folders where many system mails are stored. They are not relevant for the search. But when I search in the complete mail acount these mails are shown in the search results.
Is there a way to exclude some folders from search?

Thanks in advance
Alex

Click the down arrow in the search box and choose Custom Folder Selection. Select the folders you want to search, then try the search again.