Support / KnowledgeBase

 
Search the KnowledgeBase Search

Changing SpamAssassin to check emails larger than 250KB

  • Applies to: All (dv)

  • Difficulty: Medium

  • Time needed: 10 minutes

  • Tools needed: SSH, root or sudo access, vi knowledge

 
  • Applies to: All (dv)
    • Difficulty: Medium
    • Time Needed: 10
    • Tools Required: SSH, root or sudo access, vi knowledge

Overview

By default, SpamAssassin will not check emails larger than 250 KB. This parameter is set to prevent SpamAssassin from generating a large load on the server.

Requirements

Before you start, this article has the following dependencies:

READ ME FIRST

The publishing of this information does not imply support of this article. This article is provided solely as a courtesy to our customers. Please take a moment to review the Statement of Support.

Instructions

If you would like to change this setting to a higher value, you can edit the following file:

vi /usr/local/psa/bin/psa-spamc 

Next, change this line to a higher value:

MAX_SIZE=256000 # max letter size to filter

SpamAssassin will use the new value immediately with no need to restart any services.

See also


User Comments

No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article
Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue