Install Proxmox Mail gateway on Debian 12

mazaamahesh

New Member
May 28, 2024
29
2
3
India
HI,

Can i install Proxmox Mail gateway on Debian 12 with DigitalOcean, Currently I am using on my VM on my testing server.
 
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)
 
Dear Chris,
Thanks for your support I am able to install proxmox mail gateway on digital ocean vm. thanks again.
 
Last edited: