2 # Get an AFS token for the given user.
4 # This is used to deliver mail with the appropriate credentials.
6 touch /tmp
/get-token-was-called
9 exec >& /tmp
/get-token-log
11 echo ==============================================================================
12 echo invoked
: get-token $@
13 echo userid
: `who am i`
16 export KRB5CCNAME
=FILE
:/tmp
/krb5cc_
$USER.email
20 KEYTAB
=/etc
/keytabs
/email
/$USER.email.keytab
21 echo kinit
-kt $KEYTAB $USER/mailfilter@HCOOP.NET
22 kinit
-kt $KEYTAB $USER/mailfilter@HCOOP.NET
25 echo ..............................................................................