mwolson: Make exim use /daemon token rather than /mailfilter
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / router / 550_exim4-get_token
dissimilarity index 99%
index 03f2ea4..b297982 100644 (file)
@@ -1,11 +1,14 @@
-# hcoop-change: acquire AFS token for the user -- the condition is
-# executed for side-effects only, and nothing should ever be accepted
-# by this router
-
-get_token:
-  driver = accept
-  domains = +local_domains
-  condition = ${run{/usr/bin/pagsh.openafs -c /etc/exim4/get-token ${local_part}}{0}{0}}
-  transport = dev_null
-  no_verify
-  no_expn
+# hcoop-change: acquire AFS token for the user -- the condition
+# statement is executed for side-effects only, and nothing should ever
+# be accepted by this router
+#
+# Currently disabled in favor of getting the token during transport --
+# that is, after changing uid.
+
+# get_token:
+#   driver = accept
+#   domains = +local_domains
+#   condition = ${run{/etc/exim4/get-token ${local_part}}{0}{0}}
+#   transport = dev_null
+#   no_verify
+#   no_expn