diff options
author | Eric Wong <e@80x24.org> | 2014-04-08 23:58:36 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-08 23:58:36 +0000 |
commit | 789f3d2e35034632da49d988e2e90f2e4c95604c (patch) | |
tree | 31bbae8b2f39a8e1563cd25bc23d3c8f523471dc | |
parent | 399081a7c4424ede7155cebd8f5ac1bbb69bb436 (diff) | |
download | public-inbox-789f3d2e35034632da49d988e2e90f2e4c95604c.tar.gz |
Composers may screw up and leave the subject out, so reject those messages.
-rw-r--r-- | lib/PublicInbox.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox.pm b/lib/PublicInbox.pm index a4aba346..b05fd8c5 100644 --- a/lib/PublicInbox.pm +++ b/lib/PublicInbox.pm @@ -19,6 +19,7 @@ sub precheck { my $simple = $filter->simple; return 0 unless $simple->header("Message-ID"); return 0 unless defined($filter->from); + return 0 unless $simple->header("Subject"); return 0 if length($simple->as_string) > MAX_SIZE; recipient_specified($filter, $recipient); } |