How Install Courier Authlib & Courier IMAP @ Debian 5.0 i686
Requirement
* GNU C Compiler and other small packages required
debian:~# apt-get install gcc build-essential automake autoconf autoreconf libncurses5-dev g++
COURIER AUTHLIB
Package
debian:~# wget http://nchc.dl.sourceforge.net/project/courier/authlib/0.63.0/courier-authlib-0.63.0.tar.bz2 debian:~# tar -jxvf courier-authlib-0.63.0.tar.bz2
Installation
debian:~# cd courier-authlib-0.63.0 debian:~/courier-authlib-0.63.0# ./configure --with-authshadow debian:~/courier-authlib-0.63.0# make && make install
Configuration
debian:~# cp /usr/local/etc/authlib/authdaemonrc.dist /usr/local/etc/authlib/authdaemonrc debian:~# cd /usr/lib/sasl2/ debian:~/usr/lib/sasl2# nano smtpd.conf pwcheck_method: authdaemond log_level: 3 mech_list: PLAIN LOGIN authdaemond_path:/usr/local/var/spool/authdaemon/socket
Starting Courier Authlib
debian:~# /usr/local/sbin/authdaemond start debian:~# tail -f /var/log/mail.log Mar 31 04:35:15 debian authdaemond: modules="authuserdb authpam authshadow authcustom authpipe", daemons=5 Mar 31 04:35:15 debian authdaemond: Installing libauthuserdb Mar 31 04:35:15 debian authdaemond: Installation complete: authuserdb Mar 31 04:35:15 debian authdaemond: Installing libauthpam Mar 31 04:35:15 debian authdaemond: Installation complete: authpam Mar 31 04:35:15 debian authdaemond: Installing libauthshadow Mar 31 04:35:15 debian authdaemond: Installation complete: authshadow Mar 31 04:35:15 debian authdaemond: Installing libauthcustom Mar 31 04:35:15 debian authdaemond: Installation complete: authcustom Mar 31 04:35:15 debian authdaemond: Installing libauthpipe Mar 31 04:35:15 debian authdaemond: Installation complete: authpipe
COURIER IMAP
Creating New User
debian:~# adduser ervan
Adding user `ervan' ...
Adding new group `ervan' (1005) ...
Adding new user `ervan' (1004) with group `ervan' ...
Creating home directory `/home/ervan' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for ervan
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] Y
Package
debian:~# su ervan ervan@debian:/root$ cd ervan@debian:~$ wget http://superb-sea2.dl.sourceforge.net/project/courier/imap/4.7.0/courier-imap-4.7.0.tar.bz2 ervan@debian:~$ tar -jxvf courier-imap-4.7.0.tar.bz2
Installation
ervan@debian:~$ cd courier-imap-4.7.0 ervan@debian:~$ ./configure ervan@debian:~$ exit debian:~# cd /home/ervan/ debian:~# make && make install && make install-configure
Configuration
debian:~# nano /usr/lib/courier-imap/etc/imapd #### modify these 2 lines below ### IMAP_MAILBOX_SANITY_CHECK=0 IMAPDSTART=YES
Starting Courier IMAP
debian:~# /usr/lib/courier-imap/libexec/imapd.rc start
The Test
Open your command prompt
D:\>telnet ervanmardianto.com 143 * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THRE AD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyr ight 1998-2010 Double Precision, Inc. See COPYING for distribution information. a login ervan password a OK LOGIN Ok.
Category: Linux | Tags: authlib, courier, debian, debian 5.0, i686, imap, Linux, mail server One comment »
March 31st, 2010 at 8:11 am
[...] Just a small note about my activities « How to install PHP @ Debian 5.0 i686 How Install Courier Authlib & Courier IMAP @ Debian 5.0 i686 [...]