By default Xeams rejects messages larger than 20MB. This is done by design and it is configurable. However, before you change this behavior it is important you understand the implications this can have on Xeams.
Email servers are not designed to handle large attachments and neither is Xeams. This is because large message require more memory for processing. This memory requirement affects Xeams more than other email servers that do not analyze incoming messages.
Additionally, Xeams uses a multi-threaded architecture to process incoming messages. This mean messages containing large attachments can come in from different sources simultaneously adding up to a large memory usage.
A better solution is to use a product that is designed for large attachments. One such product is SynaMan, which can handle emails containing gigabytes of attached files.
It is an easy to use, feature rich, file sharing tool designed for large attachments with an embedded SMTP server. You can use both Xeams and SynaMan in conjunction to employ Xeams' powerful Spam filtering and SynaMan's large file capabilities.
Modifying configuration in Xeams
Use the following steps to modify the maximum email size in Xeams. We strongly recommend not using a number higher than 30 MB, as that can potentially bring down the entire server.
Stop Xeams if it is running
Locate AppConfig.xml file in $INSTALL_DIR/config folder
Make a backup of this file, in case you need to rollback
Open AppConfig.xml in any editor, such as Notepad on Windows
Search for a line containing <maxEmailSize>20971520</maxEmailSize>and change the value (highlighed in yellow) to a higher number. This value is specified in bytes.
Save the file
Add a comment to this document
Do you have a helpful tip related to this document that you'd like to share
with other users? Please add it below. Your name and tip will appear at the
end of the document text.