rspamd problem

santovito

Verified User
Joined
Nov 23, 2008
Messages
144
Hello to all.

I'm trying to activate rspamd on my server (centos 8)

I type the following commands:

cd /usr/local/directadmin/custombuild
./build update
./build set eximconf yes
./build set eximconf_release 4.5
./build set blockcracking yes
./build set easy_spam_fighter yes
./build set spamd rspamd
./build set exim yes
./build exim
./build rspamd
./build exim_conf


all right, no error. The rspamd process exists and running corrctly

However, it does not seem to be enabled in exim. In the mail header I see: SpamTally: Final spam score: unset because ESF not run (SpamAssassin unset, whitelist, or skippped)

How can I fix?

Thank You

Vito
 
I did today updates exim , directadmin 1.601 and some more on CENTOS 8

BUT have problem: ( sorry don't have enough time now but there should be something wrong so i paste the error message)

Before updates it was running



Cannot find the script in /etc/systemd/system, /usr/lib/systemd/system, nor /lib/systemd/system​


Details


/lib/systemd/system/spamd.service​
 
I did today updates exim , directadmin 1.601 and some more on CENTOS 8

BUT have problem: ( sorry don't have enough time now but there should be something wrong so i paste the error message)

Before updates it was running



Cannot find the script in /etc/systemd/system, /usr/lib/systemd/system, nor /lib/systemd/system​

Details


/lib/systemd/system/spamd.service​
What did you click? I guess have "spamd" (not rspamd) listed in "service monitor" ?
 
U sorry ;) ( did forumsearch on spamd and didn't read very well ..)

Error restarting service spamd : uid 0 gid 0 : /usr/bin/systemctl restart spamd.service >/dev/null 2>/dev/null : returned 5

did updates with latest Custombuild GUI rev 2379 @smtalk
 
Last edited:
Is spamassassin installed?

Please check /etc/systemd/system/spamassassin.service, is Alias=spamd.service there? If yes, try:
Code:
systemctl enable spamassassin.service
 
Is spamassassin installed?

Please check /etc/systemd/system/spamassassin.service, is Alias=spamd.service there? If yes, try:
Code:
systemctl enable spamassassin.service

U i didn't find it there but should? because worked before update.

only find /usr/locale/directadmin/custombuild/configure/systemd/spamassassin.service

in custombuild 2 gui however it is on ( spamassassin bleu)

Change this to no and then back to spammassassin didn't help
 
That's the problem, try building spamassassin to fix it.
 
If i do:
cd /usr/local/directadmin/custombuild
./build set spamd spamassassin
./build spamassassin

then message changed spamd from spamassssin to spamassssin

but with build a lot of error not finding dependencies ( to much i have only printscreens saved )

i wil will first try updating centos 1905 to latest then come back if i have more time here.
 
Last edited:
I’d suggest following KnowledgeBase for the dependencies.
 
I don't understand all was running before the 14 updates i did today in custombuild gui

now i get
 

Attachments

  • spamd.jpg
    spamd.jpg
    259 KB · Views: 54
I use rspamd and also get "ESF not run". When I try to enable spamassassin, it forced spamd to spamassassin. How can I use spamd as rspamd to get performance advantage while I need to enable spamassassin for ESF at the same time?

# ./build set spamassassin yes
Changed spamd option from rspamd to spamassassin
 
Back
Top