• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

spamassassin isn't starting after a backup

B

bonsaidouglas

Guest
I just did a backup and once it was complete, spamassassin wouldn't start back up. This is the backup command I used:
/usr/local/psa/bin/psadump -f - | split -b1000m - dump.

And this is what I get when I try to restart spamassassin:
# service psa-spamassassin start
Insecure directory in $ENV{PATH} while running with -T switch at /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/CmdManageSA3.pm line 829.

Starting psa-spamassassin service: [ OK ]
# service psa-spamassassin status
is stopped
0

It errors but then claims to start, then a status indicates it's not running...

Any leads on what the "Insecure directory" is referring to?

Thanks
 
ok got it, my mistake.

when installing some other software I changed the permissions on directories, changed them back and it's all good.
 
I'm having the same problem but i don't remember installing anything :(

So what folders did you have problems with and what did you do to them to make it work :)
 
I think the only directories that may have been affected were:
/usr/local/bin and/or /usr/local/sbin

I set the permissions back to what they were originally. Spamassassin seems to require certain permissions so that its settings can't be tampered with.
 
Back
Top