/codiad-imap_auth

[ Deprecated ] - Codiad External Authentication via IMAP

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

#Codiad-IMAP_Auth Codiad External Authentication via IMAP Mirrors - [ GitLab | Bitbucket | Github ]

Based off: Codiad-LDAPExternalAuth, HTTP Authentication for Codiad and auth_rcmail - [ (GitHub) | (GitLab) ]

NOTE: Requires php-imap:

apt-get install php5-imap
php5enmod imap

Installation instructions sourced from here

Instalation

  1. Download imap_auth.php:

     wget https://gitlab.com/dugite-code/codiad-imap_auth/raw/master/imap_auth.php
    
  2. Copy to the root Codiad directory:

     cp ./imap_auth.php /var/www/Codiad/
    
  3. Edit the configuration portion of imap_auth.php to match your email server requirements.

     $IMAP_AUTH_SERVER = 'your.imap.server:port';
    
     $IMAP_AUTH_OPTIONS = '/tls/norsh';
    

    See http://php.net/manual/ru/function.imap-open.php for full options list.

  4. Add the path to the Codiad config.php:

     nano /var/www/Codiad/config.php
    
     define("AUTH_PATH", BASE_PATH . "/imap_auth.php");
    

Buy me a Beer

Bitcoin Litecoin

image

image

Bitcoin Address: 155xGQ2sPt2BAbmLUp5myyfjLmAm3c8pPP Litecoin Address: LNiBt4ksgDgTqGq4BYcLS8vtNkdn1Lrmmh

Website: PeekRead.Info