Limit the file size send

Greeting:

I already read this http://community.igniterealtime.org/message/173082#173082. And the last reply is 2008.

This is my first time to install this xmpp. I just successfully install the openfire 3.7.1 and spark 2.6.3. I can login and send files. I just want to know if we can limit the file send to around 1mb or something?

os: centos 6

thanks.