davical/config/imap_pam_conf_php.txt
Andrew McMillan 874b81c1c9 IMAP PAM authentication from Oliver Schulze
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-30 12:29:51 +13:00

12 lines
302 B
Plaintext

/**
* Authentication against IMAP using the imap_open function.
*/
$c->authenticate_hook['call'] = 'IMAP_PAM_check';
$c->authenticate_hook['config'] = array(
'imap_url' => '{localhost:993/imap/ssl/novalidate-cert}',
'email_base' => 'example.com'
);
include('drivers_imap_pam.php');