i’ve edited the spamc.conf file to the:
# connect to "server.example.com", port 783
-d 127.0.0.1
-p 783
# max message size for scanning = 350k
-s 350000
from https://spamassassin.apache.org/full/3.4.x/doc/spamc.html
now the
procmail: Rescue of unfiltered data succeeded procmail: Program
failure (78) of "/bin/spamc" Line not terminated with a newline in
/etc/mail/spamassassin/spamc.conf
doesnt show anymore but i still get:
ERROR: Could not connect to clamd on LocalSocket /run/clamd.scan/clamd.sock: Permission denied
The owner of clamd.sock is clamscan:clamscan permission 0666 and it has 0 bytes changed the folder permission to 0755 and the error is gone.
Solved it, the headers showed up and all the errors are gone:
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on redacted.com.br
X-Spam-Level:
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM,HTML_MESSAGE,MIME_HTML_MOSTLY,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,TVD_SPACE_RATIO autolearn=no autolearn_force=no version=3.4.6