Line 2: |
Line 2: |
| = [[#___top|NAME]] = | | = [[#___top|NAME]] = |
| | | |
− | authdeny
| + | auth_flat_file - simple CRAM MD5 auth plugin using a flat password file |
| | | |
| = [[#___top|SYNOPSIS]] = | | = [[#___top|SYNOPSIS]] = |
| | | |
− | This plugin doesn't actually check anything and will fail any user no matter what they type. It is strictly a proof of concept for the Qpsmtpd::Auth module. Don't run this in production!!!
| + | in config/plugins: |
| | | |
− | <!-- Generated Mon Apr 8 09:23:09 EDT 2019 using | + | <pre> auth/auth_flat_file</pre> |
− | perldoc -T -ohtml $plugins/$1 \|pandoc -f html -t mediawiki \|sed '1 i\\n\n\n<span id="_top">[[Qpsmtpd#Plugins]]</span>' \|sed -e 's#</d.>##'
| + | in config/flat_auth_pw |
− | -->
| + | |
− | ----
| + | <pre> username1:password1 |
− | [[Category:Qpsmtpd|auth/authdeny]] | + | username2:password2 |
− | [root@office qpsmtpd]# qpdoc.sh uth/auth_flat_file
| + | ...</pre> |
− | /root/bin/qpdoc.sh: line 5: die: command not found
| + | = [[#___top|DESCRIPTION]] = |
− | No documentation found for "/usr/share/qpsmtpd/plugins/uth/auth_flat_file".
| |
| | | |
| + | 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. |
| | | |
− | <span id="_top">[[Qpsmtpd#Plugins]]</span>
| + | The password is stored on disk unencrypted, however authentication uses a HMAC algorithm so no password is transfered in the clear. |
| | | |
− | <!-- Generated Mon Apr 8 09:24:03 EDT 2019 using | + | <!-- Generated Mon Apr 8 09:24:49 EDT 2019 using |
| perldoc -T -ohtml $plugins/$1 \|pandoc -f html -t mediawiki \|sed '1 i\\n\n\n<span id="_top">[[Qpsmtpd#Plugins]]</span>' \|sed -e 's#</d.>##' | | perldoc -T -ohtml $plugins/$1 \|pandoc -f html -t mediawiki \|sed '1 i\\n\n\n<span id="_top">[[Qpsmtpd#Plugins]]</span>' \|sed -e 's#</d.>##' |
| --> | | --> |
| ---- | | ---- |
− | [[Category:Qpsmtpd|uth/auth_flat_file]] | + | [[Category:Qpsmtpd|auth/auth_flat_file]] |