1# Separate username and password lookup23auth.plain_separate module implements authentication using username:password pairs but can4use zero or more "table modules" (maddy-tables(5)) and one or more5authentication providers to verify credentials.67```8auth.plain_separate {9 user ...10 user ...11 ...12 pass ...13 pass ...14 ...15}16```1718How it works:19- Initial username input is normalized using PRECIS UsernameCaseMapped profile.20- Each table specified with the 'user' directive looked up using normalized21 username. If match is not found in any table, authentication fails.22- Each authentication provider specified with the 'pass' directive is tried.23 If authentication with all providers fails - an error is returned.2425## Configuration directives2627### user _table-module_2829Configuration block for any module from maddy-tables(5) can be used here.3031Example:3233```34user file /etc/maddy/allowed_users35```3637---3839### pass _auth-provider_4041Configuration block for any auth. provider module can be used here, even42'plain_split' itself.4344The used auth. provider must provide username:password pair-based45authentication.