[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sylpheed/fremdcancel [war: apt-get holt Pakete mehrmals ab]



On Sun, Aug 18, 2002 at 06:52:11PM +0200, Dirk Prösdorf wrote:
> Mittel im INN dagegen:
> 
> +	if ($hdr{"__BODY__"} =~ /removed with sylpheed/) {

Da dies nun aber auch zuschlägt, wenn in dem Artikel da rüber diskutiert
wird (ist mir mit meinem Artikel auf im Newsmirror passiert) ist
folgendes besser:

--- /etc/news/filter/filter_innd.pl.org	Mon Feb 18 00:14:19 2002
+++ /etc/news/filter/filter_innd.pl	Sun Aug 18 20:31:48 2002
@@ -69,6 +69,9 @@
 
 sub filter_art {
 	my $rval = "" ; # Assume we'll accept. Cannot be `0'
+	if ($hdr{"__BODY__"} =~ /^removed with sylpheed
$/) {
+		$rval = "sylpheed cancel";
+	}
 
 ### Remove two leading '##' from the following section (and then
 ### 'ctlinnd reload filter.perl' and the filter will reject articles that



Reply to: