[robert.sander at epigenomics.com: Bug#282664: inn2: news2mail sets wrong parameter for -f]

Marco d'Itri md at Linux.IT
Tue Nov 23 17:50:19 UTC 2004


----- Forwarded message from Robert Sander <robert.sander at epigenomics.com> -----

Subject: Bug#282664: inn2: news2mail sets wrong parameter for -f
Reply-To: Robert Sander <robert.sander at epigenomics.com>,
	282664 at bugs.debian.org
From: Robert Sander <robert.sander at epigenomics.com>
To: Debian Bug Tracking System <submit at bugs.debian.org>

Package: inn2
Version: 2.4.1+20040820-2
Severity: important

Hi!

/usr/lib/news/bin/news2mail uses <news> as the parameter for the -f
switch to sendmail. This generates an envelope sender of
"<news>@domain.com", at least on our system.

The patch below removes the braces:

--- /usr/lib/news/bin/news2mail.orig    2004-11-23 18:31:22.000000000 +0100
+++ /usr/lib/news/bin/news2mail 2004-11-23 18:31:35.000000000 +0100 
@@ -99,7 +99,7 @@

        my $sendmail = $inn::mta ;
        $sendmail =~ s!\s*%s!! ;
-       my @command = (split (' ', $sendmail), '-ee', '-f<news>', '-odq', @a);
+       my @command = (split (' ', $sendmail), '-ee', '-fnews', '-odq', @a);
 #      @command[0] = '/usr/local/bin/debug';

        syslog('info', join(' ', @command));

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-xfs-20040510-p6450
Locale: LANG=C, LC_CTYPE=C

Versions of packages inn2 depends on:
ii  cron                    3.0pl1-83        management of regular background p
ii  debconf [debconf-2.0]   1.4.29           Debian configuration management sy
ii  inn2-inews              2.4.1+20040403-1 NNTP client news injector, from In
ii  libc6                   2.3.2.ds1-13     GNU C Library: Shared libraries an
ii  libdb4.2                4.2.52-16        Berkeley v4.2 Database Libraries [
ii  libperl5.8              5.8.4-3          Shared Perl library
ii  perl                    5.8.4-3          Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8. 5.8.4-3          The Pathologically Eclectic Rubbis
ii  procps                  1:3.2.1-2        The /proc file system utilities
ii  qmail [mail-transport-a 1.03             fake MTA package
ii  time                    1.7-19           The GNU time program for measuring

-- debconf information excluded

Greetings
-- 
Robert Sander                     Senior Manager Information Systems
Epigenomics AG    Kleine Praesidentenstr. 1    10178 Berlin, Germany
phone:+49-30-24345-330                          fax:+49-30-24345-555
http://www.epigenomics.com             robert.sander at epigenomics.com

----- End forwarded message -----

-- 
ciao, |
Marco | [9369 asVweHR/Bnr3c]


More information about the inn-workers mailing list