tomclegg.net


Diary
Examples
Hire Tom
Mostly Mozart
Patches
School
Scrapbook
Software
    allaboutme
    byteswap
    checksocks
    djbdns-ipv6
    dsprec
    fresnel
    fresnel
    logger
  >mail-transport-agent<
    maildirpop3d
    mp3cat
    qmail-bmf-wildcard
    rawrms
    stationbreak
Telephones




colocation
comments
davidireland
edsgranola
faq
funsites
goodlooking
goodmovies
google-earth-saucy-amd64
houserules
liberating
resume
resume2
scratch
shopping
snacks
todo
university
warisbogus

mail-transport-agent
Posted December 12, 2008

Here's a debian package for convincing apt that you have a mail transport agent. I built it on intrepid. I know it works on hardy. It should work on any version/architecture.

cd /tmp
wget http://tomclegg.net/software/mta-manually-installed_1.0_all.deb
sudo dpkg -i mta-manually-installed_1.0_all.deb

How to build it yourself

First install equivs and remove exim if apt sneaks it in along with the real dependencies. (!)

sudo apt-get install equivs
sudo apt-get remove exim4 exim4-daemon-light exim4-base exim4-config

Create a deb file and edit it to suit.

equivs-control mta-manually-installed
emacs mta-manually-installed

Mine looks like this.

Section: misc
Priority: optional
Standards-Version: 3.6.2

Package: mta-manually-installed
Provides: mail-transport-agent
Description: prevent apt from trying to install a mail-transport-agent

Build the .deb package.

equivs-build mta-manually-installed

Install the resulting package.

sudo dpkg -i mta-manually-installed_1.0_all.deb