- Plesk Onyx for Windows
Note: This article has the reference to the issue with the fix available:
- #PPPM-10112 "Email message greater than 10Mb truncated by SpamAssassin (as PPP-40972)"
- Plesk Obsidian Release Candidate 1.0 04 June 2019
MailEnable Server 10.12 is used.
Attachments from incoming messages larger than 10 Mb are not delivered.
Messages size is shown in MailEnable Webmail as 10000, regardless of the actual size.
SpamAssassin cannot read the whole content of the incoming email message. After it saves file with modified headers, it truncates content to 10Mb (10240000 bytes) that were read in the first chunk. It is a Plesk bug with ID PPPM-10112, that is planned to be fixed in one of the future product updates.
As a workaround, change the chunk size for SpamAssassin:
Connect to the server via RDP.
Alter the following line in
%plesk_dir%Additional\SpamAssassin\bin\psa-spam-filterscript file to change the chunk size to 40 Mb (40960000 bytes):
Note: The value can be increased depending on the maximum message size set for incoming mail.