Select outgoing mail folder in Mail.app
In Mail select the mailbox you want to use from the list on the left and navigate to the menu Mailbox > Use this Mailbox For, then choose the appropriate purpose from the menu: