Difference between revisions of "Dovecot"

From CBLFS
Jump to navigationJump to search
Line 53: Line 53:
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
     --localstatedir=/var \
 
     --localstatedir=/var \
     --libexecdir=/usr/lib/dovecot/exec
+
     --libexecdir=/usr/lib/dovecot/exec &&
 +
make
  
 
Install the package:
 
Install the package:
Line 69: Line 70:
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
     --libdir=/usr/lib64 --localstatedir=/var \
 
     --libdir=/usr/lib64 --localstatedir=/var \
     --libexecdir=/usr/lib64/dovecot/exec
+
     --libexecdir=/usr/lib64/dovecot/exec &&
 +
make
  
 
Install the package:
 
Install the package:

Revision as of 15:32, 31 March 2009

Download Source: http://dovecot.org/releases/1.1/dovecot-1.1.13.tar.gz

Introduction to Dovecot

Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Dovecot is an excellent choice for both small and large installations. It's fast, simple to set up, requires no special administration and it uses very little memory.

Project Homepage: http://www.dovecot.org/

Dependencies

Optional

Creating the Dovecot User & Group

groupadd -g 37 dovecot &&
useradd -c "Dovecot User" -d /dev/null \
       -u 37 -g dovecot -s /bin/false dovecot

Configuration Information

To compile OpenLDAP support pass the following to configure:

--with-ldap

To compile PostgreSQL support pass the following to configure:

--with-pgsql

To compile MySQL support pass the following to configure:

--with-mysql

To compile SQLite3 support pass the following to configure:

--with-sqlite

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var \
    --libexecdir=/usr/lib/dovecot/exec &&
make

Install the package:

make install

Multilib

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 --localstatedir=/var \
    --libexecdir=/usr/lib64/dovecot/exec &&
make

Install the package:

make install

Configuring