X-Git-Url: https://git.hcoop.net/hcoop/zz_old/config/exim4-hopper.git/blobdiff_plain/d2b0a5673bd9cea2df559aca7295fa4586fdaebd..cf08a29f540f05d65ee766cbae281b739d46f2fe:/conf.d/router/600_exim4-config_userforward diff --git a/conf.d/router/600_exim4-config_userforward b/conf.d/router/600_exim4-config_userforward index 59259ca..61ae035 100644 --- a/conf.d/router/600_exim4-config_userforward +++ b/conf.d/router/600_exim4-config_userforward @@ -19,6 +19,7 @@ # forwarding generates a direct delivery to a directory, or a file, or to a # pipe, or sets up an auto-reply, respectively. # +# hcoop-change: acquire AFS token for the user userforward: debug_print = "R: userforward for $local_part@$domain" driver = redirect @@ -26,6 +27,7 @@ userforward: check_local_user file = $home/.forward require_files = $local_part:$home/.forward + condition = ${run{/usr/bin/pagsh.openafs -c /etc/exim4/get-token ${local_part}}{1}{0}} no_verify no_expn check_ancestor