Issue with .spamassasin file permission since Upgrade to Cloudron 8.0.0
-
Hi @staff,
since upgrade to Cloudron 8.0.0 I discovered some warnings in the logfile of the email service:
Jul 02 22:10:33 [POST] /spam_custom_config Jul 02 22:10:33 Jul 2 20:10:33.867 [5031] warn: config: path "/root/.spamassassin" is inaccessible: Permission denied Jul 02 22:10:33 Jul 2 20:10:33.867 [5031] warn: config: path "/root/.spamassassin/user_prefs" is inaccessible: Permission denied Jul 02 22:10:33 Jul 2 20:10:33.946 [5031] warn: config: registryboundaries: no tlds defined, need to run sa-update Jul 02 22:10:33 Jul 2 20:10:33.957 [5031] warn: config: path "/root/.spamassassin" is inaccessible: Permission deniedIs this somehow specific to my installation or maybe a bug?
Best,
Mike -
J joseph marked this topic as a question on
-
When I drop into the mail container and look at the logs for spamd, I see some more information. I can actually see where it's checking for spam and see that it's indeed not using my rules. It says:
Oct 7 23:09:31.891 [109] info: spamd: using default config for iamthefij@example.com: /app/data/spamd/iamthefij@example.com/user_prefsThat file does not exist. The actual rules are in
/app/data/spamd/custom.cf.I can see in
/etc/supervisor/conf.d/spamd.confthatspamdis started with:/usr/sbin/spamd --max-children 2 --port 7833 --nouser-config --virtual-config /app/data/spamd/%%u --syslog stderr -u cloudron --allow-tellThis appears to tell it not to try and access
/root/.spamassassin/user_prefs. When I look at thespamdlogs, I actually don't see the error that I see in the mail logs. So not sure why that would be yet.The thing that does stand out is that it looks like it's telling
spamdto look at/app/data/spamd/iamthefij@example.com/user_prefs, as I'm seeing in the logs. This file also does not exist. I don't see it looking for the custom file anywhere. -
I do see some of my local rules present in the logs. Only older ones though. I added a pretty specific one targeting a bunch of spam I've been getting and that doesn't seem to be applied.
Just in case these messages are benign and my rule is breaking things, I'll post it here:
body LOCAL_TINA_EGAN_SPAM_PHISH /Tina Egan/ score LOCAL_TINA_EGAN_SPAM_PHISH 7.0I've been getting a bunch of spam addressed to "Tina Egan" trying to phish me. Trying to mark them all as junk.
-
@iamthefij I can take a look tomorrow but the repo is at https://git.cloudron.io/cloudron/mail-addon
-
@iamthefij I can take a look tomorrow but the repo is at https://git.cloudron.io/cloudron/mail-addon
-
J james has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login