Install Proxmox Mail gateway on Debian 12

HI,
Thanks for the reply I follow your link but I am getting following error

root@proxmoxmail:~# apt install proxmox-mailgateway
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
exim4-config : Conflicts: postfix but 3.7.10-0+deb12u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
HI,
Thanks for the reply I follow your link but I am getting following error

root@proxmoxmail:~# apt install proxmox-mailgateway
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
exim4-config : Conflicts: postfix but 3.7.10-0+deb12u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Did you adapt the package repositories and upgraded the packages to the latest versions before trying to install the proxmox-mail-gateway? Run an apt update && apt dist-upgrade after setting the correct repositories.
 
Also, remove possible conflicting packages beforehand (seems like exim4 is installed and causes dependency issues).
 
Yes I adapt the package repositories and upgraded the packages to the latest versions, because it is not allowing me to install the proxmox-mail-gateway so i run the "apt upgrade"

I already run the "apt update && apt dist-upgrade" but getting same error
I reinstall debin 12 on digital ocean and getting same error

attache the file
 

Attachments

Yes I adapt the package repositories and upgraded the packages to the latest versions, because it is not allowing me to install the proxmox-mail-gateway so i run the "apt upgrade"

I already run the "apt update && apt dist-upgrade" but getting same error
I reinstall debin 12 on digital ocean and getting same error

attache the file
Yes, you still have the conflicting exim4-config package installed. Proxmox Mail Gateway uses postfix, which is in conflict with this. Remove the exim4-config package via apt remove exim4-config first.
 
Yes, you still have the conflicting exim4-config package installed. Proxmox Mail Gateway uses postfix, which is in conflict with this. Remove the exim4-config package via apt remove exim4-config first.
Yes it's working now. I am installing proxmox mail gateway got new errors

Errors were encountered while processing:
postfix
ifupdown2
pmg-api
proxmox-mailgateway
E: Sub-process /usr/bin/dpkg returned an error code (1)
 

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!