X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/4d3d955f2791199b35704c3e9784dc99fd229696..f2738aab2d72569b6d47b788099f6ebab701b2b2:/src/src/exinext.src diff --git a/src/src/exinext.src b/src/src/exinext.src index 9c427350b..882ad5f60 100644 --- a/src/src/exinext.src +++ b/src/src/exinext.src @@ -1,5 +1,6 @@ #! /bin/sh +# Copyright (c) The Exim Maintainers 2023 # Copyright (c) University of Cambridge, 1995 - 2007 # See the file NOTICE for conditions of use and distribution. @@ -25,6 +26,13 @@ config= eximmacdef= exim_path= +if [ "x$1" = x--version -o "x$1" = x-v ] +then + echo "`basename $0`: $0" + echo "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION" + exit 0 +fi + if expr -- $1 : '\-' >/dev/null ; then while expr -- $1 : '\-' >/dev/null ; do if [ "$1" = "-C" ]; then @@ -155,6 +163,7 @@ perl - $exim_path "$eximmacdef" $argone $spool_directory $qualify_domain $config if (scalar(@list) == 0) { + push(@list, $subject) if $subject =~ /^\w{6}-\w{11}-\w{4}$/; push(@list, $subject) if $subject =~ /^\w{6}-\w{6}-\w{2}$/; if ($subject !~ /\@/ && $subject !~ /\./)