PMG-SMTP-FILTER: WARNING: Use of uninitialised value in ...

Jun 17, 2019

I see these warnings in PMG Mail.log

pmg-smtp-filter[19121]: WARNING: Use of uninitialized value in concatenation (.) or string at /usr/bin/pmg-smtp-filter line 646.
pmg-smtp-filter[19121]: WARNING: Use of uninitialized value $args[2] in sprintf at /usr/lib/x86_64-linux-gnu/perl/5.24/Sys/ line 423.

Any idea or suggestions?

proxmox-mailgateway: 5.2-1 (API: 5.2-3/26df5d99, running kernel: 4.15.18-15-pve)
pmg-api: 5.2-3
pmg-gui: 1.0-45
pve-kernel-4.15: 5.4-3
pve-kernel-4.15.18-15-pve: 4.15.18-40
pve-kernel-4.15.18-12-pve: 4.15.18-36
libarchive-perl: 3.2.1-1
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-52
libpve-http-server-perl: 2.0-12
libxdgmime-perl: 0.01-3
lvm2: 2.02.168-2
pmg-docs: 5.2-1
proxmox-spamassassin: 3.4.2-2
proxmox-widget-toolkit: 1.0-28
pve-firmware: 2.0-5
pve-xtermjs: 3.10.1-2
zfsutils-linux: 0.7.13-pve1~bpo1
After adding the hostname as a search in /etc/resolve the one WARNING is gone, now only this one

pmg-smtp-filter[19120]: WARNING: Use of uninitialized value $args[2] in sprintf at /usr/lib/x86_64-linux-gnu/perl/5.24/Sys/ line 423.
Both of those should be fixed in the current master branch. The next version of pmg-api (5.2-5) should contain the fixes.


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!