X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3c4f5ec5cb933fa4f414ad5b11f7321c5e16fed6..983da87847289c7f5373e4d5933d379f211b7613:/src/src/transport-filter.src diff --git a/src/src/transport-filter.src b/src/src/transport-filter.src index 3f250e657..256bf7c39 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): $^V\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.