Hi @Ruslan Ignatjev ,
Welcome to our forum.
Does Outlook keep all attachments in .ost file?
If you are working with IMAP account or Exchange account in cached exchange mode, the .ost file would store a synchronized copy of your mailbox information(all emails, calendar data, contacts, and tasks) , so the attachments in message are also stored there, here is a similar thread, for you reference: Where are attachments stored?
If they are stored in .ost file, then can we control whether attachments will go into .ost file or not? Will it reduce size of the .ost file?
As I know, we could set what items downloaded to ost file via Synchronization Filters in Outlook(right-click the folder>Synchronization>Filter) , but there may be no option that could manage attachment , for your requirement of reducing .ost file, it's recommended to shorten the date of the Synchronization like below (File>Account settings>Account settings>drag the sync slider to a shorter time, such as 1 week)
Hope that would be helpful to you.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.