git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 2-phase, in-order queue run delivery order
[exim.git]
/
src
/
src
/
exim_checkaccess.src
diff --git
a/src/src/exim_checkaccess.src
b/src/src/exim_checkaccess.src
index a780a298a4209ec0e22cf14d978022c45fd2b1ca..9615443db65274c12082b5ecb9754f40593eaffd 100755
(executable)
--- a/
src/src/exim_checkaccess.src
+++ b/
src/src/exim_checkaccess.src
@@
-1,7
+1,9
@@
#! /bin/sh
#! /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.
# Copyright (c) University of Cambridge, 1995 - 2007
# See the file NOTICE for conditions of use and distribution.
+# SPDX-License-Identifier: GPL-2.0-or-later
# Except when they appear in comments, the following placeholders in this
# source are replaced when it is turned into a runnable script:
# Except when they appear in comments, the following placeholders in this
# source are replaced when it is turned into a runnable script:
@@
-65,8
+67,16
@@
PERL_COMMAND - $exim_path $args <<'End'
BEGIN { pop @INC if $INC[-1] eq '.' };
use FileHandle;
BEGIN { pop @INC if $INC[-1] eq '.' };
use FileHandle;
+use File::Basename;
use IPC::Open2;
use IPC::Open2;
+if ($ARGV[0] eq '--version' || $ARGV[0] eq '-v') {
+ print basename($0) . ": $0\n",
+ "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n",
+ "perl(runtime): $]\n";
+ exit 0;
+}
+
if (scalar(@ARGV) < 3)
{
print "Usage: exim_checkaccess <IP address> <email address> [exim options]\n";
if (scalar(@ARGV) < 3)
{
print "Usage: exim_checkaccess <IP address> <email address> [exim options]\n";