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

Bug#186130: marked as done (jitterbug: Jitterbug should substitute ALL instances of %PRNUM% in autoreply.txt)



Your message dated Sun, 31 Jul 2005 23:34:21 +0100
with message-id <20050731223421.GA30947@deprecation.cyrius.com>
and subject line Removed from Debian - unmaintained
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Mar 2003 17:53:35 +0000
>From joy@snack.teddy-net.com Mon Mar 24 11:53:35 2003
Return-path: <joy@snack.teddy-net.com>
Received: from mail.teddy-net.com [80.69.37.75] (026cfa5eaa0d90e8c6a7e30674f81d62)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18xW8c-0004j7-00; Mon, 24 Mar 2003 11:53:34 -0600
Received: (qmail-ldap/ctrl 28921 invoked from network); 24 Mar 2003 17:53:30 -0000
Received: from crunchy.teddy-net.com (b1324dde3c20371fd0a026c5ae9a85c8@[80.69.37.90])
          (envelope-sender <joy@snack.teddy-net.com>)
          by mail.teddy-net.com (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP
          for <submit@bugs.debian.org>; 24 Mar 2003 17:53:30 -0000
Received: (qmail-ldap/ctrl 12680 invoked from network); 24 Mar 2003 17:53:17 -0000
Received: from snack.teddy-net.com ([80.69.37.82])
          (envelope-sender <joy@snack.teddy-net.com>)
          by crunchy.teddy-net.com (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP
          for <submit@bugs.debian.org>; 24 Mar 2003 17:53:17 -0000
Received: (qmail-ldap/ctrl 11791 invoked by uid 1000); 24 Mar 2003 17:53:52 -0000
Date: 24 Mar 2003 17:53:52 -0000
Message-ID: <20030324175352.11787.qmail@snack.teddy-net.com>
From: Jordan Hrycaj <joy@mjh.teddy-net.com>
Subject: jitterbug: Jitterbug should substitute ALL instances of %PRNUM% in autoreply.txt
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.2
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-2.6 required=4.0
	tests=HAS_PACKAGE,PATCH_CONTEXT_DIFF,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

Package: jitterbug
Version: 1.6.2-4.2
Severity: normal


-- System Information
Debian Release: testing/unstable
Kernel Version: Linux debian 2.4.20-686 #1 Mon Jan 13 22:22:30 EST 2003 i686 Pentium II (Deschutes) GenuineIntel GNU/Linux

Versions of the packages jitterbug depends on:
ii  apache         1.3.26-1.1     Versatile, high-performance HTTP server
ii  libc6          2.2.5-14.3     GNU C Library: Shared libraries and Timezone
exim	Not installed or no info
ii  qmail-ldapctl  1.03-24.200209 Secure, reliable, efficient, simple mail tra
	^^^ (Provides virtual package mail-transport-agent)
ii  apache-ssl     1.3.26.1+1.48- Versatile, high-performance HTTP server with
	^^^ (Provides virtual package httpd)

In the automatic mail response template, only the first occurrence of the
message track number %PRNUM% is replaced. This is annoying if you refer to
the track numbet in the email subject and use it for a website link in
the email body.

The following simple patch will do the trick:

diff -rPc jitterbug-1.6.2/source/new_message.c jitterbug-1.6.2.ready/source/new_message.c
*** jitterbug-1.6.2/source/new_message.c        Mon Mar 24 18:41:45 2003
--- jitterbug-1.6.2.ready/source/new_message.c  Mon Mar 24 18:43:24 2003
***************
*** 141,152 ****
--- 141,154 ----
        mbuf = load_file(AUTOREPLY, &st, 0);
  
        /* substitute in the id if wanted */
+       do {
        p = strstr(mbuf,"%PRNUM%");
        if (p) {
                memset(p,' ',7);
                sprintf(p,"%d", id);
                p[strlen(p)] = ' ';
        }
+       } while (p) ;
        if (mbuf) {
                smtp_write_data(fd, mbuf);
        }

jordan


---------------------------------------
Received: (at 186130-done) by bugs.debian.org; 31 Jul 2005 22:34:29 +0000
>From tbm@cyrius.com Sun Jul 31 15:34:29 2005
Return-path: <tbm@cyrius.com>
Received: from sorrow.cyrius.com [65.19.161.204] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1DzMO4-0008VI-00; Sun, 31 Jul 2005 15:34:29 -0700
Received: by sorrow.cyrius.com (Postfix, from userid 10)
	id C28D264D54; Sun, 31 Jul 2005 22:34:23 +0000 (UTC)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
	id 766AA85A8; Sun, 31 Jul 2005 23:34:21 +0100 (BST)
Date: Sun, 31 Jul 2005 23:34:21 +0100
From: Martin Michlmayr <tbm@cyrius.com>
To: 47894-done@bugs.debian.org, 55507-done@bugs.debian.org,
	67612-done@bugs.debian.org, 186130-done@bugs.debian.org,
	228569-done@bugs.debian.org
Subject: Removed from Debian - unmaintained
Message-ID: <20050731223421.GA30947@deprecation.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: 186130-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 78

This package has now been removed from Debian because nobody was
interested in maintaining it; see
http://lists.debian.org/debian-devel-announce/2005/06/msg00014.html
for more information.

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: