summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/exim/files/auth_conf.sub')
-rw-r--r--net-mail/exim/files/auth_conf.sub22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-mail/exim/files/auth_conf.sub b/net-mail/exim/files/auth_conf.sub
new file mode 100644
index 000000000000..7f413d3249e8
--- /dev/null
+++ b/net-mail/exim/files/auth_conf.sub
@@ -0,0 +1,22 @@
+######################################################################
+# AUTHENTICATION CONFIGURATION #
+######################################################################
+# If you're using PAM to authenticate, lifes real simple.
+# This plain directive works for nearly everything except windows MUA's the
+# login directive will allow you to authenticate your Outlook 2000 and
+# outlook express clients.
+
+
+
+plain:
+ driver = plaintext
+ public_name = PLAIN
+ server_condition = "${if pam{$2:$3}{1}{0}}"
+ server_set_id = $2
+
+login:
+ driver = plaintext
+ public_name = LOGIN
+ server_prompts = "Username:: : Password::"
+ server_condition = "${if pam{$1:$2}{1}{0}}"
+ server_set_id = $1