Chenge the spam report time

koby

Renowned Member
Jun 21, 2012
135
4
83
Natanya , Israel
Hello Guys ,
I would like to change the spam report timer from 00:05 as the current default to 08:30.
I manage to do this by setting the time on the "pmgspamreport.time"
I change the "OnCalendar=08:30"
BUT , if I ran "systemctl restart pmgproxy" because any reason, It is reverting back to default which is "00:05"
Any advice please,

Best Regards ,
Koby Peleg Hen
 
do not edit the timer directly, use 'systemctl edit pmgspamreport.timer' this creates an override that should survive package upgrades/restarts
 
  • Like
Reactions: Stoiko Ivanov
Hello all
It does created an override file and put it on "/etc/systemd/system/pmgspamreport.timer.d"
I did reload all the systems one more.
I think It will be fine now.
Thank you all for solving this.

Best regards ,
Koby Peleg Hen
 

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!