Warnings in syslog


New Member
Mar 22, 2019
Hi, I received these warnings:

WARNING: Use of uninitialized value in concatenation (.) or string at /usr/bin/pmg-smtp-filter line 645.

Can you help me?

proxmox-mailgateway: 5.1-1 (API: 5.1-4/330e87c5, running kernel: 4.15.18-11-pve)
pmg-api: 5.1-4
pmg-gui: 1.0-42
proxmox-spamassassin: 3.4.2-1
proxmox-widget-toolkit: 1.0-20
pve-kernel-4.15: 5.3-2
pve-kernel-4.15.18-11-pve: 4.15.18-33
libpve-http-server-perl: 2.0-11
lvm2: not correctly installed
pve-firmware: 2.0-5
libpve-common-perl: 5.0-45
pmg-docs: 5.1-4
pve-xtermjs: 3.10.1-1
libarchive-perl: 3.2.1-1
libxdgmime-perl: 0.01-3
libpve-apiclient-perl: 2.0-5
hmm - seems like a problem in your hostname/domainname/dns setup

please post the output of:
* `uname -n`
* `cat /etc/resolv.conf`
* `cat /etc/hosts`
* `cat /etc/hostname`


EDIT: added `cat /etc/hostname` to list of commands
Sorry, I was absent.

uname -n



search schraepler.de
domain schraepler.de

/etc/hosts localhost mailgw.schraepler.de mailgw



proxmox-mailgateway: 5.2-1 (API: 5.2-1/f3cf441a, running kernel: 4.15.18-12-pve)
pmg-api: 5.2-1
pmg-gui: 1.0-45
pve-kernel-4.15: 5.3-3
pve-kernel-4.15.18-12-pve: 4.15.18-35
pve-kernel-4.15.18-11-pve: 4.15.18-33
libarchive-perl: 3.2.1-1
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-48
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-24
pve-firmware: 2.0-5
pve-xtermjs: 3.10.1-2
search schraepler.de
please try to add this line to /etc/resolv.conf
(hopefully this works with dnsmasq (but i'm pretty sure it does))

Hope this helps!
Glad it worked out! Please mark the thread as SOLVED, so that others know what to expect. - Thanks!
You should be able to select 'Edit Thread' (on top before your first post in 'Thread Tools') and there you can select '[SOLVED]' as prefix.
(hope this also works for regular users)


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!