Qpsmtpd:auth/auth flat file

From SME Server
Revision as of 14:25, 8 April 2019 by Mmccarn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Qpsmtpd#Plugins

NAME

auth_flat_file - simple CRAM MD5 auth plugin using a flat password file

SYNOPSIS

in config/plugins:

  auth/auth_flat_file

in config/flat_auth_pw

  username1:password1
  username2:password2
  ...

DESCRIPTION

This plugin implements a very simple authentication plugin using a flat password file containing username and password separated by colons.

Note that this plugin enforces the use of a full email address (including @domain) as the username. There's no particular reason for this so feel free to modify the code to suit your setup.

The password is stored on disk unencrypted, however authentication uses a HMAC algorithm so no password is transfered in the clear.