Manage Spamassassin blacklist via script

davidw1234

Registered
Dec 3, 2020
2
1
3
Scotland
cPanel Access Level
Reseller Owner
Hi,

I would like to write a script to add email address to my spamassassin blacklist. I have tried to script access through the cpanel web access, but this is incredibly clunky and requires allowing javascript in browser which almost inevitably requires user authentication which kind of defeats the automation aim. Is it possible to maintain the spamassassin blacklist directly without web access?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
4,509
567
273
cPanel Access Level
Root Administrator

davidw1234

Registered
Dec 3, 2020
2
1
3
Scotland
cPanel Access Level
Reseller Owner
  • Like
Reactions: cPRex