Difference between revisions of "Courier-Authlib"
From CBLFS
Jump to navigationJump to search (→Configuring) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 46: | Line 46: | ||
== Configuring == | == Configuring == | ||
− | + | <pre> | |
− | cat > rc.d/init.d/authdaemond << "EOF" | + | cat > /etc/rc.d/init.d/authdaemond << "EOF" |
#!/bin/sh | #!/bin/sh | ||
# Begin $rc_base/init.d/authdaemond | # Begin $rc_base/init.d/authdaemond | ||
# Based on sysklogd script from LFS-3.1 and earlier. | # Based on sysklogd script from LFS-3.1 and earlier. | ||
− | |||
#$LastChangedBy: zippo | #$LastChangedBy: zippo | ||
#$Date: 2009-04-30 15:31:59 | #$Date: 2009-04-30 15:31:59 | ||
− | . /etc/sysconfig/rc | + | . /etc/sysconfig/rc |
− | . $rc_functions | + | . $rc_functions |
case "$1" in | case "$1" in | ||
− | + | start) | |
− | + | boot_mesg "Starting AUTHDAEMOND Server..." | |
− | + | /usr/sbin/authdaemond start | |
− | + | evaluate_retval | |
− | + | ;; | |
− | + | stop) | |
− | + | boot_mesg "Stopping AUTHDAEMONF Server..." | |
− | + | /usr/sbin/authdaemond stop | |
− | + | evaluate_retval | |
− | + | ;; | |
− | + | reload) | |
− | + | boot_mesg "Reloading AUTHDAEMOND Server..." | |
− | + | /usr/sbin/authdaemond restart | |
− | + | evaluate_retval | |
− | + | ;; | |
− | + | restart) | |
− | + | $0 stop | |
− | + | sleep 1 | |
− | + | $0 start | |
− | + | ;; | |
− | + | *) | |
− | + | echo "Usage: $0 {start|stop|reload|restart}" | |
− | + | exit 1 | |
− | + | ;; | |
esac | esac | ||
# End $rc_base/init.d/authdaemond | # End $rc_base/init.d/authdaemond | ||
EOF | EOF | ||
− | + | chmod +x /etc/rc.d/init.d/authdaemond | |
− | + | </pre> | |
Latest revision as of 13:56, 9 November 2009
Download Source: | http://prdownloads.sourceforge.net/courier/courier-authlib-0.62.2.tar.bz2 |
---|
Contents
Introduction to Courier-Authlib
Courier's mail server authorization library.
Project Homepage: Unknown
Creating the courier User & Group
groupadd -g 35 courier && useradd -c "Courier Daemon User" -d /dev/null \ -u 35 -g courier -s /bin/false courier
Dependencies
Required
Non-Multilib
Compile the package:
./configure --prefix=/usr --libexecdir=/usr/sbin \ --sysconfdir=/etc/courier/authlib --with-mailuser=courier \ --with-mailgroup=courier make
Install the package:
make install make install-configure
Multilib
32Bit
N32
64Bit
Configuring
cat > /etc/rc.d/init.d/authdaemond << "EOF" #!/bin/sh # Begin $rc_base/init.d/authdaemond # Based on sysklogd script from LFS-3.1 and earlier. #$LastChangedBy: zippo #$Date: 2009-04-30 15:31:59 . /etc/sysconfig/rc . $rc_functions case "$1" in start) boot_mesg "Starting AUTHDAEMOND Server..." /usr/sbin/authdaemond start evaluate_retval ;; stop) boot_mesg "Stopping AUTHDAEMONF Server..." /usr/sbin/authdaemond stop evaluate_retval ;; reload) boot_mesg "Reloading AUTHDAEMOND Server..." /usr/sbin/authdaemond restart evaluate_retval ;; restart) $0 stop sleep 1 $0 start ;; *) echo "Usage: $0 {start|stop|reload|restart}" exit 1 ;; esac # End $rc_base/init.d/authdaemond EOF chmod +x /etc/rc.d/init.d/authdaemond
Installed Directories: | /etc/courier,/etc/courier/authlib,/usr/lib/courier-authlib,/usr/sbin/courier-authlib |
---|---|
Installed Programs: | courierauthconfig,authdaemond,authpasswd,makedatprog,authsystem.passwd,authenumerate,userdbpw,pw2userdb,
authtest,userdb,vchkpw2userdb,courierlogger,makeuserdb,userdb-test-cram-md5 |
Installed Libraries: | libauthcustom.so,libauthpipe.so,libauthpam.so,libauthuserdb.so,libcourierauth.so,
libcourierauthsaslclient.so,libauthpipe.so,libcourierauthsasl.so,libcourierauth.so, libcourierauthcommon.so,libauthcustom.so,libauthldap.so,libauthldap.so,libauthmysql.so, libauthmysql.so,libcourierauthcommon.so,libcourierauthsaslclient.so,libauthuserdb.so, libauthpam.so,libcourierauthsasl.so |