How to redirect mail from a main inbox to only your smart mailbox?

Solution 1:

The short answer is no. Smart mailboxes are basically filters. All mail is still in the original mailbox. Or as Apple puts it:

A Smart Mailbox shows in one location messages that are stored in other mailboxes. For example, a Smart Mailbox might show all messages from a specific sender or with a certain type of attachment, regardless of the mailbox where they’re stored. Source.

You could however create your own sort of smart mailboxes by using rules to move messages around based on certain characteristics. https://support.apple.com/guide/mail/use-rules-to-manage-emails-you-receive-mlhlp1017/mac.

First create your folders. In this example I created "Today" and "Archive":

Showing folders

Then go to Settings and create rules.

Settings with Rules

Example of rules creating a Today folder: Rule for Today

This moves all mail of less than a day old to the folder called Today.

Rule for Archive

The second rule moves all day more than a day old to a folder called archive. This should give you an idea how to work with rules and folders.

Solution 2:

A smart mailbox is just a virtual mailbox showing mails which match certain rules. This means that you can't physicallye move mail into a smart mailbox.

In your case you could create a physical mailbox folder instead and use mail rules to move mail matching the subject string directly into this folder on arrival. Apple has a support article explaining how to use rules which might help here.