Warnings in syslog

tower

New Member
Mar 22, 2019
6
0
1
64
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?

Thank's
 
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`

Thanks!

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

uname -n

mailgw

/etc/resolv.conf
nameserver 127.0.0.1

/etc/resolv.conf.dnsmasq:
search schraepler.de
domain schraepler.de
nameserver 213.133.98.98

/etc/hosts
127.0.0.1 localhost
176.9.240.212 mailgw.schraepler.de mailgw

/etc/hostname
mailgw

Thanks
 
Now

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)