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

Bug#144641: debbugs: PATCH - Debbugs doesn't work with qmail



Package: debbugs
Version: 2.3-4
Severity: important

The README.mail file, in the qmail section, doesn't refer to the users/assign file, which is supposed to have something like:

+debbugs:debbugs:107:106:/var/lib/debbugs:-:remove:

in the last line before the final '.'
So, then I patched my receive script with the following:

[PATCH START]============================================
--- /usr/lib/debbugs/receive.orig   Fri Apr 26 17:07:11 2002
+++ /usr/lib/debbugs/receive        Fri Apr 26 17:07:26 2002
@@ -14,7 +14,9 @@
 {      $gBadEmailPrefix = '';
        $_ = $ENV{'LOCAL_PART'};
 } elsif ( $gMailer eq 'qmail' )
-{       $gBadEmailPrefix = '//';
+{       $ENV{'DEFAULT'} =~ s/^remove\-//;
+        $ENV{'RECIPIENT'} =~ s/^remove\-//;
+        $gBadEmailPrefix = '//';
        $_ = $ENV{'DEFAULT'};
 #      $_ = $ENV{'RECIPIENT'};
 #      s/^\w+-bugs--?//;
[PATCH END]============================================

and then BTS finally started to work properly

-- System Information
Debian Release: 3.0
Kernel Version: Linux vidro 2.4.17 #8 Thu Feb 14 09:18:25 GMT+2 2002 i686 unknown



-- 
To UNSUBSCRIBE, email to debian-debbugs-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: