What is Max Spam Size (bytes) (maxspamsize)?

ph.adam

New Member
Mar 9, 2023
7
0
1
Hello,

I'm trying to check that big mails aren't blocked and I found this parameter "Max Spam Size" in Spam Detector Options.

Docs says nothing about it except the unit and the default value:
Code:
maxspamsize: <integer> (64 - N) (default = 262144)
Maximum size of spam messages in bytes.

Does it mean that if spam is bigger it won't get analyzed? It won't get stored? It will always be blocked? What if mail is not spam? What is a spam in Proxmox mail gateway? Is a quarantined mail a spam?


For sure, if you know PMG well it is obvious to understand what this parameter does. The thing is, I just understand I need to block spam. And because of that I now have to handle false positive.

Well, thank you in advance for your help
 
Last edited:
Hello! we are sure about this?? :

Yes, it simply skips the spam detection phase.

I am facing an issue that SpamAssassin marks the email as spam because fails DKIM and DMARC, but really the DKIM signature it's ok(opendkim test shows as "pass").
So i thinking that this option is causing the issue.. Example if a 300kb email has signed with DKIM and SA only checks 262144 bytes of the email the DKIM verification fails. Really it dosen't skips the SA check.
I will change that value with a greater one and see if solve this issue.
 
Last edited: