If your server settings are correct, you will be presented with a list of folders as stored on the IMAP server.
Folders
This list contains the hierarchy of folders contained within the email client.
You can control whether a folder is indexed by clicking the drop down box
to the left of each folder. See Email Indexing
Rules for more information about defining advanced email rules.
Click Finish to save the email indexing rule.