#!/bin/bash # Get an AFS token for the given user. # # This is used to deliver mail with the appropriate credentials. USER=$1 export KRB5CCNAME=FILE:/tmp/krb5cc_$USER.email kdestroy unlog KEYTAB=/etc/keytabs/mailfilter/$USER echo kinit -kt $KEYTAB $USER/mailfilter@HCOOP.NET kinit -kt $KEYTAB $USER/mailfilter@HCOOP.NET aklog