如果需要让Sakai收发邮件，需要在 sakai.properties 中进行一系列设置。要让Sakai发送邮件，需要设定SMTP服务器地址：
Sakai's SMTP server is Apache James. Most sys admins prefer running a standard mailer like Postfix on port 25 (rather than James directly) and configuring it to forward requests to Sakai. You may also currently have a mailer service running on port 25 (Linux usually has it running by default). So consider setting James to run on a different port (e.g., 8025) in order to avoid conflicts.
To enable Sakai to receive mail you'll need to set the following properties:
# flag to enable or disable James for incoming email (true | false)
# dns addresses used by James for incoming email.
# SMTP port on which James runs.
# Recommend running on 8025, and using a standard mailer on 25 to forward mail to Sakai.
Additional settings can be enabled to add support emails for a variety of tasks.
# Email support address used in incoming email rejection messages.
# Email address to send errors caught by the portal, and user bug reports in response.
# Email address used as the "from" address for any email sent by Worksite Setup tool or Site Info tool.
# Send an email to the user when the user is added.