X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/4d3d955f2791199b35704c3e9784dc99fd229696..99dbdcf461adff82b2fe68c9c9c690c4982969b1:/src/src/transport-filter.src diff --git a/src/src/transport-filter.src b/src/src/transport-filter.src index 3f250e657..db00d877f 100644 --- a/src/src/transport-filter.src +++ b/src/src/transport-filter.src @@ -13,6 +13,14 @@ use warnings; BEGIN { pop @INC if $INC[-1] eq '.' }; +use File::Basename; + +if ($ARGV[0] eq '--version') { + print basename($0) . ": $0\n", + "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n", + "perl(runtime): $]\n"; + exit 0; +} # If the filter is called with any arguments, insert them into the message # as X-Arg headers, just to verify what they are.