diff options
author | John Denker <jsd@av8n.com> | 2013-09-26 11:13:34 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2013-09-26 11:24:06 -0700 |
commit | e3dd7758443ccec1ec5fa1f1a783205032d81082 (patch) | |
tree | 7f80a604086cf2452b13a7972f78c8e78cb3ce24 | |
parent | 77e1cbc7a8dd5a9a79d67f7f9f54cfb361607240 (diff) |
defend against very active past
-rw-r--r-- | tools/libskrewt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libskrewt.c b/tools/libskrewt.c index 5461fdd..05fb2cf 100644 --- a/tools/libskrewt.c +++ b/tools/libskrewt.c @@ -497,6 +497,11 @@ int skrewt::interstage(){ badnews.push_back("no date"); } + if (received_from.find("@aexp.com") != string::npos) { + badnews.push_back("long-running phishing pest: '" + + received_from + "'"); + } + if (mid_required && !message_id.length()) { badnews.push_back("no message-id"); } |