qmail本体のインストール
本体ソースをゲット
apt-get install qmail-src
コンパイル
cd /usr/src/qmail-src build-qmail
コンパイル開始後は
debian:/usr/src# build-qmail
This script unpacks the qmail source into a directory, and compiles it to produce a binary qmail*.deb file.
The directory where this is done will end up containing the source and package files for the qmail binary package, along with a directory containing the unpacked source.
Enter a directory where you would like to do this [/tmp/qmail] /usr/src/qmail dpkg-source: extracting qmail in qmail-1.03
dpkg-source: extracting qmail in qmail-1.03
Binary package qmail will be compiled now If you want to apply a custom patch, switch to another console and do it now This can take long time, depending on your machine
Press ENTER to continue...
Do you want to remove all files in /usr/src/qmail, except qmail_1.03-24_i386.deb now? [Yn] n
Do you want to install qmail_1.03-24_i386.deb now? [Yn] (データベースを読み込んでいます... 現在 42761 個のファイルとディレクトリがインストールされています。) qmail 1.03-24 を(qmail_1.03-24_i386.deb で)置換するための準備をしています... Stopping mail-transfer agent: qmail. Performing upgrade You are upgrading from version 1.03 Checking control files ... Control files installed in /etc/qmail Checking alias files location ... qmail を展開し、置換しています... qmail (1.03-24) を設定しています ... Starting mail-transfer agent: qmail.
Do you want to purge qmail-src now? [yN]
Remember that you can install qmail_1.03-24_i386.deb on other computers so you don't need to compile it again.
Don't forget to setup a /etc/qmail/rcpthosts file to prevent open relaying!
Good luck!
インストール
dpkg -i /usr/src/ucspi-tcp/ucspi-tcp_0.88-5_i386.deb dpkg -i /usr/src/qmail/qmail_1.03-24_i386.deb