HCoop
/
hcoop
/
zz_old
/
config
/
exim4-hopper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mwolson: First attempt at delivering to AFS
[hcoop/zz_old/config/exim4-hopper.git]
/
get-token
diff --git a/get-token
b/get-token
new file mode 100755
(executable)
index 0000000..
3000e7d
--- /dev/null
+++ b/
get-token
@@ -0,0
+1,8
@@
+# Get an AFS token for the given user.
+#
+# This is used to deliver mail with the appropriate credentials.
+
+KRB5CCNAME=FILE:/tmp/krb5cc_$1.email
+
+kinit -kt /etc/keytabs/$1.email.keytab
+aklog