Index: mail-in.pl =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/og2list/mail-in.pl,v retrieving revision 1.33 diff -u -p -r1.33 mail-in.pl --- mail-in.pl 5 Dec 2006 23:57:03 -0000 1.33 +++ mail-in.pl 14 Dec 2006 14:20:23 -0000 @@ -405,6 +405,17 @@ EOF print "References: ".join(', ', @references)."\n"; print "\n$body"; } else { + + # Prevent incoming content that lacks + # from_name/address, to_name/address + # and a body (see node/100922) + ## + unless ($from_address && + $from_name && + $to_address && + $to_name && + $body ) { exit 1; } + # Set up queries $add_content_handle = $dbh->prepare($add_content_stmt) or die; $add_threadinfo_handle = $dbh->prepare($add_threadinfo_stmt) or die;