티스토리 뷰

IT/OS

Ubuntu Qmail HOWTO

NineKY 2007. 7. 6. 17:09

Paralipsis

paralipsis: suggesting by deliberately concise treatment that much of significance is omitted

 

http://www.paralipsis.org/2006/03/ubuntu-qmail-howto/

 

Ubuntu Qmail HOWTO

Ubuntu used to have the qmail-src package available in the multiverse collection, however due to the lack of attention by whomever monitors the build reports, breezy doesn’t have the package availble to it. However, since the debian package is an all-platform package, one can simply use it to get where you need to go. The process is easy (once you’ve figured it the hell out).

  1. download the Debian stable .debs for qmail-src and ucspi-tcp to your ubuntu system
  2. use dpkg to install them manually
  3. run build-ucspi-tcp
  4. run build-qmail
  5. (optional) apply patches

First, you need to fetch the .debs for qmail-src and ucspi-tcp-src from the debian-stable distribution. Use the architecture all link at the bottom to find and download the .deb from any mirror. Save each file on the target system.

 

------------------------------------------------------------------------------

  • wget (...) ucspi-tcp/ucspi-tcp-src_0.88-9_all.deb
  • wget (...) qmail/qmail-src_1.03-38_all.deb

------------------------------------------------------------------------------

 

Next, use the dpkg command to install them. I used the following commands:

 

------------------------------------------------------------------------------

  • sudo dpkg -i ./ucspi-tcp-src_0.88-9_all.deb
  • sudo dpkg -i ./qmail-src_1.03-38_all.deb

------------------------------------------------------------------------------

 

Now, build ucspi, letting it be installed. I usually purge the installer package as it’s not needed anymore:

 

------------------------------------------------------------------------------

  • build-ucspi-tcp

------------------------------------------------------------------------------

 

Then, build the qmail package:

 

------------------------------------------------------------------------------

  • build-qmail

------------------------------------------------------------------------------

 

When I build, I install this patch I made which is a version of the qmail-spp patch modified to work against the debian patched source tree. To apply it, all you need to do is download it and run the following:

 

------------------------------------------------------------------------------

  • cd /tmp/qmail/qmail-1.03
  • patch -p 1 ~/debian-qmail-src-to-qmail-spp.patch

------------------------------------------------------------------------------

 

That’s it!

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함