Problem with send emails

Apr 9, 2021
12
0
6
27
Hi

I have one Proxmox 5.1-4. It is running as Hyper-V virtual machine. I have just installed all the available updates.
I have a problem with sending e-mails to certain recipients. I get a message in the syslog "lost connection with dns_name[IP] while sending DATA command".
What can I do with this problem?
Best regards

Tom
 
This would sound like a network issue (the connection got interrupted) - but maybe the complete logs for the mails could provide more insight

PMG 5.x is EOL since more than 1.5 years - please upgrade to the latest available version (currently 6.4)

I hope this helps!
 
When I click button Upgrade via the GUI I received info

Starting system upgrade: apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Your System is up-to-date

Best regards
Tom
 
you need to click 'Refresh' first (corresponding to `apt update`)
 
I add this repository
deb https://enterprise.proxmox.com/debian/pmg stretch pmg-enterprise
and receive error

Err:9 https://enterprise.proxmox.com/debian/pmg buster/pmg-enterprise amd64 Packages
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Ign:10 https://enterprise.proxmox.com/debian/pmg buster/pmg-enterprise all Packages
Ign:11 https://enterprise.proxmox.com/debian/pmg buster/pmg-enterprise Translation-en
Reading package lists...
W: The repository 'https://enterprise.proxmox.com/debian/pmg buster Release' does not have a Release file.
E: Failed to fetch https://enterprise.proxmox.com/debian/pmg/dists/buster/pmg-enterprise/binary-amd64/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
E: Some index files failed to download. They have been ignored, or old ones used instead.
TASK ERROR: command 'apt-get update' failed: exit code 100
 
this is wrong - you have a system based on debian buster (10.X) not debian stretch (9.X)

server certificate verification failed.
This is odd - seems you have a https-proxy in between your system and enterprise.proxmox.com or something else is not right with the certificate-store on your system - configure your system to directly reach enterprise.proxmox.com directly (or to trust the CA of your proxy.

You can verify this by running `curl https://enterprise.proxmox.com` - this should not return an error

else - check your complete apt sources.list setup:
Code:
grep '' /etc/apt/sources.list
grep '' /etc/apt/sources.list.d/*

and compare it to the files in the reference documentation:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmg_package_repositories
 
Hi
If I run this command curl https://enterprise.proxmox.com
I receive this
curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.

I run with -k parameter and receive this

root@pmx1:~# curl https://enterprise.proxmox.com -k
<html>
<head><title>Index of /</title></head>
<body bgcolor="white">
<h1>Index of /</h1><hr><pre><a href="../">../</a>
<a href="debian/">debian/</a> 14-Dec-2020 19:10 -
</pre><hr></body>
</html>
 
After restart I cannot log in to web portal.

What were the error -messages? - did you check the journal of PMG after booting up? did you follow the wiki-instructions for upgrading from PMG 5.x to 6.X?
 
I have problem with update antywirus signature:

ClamAV update process started at Wed Apr 21 19:34:16 2021
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.102.4 Recommended version: 0.103.2
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
daily database available for update (local version: 25840, remote version: 26147)
WARNING: Download failed (60) WARNING: Message: Peer certificate cannot be authenticated with given CA certificates
WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Trying again in 5 secs.
 

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!