--- a/frontends/mailpost.in	2010-01-25 16:20:48.000000000 +0100
+++ b/frontends/mailpost.in	2010-03-17 14:12:48.000000000 +0100
@@ -253,6 +253,10 @@
 
     if (/^References:\s*/sio) {
 	$references = $';
+	if (length($references) > 990) {
+	    my @x = ( $references =~ /(<.*?>)/g );
+	    $references = pop(@x);
+	}
 	next;
     }
 
