by Emma Richardson.
You can only use one but you only need to use one. Students do not authenticate with the imap server - they do not receive email through moodle. Moodle just uses one smtp server to send email out. All Moodle messaging is handled internally.