--- mimedefang.pl	2007-01-23 15:24:21.000000000 -0300
+++ mimedefang.pl.ori	2007-01-23 15:23:15.000000000 -0300
@@ -1842,96 +1842,6 @@
 }
 
 #***********************************************************************
-# %PROCEDURE: send_quarantine_notifications_quick
-# %ARGUMENTS:
-#  send_headers -- print the original headers in the notification
-#  send_warnings -- print the warnings in the notification
-# %RETURNS:
-#  Nothing
-# %DESCRIPTION:
-#  Sends a quick quarantine notification message, 
-#  if anything was quarantined. The format is formated for easy reading
-#***********************************************************************
-sub send_quarantine_notifications_quick ($$) {
-	my($send_headers, $send_warnings) = @_;
-	$send_headers=0 if (!defined($send_headers));
-	$send_warnings=0 if (!defined($send_warnings));
-
-	# If there are not quarantined parts, return
-	# else, e-mail a report
-	if (($QuarantineCount <= 0) && ($EntireMessageQuarantined = 0)) {
-		return;
-	}
-	
-	my($body);
-	$body = "From: $DaemonName <$DaemonAddress>\n";
-	$body .= "To: \"$AdminName\" <$AdminAddress>\n";
-	$body .= gen_date_msgid_headers();
-	$body .= "Auto-Submitted: auto-generated\n";
-	$body .= "MIME-Version: 1.0\nContent-Type: text/plain\n";
-	$body .= "Precedence: bulk\n";
-	$body .= "Subject: $QuarantineSubject\n\n";
-
-	$body .= "Quarentine host : " . get_host_name() . "\n";
-	$body .= "Quarentine dir  : $QuarantineSubdir\n";
-  $body .= "Quarentine parts: $QuarantineCount\n";
-	$body .= "Relay host      : $RelayHostname ($RelayAddr)\n";
-	$body .= "MessageID       : $QueueID\n" if ($QueueID ne "NOQUEUE");
-	$body .= "Sender          : '$Sender'\n" if defined($Sender);
-	if ($EntireMessageQuarantined) {
-		$body .= "Entire email    : $QuarantineSubdir/ENTIRE_MESSAGE\n";
-	}
-
-	my($recip);
-	foreach $recip (@Recipients) {
-		$body .= "Recipient       : $recip\n";
-	}
-	my $donemsg = 0;
-	my $i;
-	for ($i=0; $i<=$QuarantineCount; $i++) {
-		if (open(IN, "<$QuarantineSubdir/MSG.$i")) {
-			if (!$donemsg) {
-				$body .= "Messages        :\n";
-				$donemsg = 1;
-			}
-			while(<IN>) {
-				$body .= $_;
-			}
-			close(IN);
-		}
-	}
-	if ($donemsg) {
-		$body .= "\n";
-	}
-
-	if($send_headers) {
-		if (open(IN, "<$QuarantineSubdir/HEADERS")) {
-			$body .= "\n----------\nHere are the message headers:\n";
-			while(<IN>) {
-				$body .= $_;
-			}
-			close(IN);
-		}
-		for ($i=1; $i<=$QuarantineCount; $i++) {
-			if (open(IN, "<$QuarantineSubdir/PART.$i.HEADERS")) {
-				$body .= "\n----------\nHere are the headers for quarantined part $i:\n";
-				while(<IN>) {
-					$body .= $_;
-				}
-				close(IN);
-			}
-		}
-	}
-	if($send_warnings) {
-		if ($#Warnings >= 0) {
-			$body .= "\n----------\nHere are the warning details:\n\n";
-			$body .= "@Warnings";
-		}
-	}
-	send_mail($DaemonAddress, $DaemonName, $AdminAddress, $body);
-}
-
-#***********************************************************************
 # %PROCEDURE: signal_complete
 # %ARGUMENTS:
 #  None
