Problem sending mail from hardware node

monkiki

New Member
Nov 21, 2013
9
1
1
Hello,

If I send a message from a OpenVZ container, the mail reach its destination. But if I try to send it from the hardware node, it is not delivered. Seems to be bounced and delivered to command: /usr/bin/pvemailforward, which I have no idea what does with it. I send the email from the command line:

$ echo "This is only a test" | mail -s "Test email sent to external" sample@gmail.com

This also means that backup email notification are not received by me, which is quite inconvenient. This is the Postfix log:

Code:
Nov 21 22:43:55 srv01 postfix/pickup[563127]: 7062411D6685: uid=0 from=<root@hardware.node.com>Nov 21 22:43:55 srv01 postfix/cleanup[578709]: 7062411D6685: message-id=<20131121214355.7062411D6685@hardware.node.com>
Nov 21 22:43:55 srv01 postfix/qmgr[563128]: 7062411D6685: from=<root@hardware.node.com>, size=380, nrcpt=1 (queue active)
Nov 21 22:43:55 srv01 postfix/error[578711]: 7062411D6685: to=<sample@gmail.com>, relay=none, delay=0.04, delays=0.03/0/0/0.01, dsn=5.0.0, status=bounced (gmail.com)
Nov 21 22:43:55 srv01 postfix/cleanup[578709]: 761C111D6686: message-id=<20131121214355.761C111D6686@hardware.node.com>
Nov 21 22:43:55 srv01 postfix/bounce[578712]: 7062411D6685: sender non-delivery notification: 761C111D6686
Nov 21 22:43:55 srv01 postfix/qmgr[563128]: 761C111D6686: from=<>, size=2096, nrcpt=1 (queue active)
Nov 21 22:43:55 srv01 postfix/qmgr[563128]: 7062411D6685: removed
Nov 21 22:43:55 srv01 postfix/pickup[563127]: B318C11D6685: uid=65534 from=<nobody>
Nov 21 22:43:55 srv01 postfix/cleanup[578709]: B318C11D6685: message-id=<20131121214355.761C111D6686@hardware.node.com>
Nov 21 22:43:55 srv01 postfix/local[578713]: 761C111D6686: to=<root@hardware.node.com>, relay=local, delay=0.26, delays=0/0.01/0/0.25, dsn=2.0.0, status=sent (delivered to command: /usr/bin/pvemailforward)
Nov 21 22:43:55 srv01 postfix/qmgr[563128]: 761C111D6686: removed
Nov 21 22:43:55 srv01 postfix/qmgr[563128]: B318C11D6685: from=<nobody@hardware.node.com>, size=2288, nrcpt=1 (queue active)
Nov 21 22:43:55 srv01 postfix/error[578711]: B318C11D6685: to=<admin@domain.com>, relay=none, delay=0.12, delays=0.09/0/0/0.03, dsn=5.0.0, status=bounced (domain.com)
Nov 21 22:43:55 srv01 postfix/qmgr[563128]: B318C11D6685: removed
Nov 21 22:43:55 srv01 postfix/cleanup[578709]: C560E11D6686: message-id=<20131121214355.C560E11D6686@hardware.node.com>

Regards.
 
I had the same error when trying to setup my proxmox server to use a relayhost setup. I solved it by changing/adding the line myhostname= <myHostname>.<myDomainName> to /etc/postfix/main.cf. Hope this helps.
 
The problem is in /root/.forward here you can find:

|/usr/bin/pvemailforward

We have this on diferented hosts, where are installed in diferented times, but we dont know it´s Proxmox-Standard-Setting or a setting comming from OVH proxmox installation!
What this forward does? Will the mails goes in the trash? And cost this cpu time and can been better in other way to pipe to NULL interface?

Grüße

Detlef
 
  • Like
Reactions: kprox1
In the latest versions of proxmox what file can I modify with to set the email address configured here. (or what non-gui action can I take)
 

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!