Giter Club home page Giter Club logo

domino-nginx-auth's Introduction

domino-nginx-auth

Nginx auth_http servlet for IBM Domino Servers

This project contains an OSGi servlet that implements the NGINX auth protocol to validate SMTP credentials when using nginx as a mail proxy in front of Domino.

Installation

Create and register an Eclipse Update Site database on your Domino server (detailed description from IBM).

Next import the binary release of this project (or build your own from source code) and restart the http server task with restart task http.

Configuration

The servlet expects a set of Notes.ini variables on the server to configure its behavior:

# REQUIRED: comma separated list of mail domains that are considered as local (used when receiving data via SMTP from external hosts)
$NGINXAUTH_LOCALDOMAINS=mymaildomain.com,mymaildomain.de
# OPTIONAL: the UO address that nginx should use to connect to Domino's SMTP task (if missing we pick the first local IP we can find)
$NGINXAUTH_PUBLICIP=1.2.3.4
# OPTIONAL: writes debug messages for each SMTP connection to the server console (false by default)
$NGINXAUTH_DEBUG=true
# OPTIONAL: switch to disable the servlet (true by default)
$NGINXAUTH_ENABLED=true
# OPTIONAL: name of HTTP header with secret value to send back; use nginx switch auth_http_header to validate
$NGINXAUTH_AUTHKEY_HEADER=X-NGX-Auth-Key
# OPTIONAL: secret value of HTTP header with secret value to send back; use nginx switch auth_http_header to validate
$NGINXAUTH_AUTHKEY_VALUE=81jbdvdl
# OPTIONAL: number of seconds to wait when receiving wrong SMTP credentials
$NGINXAUTH_WAITONERROR=3

Licence

The code is available under Apache 2.0 license.

Copyright by Mindoo GmbH

domino-nginx-auth's People

Contributors

klehmann avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.