Пакеты courier-imap

Courier - open-source почтовая система, умеет imap, pop3, есть агент доставки maildrop (подробнее о courier по ссылке ниже).
Т.к. в дистрибутивах CentOS/RHEL отсутствуют пакеты courier, займемся сборкой :)

Сборка courier-imap

Installing Prerequisites

 # yum groupinstall 'Development Tools'
 # yum groupinstall 'Development Libraries'
 # yum install rpm-build gcc mysql-devel openssl-devel cyrus-sasl-devel pkgconfig zlib-devel pcre-devel openldap-devel postgresql-devel expect libtool-ltdl-devel openldap-servers libtool gdbm-devel pam-devel gamin-devel

Creating A Non-Priviledged User Account

 # useradd -m -s /bin/bash falko
 # passwd falko
 # usermod -a -G wheel falko

Скачаем необходимые пакеты http://www.courier-mta.org/download.php и положим в каталог downloads.

Building courier-authlib, courier-imap, and maildrop

 # su - falko
 $ export arch=x86_64
 $ mkdir $HOME/rpm
 $ mkdir $HOME/rpm/SOURCES
 $ mkdir $HOME/rpm/SPECS
 $ mkdir $HOME/rpm/BUILD
 $ mkdir $HOME/rpm/SRPMS
 $ mkdir $HOME/rpm/RPMS
 $ mkdir $HOME/rpm/RPMS/$arch
 $ echo "%_topdir $HOME/rpm" >> $HOME/.rpmmacros
 $ rpmbuild -ta $HOME/downloads/courier-authlib-0.63.0.tar.bz2
 $ sudo rpm -ivh $HOME/rpm/RPMS/$arch/courier-authlib-0.63.0-1.x86_64.rpm  $HOME/rpm/RPMS/$arch/courier-authlib-devel-0.63.0-1.x86_64.rpm
 $ rpmbuild -ta $HOME/downloads/courier-imap-4.7.0.tar.bz2
 $ rpmbuild -ta $HOME/downloads/maildrop-2.4.3.tar.bz2
 $ ls -l $HOME/rpm/RPMS/$arch
 total 6812
 -rw-r--r-- 1 falko falko  151882 Apr  7 23:56 courier-authlib-0.63.0-1.x86_64.rpm
 -rw-r--r-- 1 falko falko  381435 Apr  7 23:56 courier-authlib-debuginfo-0.63.0-1.x86_64.rpm
 -rw-r--r-- 1 falko falko   35645 Apr  7 23:56 courier-authlib-devel-0.63.0-1.x86_64.rpm
 -rw-r--r-- 1 falko falko   18385 Apr  7 23:56 courier-authlib-ldap-0.63.0-1.x86_64.rpm
 -rw-r--r-- 1 falko falko   14508 Apr  7 23:56 courier-authlib-mysql-0.63.0-1.x86_64.rpm
 -rw-r--r-- 1 falko falko   13719 Apr  7 23:56 courier-authlib-pgsql-0.63.0-1.x86_64.rpm
 -rw-r--r-- 1 falko falko    8376 Apr  7 23:56 courier-authlib-pipe-0.63.0-1.x86_64.rpm
 -rw-r--r-- 1 falko falko   35073 Apr  7 23:56 courier-authlib-userdb-0.63.0-1.x86_64.rpm
 -rw-r--r-- 1 falko falko  760997 Apr  7 23:59 courier-imap-4.7.0-1.x86_64.rpm
 -rw-r--r-- 1 falko falko 1466278 Apr  7 23:59 courier-imap-debuginfo-4.7.0-1.x86_64.rpm
 -rw-r--r-- 1 falko falko 2183168 Apr  8 00:00 maildrop-2.4.3-1.x86_64.rpm
 -rw-r--r-- 1 falko falko 1638816 Apr  8 00:00 maildrop-debuginfo-2.4.3-1.x86_64.rpm
 -rw-r--r-- 1 falko falko  146908 Apr  8 00:00 maildrop-devel-2.4.3-1.x86_64.rpm
 -rw-r--r-- 1 falko falko   61364 Apr  8 00:00 maildrop-man-2.4.3-1.x86_64.rpm


Ссылки

Комментарии

 
blog/2011/11/18-courier_пакеты.txt · Последние изменения: 2014/10/01 11:50 — Антон Бугреев · []