summaryrefslogtreecommitdiff
path: root/tools/greylist.c
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-21 15:53:08 -0700
committerJohn Denker <jsd@av8n.com>2012-07-29 15:32:35 -0700
commit8ce08aca2410c795dfc46f37dc27402ff6de5dd1 (patch)
treecfc99e724b35435aa44f9a23791e8fc4d9684e83 /tools/greylist.c
parent46cb697732ea2c2c4a68358109a58232ef2666e7 (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);