[SOLVED] PVE5 - Problem when send mail to root

correctonet

Renowned Member
May 31, 2015
8
1
68
Hi,

I have installed a new cluster (3 nodes) in PVE5. All road fine except with mail alert. If I send a mail with the mail command to my email address no problem but if I send a mail to root (managed by /usr/bin/pvemailforward) and correctly configured to my real mail address, the mail doesn't arrive and I see that in syslog : (I have remplaced my real domain to DOMAIN)

Jul 16 13:15:10 cloud12 postfix/pickup[14461]: 8ADE6F379: uid=0 from=<root>
Jul 16 13:15:10 cloud12 postfix/cleanup[18325]: 8ADE6F379: message-id=<20170716111510.8ADE6F379@cloud12.DOMAIN>
Jul 16 13:15:10 cloud12 postfix/qmgr[3053]: 8ADE6F379: from=<root@cloud12.DOMAIN>, size=394, nrcpt=1 (queue active)
Jul 16 13:15:10 cloud12 pmxcfs[3424]: [ipcs] crit: connection from bad user 65534! - rejected
Jul 16 13:15:10 cloud12 pmxcfs[3424]: [libqb] error: Error in connection setup (3424-18328-33): Unknown error -1 (-1)
Jul 16 13:15:10 cloud12 pmxcfs[3424]: [ipcs] crit: connection from bad user 65534! - rejected
Jul 16 13:15:10 cloud12 pmxcfs[3424]: [libqb] error: Error in connection setup (3424-18328-33): Unknown error -1 (-1)
Jul 16 13:15:10 cloud12 pmxcfs[3424]: [ipcs] crit: connection from bad user 65534! - rejected
Jul 16 13:15:10 cloud12 pmxcfs[3424]: [libqb] error: Error in connection setup (3424-18328-33): Unknown error -1 (-1)
Jul 16 13:15:10 cloud12 pmxcfs[3424]: [ipcs] crit: connection from bad user 65534! - rejected
Jul 16 13:15:10 cloud12 pmxcfs[3424]: [libqb] error: Error in connection setup (3424-18328-33): Unknown error -1 (-1)
Jul 16 13:15:10 cloud12 pmxcfs[3424]: [ipcs] crit: connection from bad user 65534! - rejected
Jul 16 13:15:10 cloud12 pmxcfs[3424]: [libqb] error: Error in connection setup (3424-18328-33): Unknown error -1 (-1)
Jul 16 13:15:10 cloud12 pvemailforward[18328]: mail forward failed: user 'root@pam' does not have a email address
Jul 16 13:15:10 cloud12 postfix/local[18327]: 8ADE6F379: to=<root@cloud12.DOMAIN>, orig_to=<root>, relay=local, delay=0.24, delays=0.01/0/0/0.23, dsn=2.0.0, status=sent (delivered to command: /usr/bin/pvemailforward)
Jul 16 13:15:10 cloud12 postfix/qmgr[3053]: 8ADE6F379: removed

I have checked, in users.cfg, my real email address is correctly configured for user root@pam
 
Hi, please find the unique line of the file :

user:root@pam:1:0:firstname:lastname:firstname@domainename.be:::
 
I have checked, in users.cfg
mhmm is the name of the file users.cfg or user.cfg? (it has to be user.cfg)

can you check if the mail is available in the gui? (datacenter -> users -> root)
 
The name of the file is user.cfg. In the webgui, all is correct for the user root (I see my name and my email address)
 
please try the following command, it should fix the problem:
chmod g+s /usr/bin/pvemailforward

we have a fix for this on the way
 

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!