Skip to content

Instantly share code, notes, and snippets.

@Eugeny
Created March 23, 2014 18:07
Show Gist options
  • Save Eugeny/9727039 to your computer and use it in GitHub Desktop.
Save Eugeny/9727039 to your computer and use it in GitHub Desktop.
authmodulelist="authuserdb authpam"
daemons=5
authdaemonvar=/var/spool/authdaemon/socket
DEBUG_LOGIN=0
DEFAULTOPTIONS=""
begin authenticators
login_courier_authdaemon:
driver = plaintext
public_name = LOGIN
server_prompts = Username:: : Password::
server_condition = ${extract {ADDRESS} {${readsocket{/var/spool/authdaemon/socket} {AUTH ${strlen:exim\nlogin\n$auth1\n$auth2\n}\nexim\nlogin\n$auth1\n$auth2\n} }} {yes} fail}
server_set_id = $auth1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment