You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

关于Ubuntu 22.04中DKIMproxy包缺失及获取方式的咨询

关于Ubuntu 22.04中DKIMproxy包缺失及获取方式的咨询

Hey there! Let me walk you through what's happening with dkimproxy in Ubuntu 22.04 and how you can get it (or a better alternative) set up.

Why dkimproxy is gone from Ubuntu 22.04

DKIMproxy was actually removed from official Ubuntu repositories starting with Ubuntu 20.04 (Focal Fossa), not just 22.04. The core reason is that it's an unmaintained project—development has been stagnant for years, and it no longer receives security updates or bug fixes. Ubuntu's packaging team prunes such packages to keep the repositories focused on software that's actively supported and secure for users.

How to get dkimproxy (if you really need it)

If you have a specific reason to stick with dkimproxy instead of switching to a modern alternative, you can grab the package from the Ubuntu 18.04 (Bionic Beaver) repositories. Just note that installing an unmaintained package on a newer system carries risks like dependency conflicts or unpatched security vulnerabilities. Here's how to do it safely:

  • Temporarily add the Bionic repo to your sources:
    echo "deb http://archive.ubuntu.com/ubuntu bionic main universe" | sudo tee /etc/apt/sources.list.d/bionic-temp.list
    
  • Update your package index:
    sudo apt update
    
  • Download the dkimproxy package without installing it right away:
    sudo apt download dkimproxy
    
  • Remove the temporary Bionic repo to avoid mixing package versions:
    sudo rm /etc/apt/sources.list.d/bionic-temp.list
    
  • Install the downloaded DEB package:
    sudo dpkg -i dkimproxy*.deb
    
    If you hit dependency errors, you might need to manually install missing dependencies from Bionic—but I don't recommend this for production servers, as it can break system stability.

Since dkimproxy is unmaintained, using an actively supported tool is a smarter choice for your mail server. Two great options are:

  • OpenDKIM: This is the most widely used DKIM implementation, fully supported in Ubuntu 22.04's official repos. Install it with:
    sudo apt install opendkim opendkim-tools
    
    It integrates seamlessly with Postfix and has tons of up-to-date documentation to help you set it up correctly.
  • DKIMproxy-milter: A maintained fork of dkimproxy. It's not in Ubuntu's official repos, but you can build it from source. You'll need basic development tools first—install them with:
    sudo apt install git make perl libio-socket-ssl-perl libmail-dkim-perl libnet-server-perl
    
    Then you can fetch the source code and build it following the project's instructions (a quick search will point you in the right direction).

If you're running a production mail server, I can't stress enough how much better OpenDKIM is for long-term security and stability. But if you absolutely need dkimproxy, the Bionic package route works—just proceed with caution.

备注:内容来源于stack exchange,提问作者Thomas Aichinger

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 16:28:17