Install updates.spamassassin.org immediately when they are available

poetry

Active Member
May 28, 2020
206
63
33
Hello,

Running Mail Gateway 6.4-3 with all updates installed.

I am wondering if it's possible to force installation of updates.spamassassin.org as soon as possible automatically. I have been checking and it seems every time I check they are not installed. If I install them manually it works but I want them to install automatically.

1617621673922.png


Is there something I have to change in the /etc/mail/spamassassin/custom.cf ?
1617621804999.png

I can't find anything related in proxmox documentation on how to change update interval settings for spamassassin.

Thank you!
 
* The updates are installed once per day (via the pmg-daily.timer), this should be enough in almost all situations
* you can trigger a rule-update via the API (POST to /nodes/<nodename>/spamassassin/rules) - see the API viewer:
https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/nodes/{node}/spamassassin/rules

I hope this helps
 
  • Like
Reactions: poetry
* The updates are installed once per day (via the pmg-daily.timer), this should be enough in almost all situations
* you can trigger a rule-update via the API (POST to /nodes/<nodename>/spamassassin/rules) - see the API viewer:
https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/nodes/{node}/spamassassin/rules

I hope this helps

I have a case where I would like to disable spamassassin updates all together.
What is the best way to do this so it will be persistent even after pmg upgrades?
Thanks.
 
I have a case where I would like to disable spamassassin updates all together.
why? (out of curiosity)

without testing - disable the pmg-daily.timer (keep in mind that you'll lose other functionality as well - e.g. renewal of acme-certificates)