updated for latest kopano version
This commit is contained in:
parent
f6021cecbb
commit
197ecbb5b1
5 changed files with 27 additions and 30 deletions
18
README.md
18
README.md
|
|
@ -1,8 +1,8 @@
|
|||
# SMTP Authentication Sync
|
||||
|
||||
This is a small daemon to sync Zarafa/Kopano users and passwords to an authentication file which can be used by OpenSMTPD.
|
||||
This is a small daemon to sync Kopano users and passwords to an authentication file which can be used by OpenSMTPD.
|
||||
|
||||
Any successful login or password change will be synced to this file.
|
||||
Any successful webapp login will be synced to this file.
|
||||
The passwords are stored as Bcrypt hashes generated by `smtpctl encrypt`.
|
||||
|
||||
## Install
|
||||
|
|
@ -45,21 +45,19 @@ table secrets file:/etc/mail/secrets
|
|||
listen on egress port 587 smtps pki mx.example.com auth <secrets>
|
||||
```
|
||||
|
||||
## Zarafa/Kopano Password Change Plugin
|
||||
## Kopano Authentication Class Patch
|
||||
|
||||
Plugin (version 1.3): https://github.com/silentsakky/zarafa-webapp-passwd
|
||||
|
||||
Apply this patch to send changed passwords to `smtp_auth_sync`:
|
||||
Apply this patch to send passwords to `smtp_auth_sync` after a successful login:
|
||||
|
||||
Depending on your setup you may need to change `"/run/smtp_auth_sync.sock"` to the appropriate socket path inside your chroot.
|
||||
|
||||
```
|
||||
# Default path on OpenBSD
|
||||
cd /var/www/kopano-webapp/plugins/passwd/php
|
||||
cd /var/www/kopano-webapp/server/includes/core
|
||||
|
||||
ftp -o class.passwdmodule.php.patch https://git.giftfish.de/ston1th/smtp_auth_sync/raw/branch/master/class.passwdmodule.php.patch
|
||||
ftp -o class.webappauthentication.php.patch https://git.giftfish.de/ston1th/smtp_auth_sync/raw/branch/master/class.webappauthentication.php.patch
|
||||
|
||||
patch -p0 <class.passwdmodule.php.patch
|
||||
patch -p0 <class.webappauthentication.php.patch
|
||||
|
||||
rm class.passwdmodule.php.orig class.passwdmodule.php.patch
|
||||
rm class.webappauthentication.php.orig class.webappauthentication.php.patch
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue