How can I configure Foxmail to automatically delete all the e-mails which are already downloaded on my computer?
Foxmail doesn't have such an option and you will need to delete the emails manually. However, you can configure it to empty the Spam and Trash folders before exit. You can activate this features in Settings > Advanced > Preference.