Before setup your Foxmail, please make sure you have the below information
incoming mail server : imap.yourdomain.com
outgoing smtp server : smtp.yourdomain.com
email address : username@yourdomain.com
password : *****************
Open foxmail
Tools > Account Manager
Create > Enter your Email Address > Next
Select IMAP on Mailbox Type > Enter Email Password > Next