[SOLVED] Spam detector update

showiproute

Well-Known Member
Mar 11, 2020
610
32
48
36
Austria
Hello everyone,

I recognised that pmg-daily.service only updates the regular Spamassassin score - but not the 2nd one (kam.sa-channels.mcgrail.com).
Can this also be automatically done?
 
Hello @Stoiko Ivanov ,

I checked on the GUI if there were any updates available which were.
I then restarted the `pmg-daily.service` and waited until it was finished.

After that I was able to verify that only Spamassassin itsellf was updated but not the 2nd one.
 
I checked on the GUI if there were any updates available which were.
could you please try to update the KAM channel through the GUI directly? (just click on the row - and click 'Update Now'
and paste the output of the task

thanks!
 
could you please try to update the KAM channel through the GUI directly? (just click on the row - and click 'Update Now'
and paste the output of the task

thanks!
I have done that already after the automatic update via the service failed.
Unfortunately I did not copy the text but it worked as expected/without any errors or problems.
 
you could also check the journal around the time you started the pmg-daily.service - maybe there's an error-message there?
 
There is also no error:
Code:
root@relay:/var/log# journalctl -u pmg-daily.service --since=yesterday
-- Journal begins at Tue 2021-12-21 14:22:06 CET, ends at Tue 2022-07-12 13:17:37 CEST. --
Jul 11 01:48:46 relay systemd[1]: Starting Daily Proxmox Mail Gateway activities...
Jul 11 01:48:46 relay pmg-daily[20442]: cleanup removed 15 entries from statistic database
Jul 11 01:48:46 relay pmg-daily[20442]: starting task UPID:relay:00004FDE:02F996EC:62CB655E:aptupdate::root@pam:
Jul 11 01:48:48 relay pmg-daily[20446]: update new package list: /var/lib/pmg/pkgupdates
Jul 11 01:48:50 relay pmg-daily[20442]: end task UPID:relay:00004FDE:02F996EC:62CB655E:aptupdate::root@pam: OK
Jul 11 01:48:59 relay systemd[1]: pmg-daily.service: Succeeded.
Jul 11 01:48:59 relay systemd[1]: Finished Daily Proxmox Mail Gateway activities.
Jul 11 01:48:59 relay systemd[1]: pmg-daily.service: Consumed 8.003s CPU time.
-- Boot f5375844711a402e90373587eb718fc6 --
Jul 12 03:40:46 relay systemd[1]: Starting Daily Proxmox Mail Gateway activities...
Jul 12 03:40:46 relay pmg-daily[5075]: cleanup removed 48 entries from statistic database
Jul 12 03:40:46 relay pmg-daily[5075]: starting task UPID:relay:000013D7:0387ADEC:62CCD11E:aptupdate::root@pam:
Jul 12 03:40:48 relay pmg-daily[5079]: update new package list: /var/lib/pmg/pkgupdates
Jul 12 03:40:50 relay pmg-daily[5075]: end task UPID:relay:000013D7:0387ADEC:62CCD11E:aptupdate::root@pam: OK
Jul 12 03:40:59 relay systemd[1]: pmg-daily.service: Succeeded.
Jul 12 03:40:59 relay systemd[1]: Finished Daily Proxmox Mail Gateway activities.
Jul 12 03:40:59 relay systemd[1]: pmg-daily.service: Consumed 9.865s CPU time.
Jul 12 07:53:38 relay systemd[1]: Starting Daily Proxmox Mail Gateway activities...
Jul 12 07:53:38 relay pmg-daily[7397]: starting task UPID:relay:00001CE9:039ED47C:62CD0C62:aptupdate::root@pam:
Jul 12 07:53:40 relay pmg-daily[7401]: update new package list: /var/lib/pmg/pkgupdates
Jul 12 07:53:41 relay pmg-daily[7397]: end task UPID:relay:00001CE9:039ED47C:62CD0C62:aptupdate::root@pam: OK
Jul 12 07:53:57 relay systemd[1]: pmg-daily.service: Succeeded.
Jul 12 07:53:57 relay systemd[1]: Finished Daily Proxmox Mail Gateway activities.
Jul 12 07:53:57 relay systemd[1]: pmg-daily.service: Consumed 7.675s CPU time.


Is there a log file for this service which I can check as well?
 
  • Like
Reactions: showiproute
When is such a bugfix usually implemented to be used for regular users?
the process is (summed up an only roughly described):
* patch is sent to the mailing-list for discussion
* it gets reviewed and either applied - or a improved version gets applied eventually
* we test it internally
* it's published on the pmgtest repoistory
* it transitions to pmg-no-subscription to reach pmg-enterprise eventually

none of those steps have a precise time-frame and depend on a few external factors (e.g. our workload)

put shortly - cannot give you a precise date - but since quite a few fixes have accumlated for pmg we'll try to schedule packaging it soon.
 
  • Like
Reactions: showiproute
yes the issue should be resolved in 7.1-4 - which should be available in pmg-no-subscription (and pmgtest)
 
  • Like
Reactions: showiproute

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!