Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/vexim-mysql/clients/ drwxr-xr-x |
Viewing file: Select action/file-type: Installing Courier-IMAP 2.x on FreeBSD: * We are going to be performing configuration for both IMAP and POP3 below. If you'd like to not run one of these two daemons, you can simply ignore the steps for its configuration file. cd /usr/ports/mail/courier-imap && make -DWITH_MYSQL install clean cd /usr/local/etc/courier-imap/ cp imapd.dist imapd vi imapd Now, replace the following lines: > Replace: AUTHMODULES="authdaemon" > with: AUTHMODULES="authmysql" AND: > Replace: AUTHMODULES_ORIG="authdaemon" > with: AUTHMODULES_ORIG="" Make the same changes to the pop3d.dist file, after copying it to pop3d. Now create a file in that directory called authmysqlrc, with the following contents: MYSQL_SERVER localhost MYSQL_USERNAME vexim MYSQL_PASSWORD change MYSQL_SOCKET /tmp/mysql.sock MYSQL_PORT 3306 MYSQL_OPT 0 MYSQL_DATABASE vexim MYSQL_USER_TABLE users MYSQL_CRYPT_PWFIELD crypt MYSQL_UID_FIELD uid MYSQL_GID_FIELD gid MYSQL_LOGIN_FIELD username MYSQL_HOME_FIELD pop MYSQL_NAME_FIELD realname Finally, perform these steps to move the startup scripts into place, and start the daemons: cd /usr/local/etc/rc.d mv imapd.sh.dist imapd.sh mv pop3d.sh.dist pop3d.sh /usr/local/etc/rc.d/imapd.sh start /usr/local/etc/rc.d/pop3d.sh start |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0171 ]-- |