Thursday, March 13, 2008

installing qmail on debian/sid and ubuntu


$wget http://ftp.fr.debian.org/debian/pool/non-free/q/qmail/qmail-src_1.03-45_all.deb
$wget http://ftp.is.debian.org/debian/pool/non-free/u/ucspi-tcp/ucspi-tcp-src_0.88-10_all.deb

$sudo dpkg -i qmail-src_1.03-45_all.deb
$sudo dpkg -i ucspi-tcp-src_0.88-10_all.deb


$build-ucspi-tcp
$build-qmail


create an maildir for home

$maildirmake $HOME/Maildir

$echo ./Maildir/ > ~/.qmail


vi /etc/init.d/qmail


de comment the line with

alias_empty="./Maildir/"
and comment the one with

#alias_empty="|/usr/sbin/qmail-procmail"

restart qmail and then you can start sending emails (telnet localhost 25)

No comments: