add sendmail ou bind

this will be used by haraka to authenticate the apps
This commit is contained in:
Girish Ramakrishnan
2016-05-05 00:26:40 -07:00
parent 9d9bd42cd2
commit b46008f0b1
+7
View File
@@ -134,6 +134,13 @@ function start(callback) {
});
});
// this is the bind for the mail addon to authorize apps
gServer.bind('ou=sendmail,dc=cloudron', function(req, res, next) {
// TODO: validate password
debug('application bind: %s', req.dn.toString());
res.end();
});
gServer.bind('ou=apps,dc=cloudron', function(req, res, next) {
// TODO: validate password
debug('application bind: %s', req.dn.toString());