summaryrefslogtreecommitdiff
path: root/tools/greylist.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-21 22:53:08 (GMT)
committerJohn Denker <jsd@av8n.com>2012-07-21 22:53:08 (GMT)
commit178786bb76b9fdba550de3a49a159da6515931cc (patch)
treef1684261c1f9f542277107e0741d79c34bb199d3 /tools/greylist.c
parent0abfc69e469b5bf40a0531c0ae2f166a9fabbb36 (diff)
ignore penalty features for the moment
Diffstat (limited to 'tools/greylist.c')
-rw-r--r--tools/greylist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/greylist.c b/tools/greylist.c
index 95a4f0b..063c3d0 100644
--- a/tools/greylist.c
+++ b/tools/greylist.c
@@ -68,6 +68,10 @@ int prefix(const string shorter, const string longer){
void exeunt(const int sts){
if (sts == ex_good) exit(sts);
+#ifndef PENALIZE_SPAMMERS
+ if (sts == ex_penaltybox) exit(sts);
+#endif
+
const char* foo = getenv("HI_Q_GROUP");
if (!foo) exit(sts);