summaryrefslogtreecommitdiff
path: root/script/dakkar-graylister
diff options
context:
space:
mode:
Diffstat (limited to 'script/dakkar-graylister')
-rw-r--r--script/dakkar-graylister6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/dakkar-graylister b/script/dakkar-graylister
new file mode 100644
index 0000000..07dc7db
--- /dev/null
+++ b/script/dakkar-graylister
@@ -0,0 +1,6 @@
+#!/usr/bin/perl
+use DAKKAR::Graylister;
+
+exit 0 unless (defined $ENV{GRAYLISTING}) and (!defined $ENV{RELAYCLIENT});
+
+DAKKAR::Graylister::check(DAKKAR::Graylister::get_from_env());