The PMG "daily admin report" is always sent twice when triggered automatically

Aug 27, 2026
2
1
3
Switzerland
Hello everyone

Do any of you know this problem and how to solve it? The PMG "daily admin report" is always sent twice when triggered automatically. If I run the job manually (pmgreport --receiver admin@dummy.com --timespan today --auto), only one message is sent.

Current configuration

; -----------------------------------------------------

# /usr/lib/systemd/system/pmgreport.timer
[Unit]
Description=Send Daily System Report Mail

[Timer]
OnCalendar=00:01
Persistent=true

[Install]
WantedBy=timers.target

# /etc/systemd/system/pmgreport.timer.d/override.conf
[Unit]
Description=Send Daily System Report Mail

[Timer]
OnCalendar=
OnCalendar=Mon..Fri 8,12,16:00
OnCalendar=Sat,Sun 17:00
Persistent=true

[Install]
WantedBy=timers.target

; -----------------------------------------------------

# /usr/lib/systemd/system/pmgreport.service
[Unit]
Description=Send Daily System Report Mail
ConditionPathExists=/usr/bin/pmgreport
After=postfix.service
After=postgresql.service
Wants=postfix.service
Wants=postgresql.service

[Service]
Type=oneshot
ExecStart=/usr/bin/pmgreport --timespan yesterday --auto


# /etc/systemd/system/pmgreport.service.d/override.conf
[Unit]
Description=Send Daily System Report Mail
ConditionPathExists=/usr/bin/pmgreport
After=postfix.service
After=postgresql.service
Wants=postfix.service
Wants=postgresql.service

[Service]
Type=oneshot
ExecStart=/usr/bin/pmgreport --timespan today --auto

; -----------------------------------------------------

Syslog output

Aug 31 15:59:29 mx pmg-smtp-filter[738]: starting database maintenance
Aug 31 15:59:29 mx pmg-smtp-filter[738]: end database maintenance (2 ms)
Aug 31 16:00:11 mx systemd[1]: Starting pmg-hourly.service - Hourly Proxmox Mail Gateway activities...
Aug 31 16:00:11 mx systemd[1]: Starting pmgreport.service - Send Daily System Report Mail...
Aug 31 16:00:12 mx systemd[1]: Reloading pmgpolicy.service - Proxmox Mail Gateway Policy Daemon...
Aug 31 16:00:12 mx pmgpolicy[725]: Received a SIG HUP
Aug 31 16:00:12 mx systemd[1]: Reloaded pmgpolicy.service - Proxmox Mail Gateway Policy Daemon.
Aug 31 16:00:12 mx pmgpolicy[725]: 2026/08/31-16:00:12 Server closing!
Aug 31 16:00:12 mx pmgpolicy[725]: 2026/08/31-16:00:12 Re-exec server during HUP
Aug 31 16:00:12 mx postfix/smtpd[2691]: connect from localhost.localdomain[127.0.0.1]
Aug 31 16:00:12 mx postfix/smtpd[2691]: 305AE18E0313: client=localhost.localdomain[127.0.0.1]
Aug 31 16:00:12 mx postfix/cleanup[2693]: 305AE18E0313: message-id=<20260831140012.305AE18E0313@mx.dummy.com>
Aug 31 16:00:12 mx postfix/qmgr[857]: 305AE18E0313: from=<>, size=3786, nrcpt=1 (queue active)
Aug 31 16:00:12 mx postfix/smtpd[2691]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 commands=4
Aug 31 16:00:12 mx postfix/smtp[2694]: Untrusted TLS connection established to 192.168.11.12[192.168.11.12]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 31 16:00:12 mx postfix/smtp[2694]: 305AE18E0313: to=<admin@dummy.com>, relay=192.168.11.12[192.168.11.12]:25, delay=0.17, delays=0.04/0.01/0.01/0.11, dsn=2.6.0, status=sent (250 2.6.0 <20260831140012.305AE18E0313@mx.dummy.com> [InternalId=47781511168003, Hostname=server.dummy.tld] 5052 bytes in 0.101, 48.425 KB/sec Queued mail for delivery)
Aug 31 16:00:12 mx postfix/qmgr[857]: 305AE18E0313: removed
Aug 31 16:00:12 mx pmgpolicy[725]: WARNING: Pid_file created by this same process. Doing nothing.
Aug 31 16:00:12 mx pmgpolicy[725]: WARNING: Pid_file created by this same process. Doing nothing.
Aug 31 16:00:12 mx pmgpolicy[725]: 2026/08/31-16:00:12 main (type Net::Server::PreForkSimple) starting! pid(725)
Aug 31 16:00:12 mx pmgpolicy[725]: Binding open file descriptors
Aug 31 16:00:12 mx pmgpolicy[725]: Binding to TCP port 10022 on host 127.0.0.1 with IPv4
Aug 31 16:00:12 mx pmgpolicy[725]: Reassociating file descriptor 7 with TCP on [127.0.0.1]:10022, using IPv4
Aug 31 16:00:12 mx pmgpolicy[725]: Group Not Defined. Defaulting to EGID '987 987 989 999'
Aug 31 16:00:12 mx pmgpolicy[725]: User Not Defined. Defaulting to EUID '987'
Aug 31 16:00:12 mx pmgpolicy[725]: Setting up serialization via flock
Aug 31 16:00:12 mx pmgpolicy[725]: Policy daemon (re)started
Aug 31 16:00:12 mx pmgpolicy[725]: Beginning prefork (5 processes)
Aug 31 16:00:12 mx pmgpolicy[725]: Starting "5" children
Aug 31 16:00:12 mx postfix/smtpd[2691]: connect from localhost.localdomain[127.0.0.1]
Aug 31 16:00:12 mx postfix/smtpd[2691]: 9F3A918E0313: client=localhost.localdomain[127.0.0.1]
Aug 31 16:00:12 mx postfix/cleanup[2693]: 9F3A918E0313: message-id=<20260831140012.9F3A918E0313@mx.dummy.com>
Aug 31 16:00:12 mx postfix/smtpd[2691]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 commands=4
Aug 31 16:00:12 mx postfix/qmgr[857]: 9F3A918E0313: from=<>, size=3786, nrcpt=1 (queue active)
Aug 31 16:00:12 mx postfix/smtp[2694]: Untrusted TLS connection established to 192.168.11.12[192.168.11.12]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 31 16:00:12 mx systemd[1]: pmgreport.service: Deactivated successfully.
Aug 31 16:00:12 mx systemd[1]: Finished pmgreport.service - Send Daily System Report Mail.
Aug 31 16:00:12 mx systemd[1]: pmgreport.service: Consumed 794ms CPU time, 100.7M memory peak.
Aug 31 16:00:12 mx postfix/smtp[2694]: 9F3A918E0313: to=<admin@dummy.com>, relay=192.168.11.12[192.168.11.12]:25, delay=0.16, delays=0.04/0/0.01/0.11, dsn=2.6.0, status=sent (250 2.6.0 <20260831140012.9F3A918E0313@mx.dummy.com> [InternalId=47781511168006, Hostname=server.dummy.tld] 5052 bytes in 0.102, 48.189 KB/sec Queued mail for delivery)
Aug 31 16:00:12 mx postfix/qmgr[857]: 9F3A918E0313: removed
Aug 31 16:00:13 mx systemd[1]: pmg-hourly.service: Deactivated successfully.
Aug 31 16:00:13 mx systemd[1]: Finished pmg-hourly.service - Hourly Proxmox Mail Gateway activities.
Aug 31 16:00:13 mx systemd[1]: pmg-hourly.service: Consumed 1.248s CPU time, 202.3M memory peak.
Aug 31 16:01:29 mx pmg-smtp-filter[738]: starting database maintenance
Aug 31 16:01:29 mx pmg-smtp-filter[738]: end database maintenance (2 ms)

; -----------------------------------------------------

Best regards, Marco