Problem with Multiple AdminCCs

Hello!

If I set up Multiple AdminCCs, I observe that somehow here gets a blank
line into the Mail-header. Then the mail gets delivert only to the
AdminCCs, since the To field is after the blank ant therefor part of the
message not the header.

Any Ideas what may be the Problem?

LL&P uk
Ulrich Kiermayr Zentraler Informatikdienst der Universitaet Wien
Security Team Boltzmanngasse 5, A-1090 Vienna, Austria
eMail: ulrich.kiermayr@univie.ac.at Tel: (+43 1) 4277 / 14104
Hotline: security.zid@univie.ac.at Fax: (+43 1) 4277 / 9141
Web: http://www.univie.ac.at/zid/security.html
GPG Key fingerprint = BF0D 5749 4DC1 ED74 AB67 7180 105F 491D A8D7 64D8---------- Forwarded message ----------
Return-Path: nobody@ap.univie.ac.at
Received: (from nobody@localhost)
by gwydion.ap.univie.ac.at (8.9.3/8.9.3/0.0.0) id QAA01814;
Tue, 3 Apr 2001 16:17:28 +0200
Date: Tue, 3 Apr 2001 16:17:28 +0200
Content-Disposition: inline
Content-Type: text/plain
Message-Id: rt-24-152.9.20852637997093@ap
Managed-BY: Request Tracker 1.3.65 (http://www.fsck.com/projects/rt)
In-Reply-To: rt-24@ap
Subject: [ap #24] Re: [no subject]
From: Ulrich Kiermayr via RT test@ap.univie.ac.at
RT-Ticket: ap #24
Bcc:

X-Mailer: Perl5 Mail::Internet v1.33
Reply-To: test@ap.univie.ac.at
Precedence: bulk
MIME-Version: 1.0
Content-Transfer-Encoding: binary
To: XXXXX@ap.univie.ac.at
RT-Originator: uk@ap.univie.ac.at
Sender: Nobody Nobody@ap.univie.ac.at
Cc:

Ulrich Kiermayr
ZID der Universitaet Wien, Security Team
eMail: ulrich.kiermayr@univie.ac.at
Tel: (+43 1) 4277 / 14104

I’ve seen this with MIME::Entity’s send method before and haven’t been
able to pin it down. If anyone else has any ideas what’s up, I’d greatly
appreciate some assistance. I’m getting just about ready to give up
on MIME::Entity->send as a pipe to sendmail.

    -jOn Tue, Apr 03, 2001 at 04:57:22PM +0200, Ulrich Kiermayr wrote:

Hello!

If I set up Multiple AdminCCs, I observe that somehow here gets a blank
line into the Mail-header. Then the mail gets delivert only to the
AdminCCs, since the To field is after the blank ant therefor part of the
message not the header.

Any Ideas what may be the Problem?

LL&P uk


Ulrich Kiermayr Zentraler Informatikdienst der Universitaet Wien
Security Team Boltzmanngasse 5, A-1090 Vienna, Austria

eMail: ulrich.kiermayr@univie.ac.at Tel: (+43 1) 4277 / 14104
Hotline: security.zid@univie.ac.at Fax: (+43 1) 4277 / 9141
Web: http://www.univie.ac.at/zid/security.html

GPG Key fingerprint = BF0D 5749 4DC1 ED74 AB67 7180 105F 491D A8D7 64D8

---------- Forwarded message ----------
Return-Path: nobody@ap.univie.ac.at
Received: (from nobody@localhost)
by gwydion.ap.univie.ac.at (8.9.3/8.9.3/0.0.0) id QAA01814;
Tue, 3 Apr 2001 16:17:28 +0200
Date: Tue, 3 Apr 2001 16:17:28 +0200
Content-Disposition: inline
Content-Type: text/plain
Message-Id: rt-24-152.9.20852637997093@ap
Managed-BY: Request Tracker 1.3.65 (http://www.fsck.com/projects/rt)
In-Reply-To: rt-24@ap
Subject: [ap #24] Re: [no subject]
From: Ulrich Kiermayr via RT test@ap.univie.ac.at
RT-Ticket: ap #24
Bcc:

X-Mailer: Perl5 Mail::Internet v1.33
Reply-To: test@ap.univie.ac.at
Precedence: bulk
MIME-Version: 1.0
Content-Transfer-Encoding: binary
To: XXXXX@ap.univie.ac.at
RT-Originator: uk@ap.univie.ac.at
Sender: Nobody Nobody@ap.univie.ac.at
Cc:


Ulrich Kiermayr
ZID der Universitaet Wien, Security Team
eMail: ulrich.kiermayr@univie.ac.at
Tel: (+43 1) 4277 / 14104


Rt-devel mailing list
Rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

‘"As the company that brought users the Internet, Netscape is now inviting
the more than 60 million people who have used our client software to
’tune up’ and upgrade to Netscape Communicator," said Mike Homer,
senior vice president of marketing at Netscape.’ Sometimes I wonder.

I’ve seen this with MIME::Entity’s send method before and haven’t been
able to pin it down. If anyone else has any ideas what’s up, I’d greatly
appreciate some assistance. I’m getting just about ready to give up
on MIME::Entity->send as a pipe to sendmail.

It has been hard work, but I think I found that Bug: There is A problem in
Mail::Header from MailTools-1.15.

MIMEObj->head->add somehow is confused if the line is to long and does
LineBreak inproperly, resulting in a blank line in the header.

I have a workaround, which prevents the header-lines from beeing wraped.
But I think the Best way would be to find the Bug in Mail::Header.

Index: SendEmail.pm
RCS file:
/raid/cvsroot/rt/lib/RT/Action/Attic/SendEmail.pm,v
retrieving revision 1.1.2.61
diff -u -1 -b -p -r1.1.2.61 SendEmail.pm
SendEmail.pm 2001/03/31 00:31:37
1.1.2.61
+++ SendEmail.pm 2001/04/03 17:16:19
@@ -256,2 +256,5 @@ sub SetHeader {

  • chomp $val;
  • chomp $field;
  • $self->TemplateObj->MIMEObj->head->fold_length($field,10000);
    $self->TemplateObj->MIMEObj->head->add($field, $val);

I hope that helps :slight_smile:

LL&P uk
Ulrich Kiermayr Zentraler Informatikdienst der Universitaet Wien
Security Team Boltzmanngasse 5, A-1090 Vienna, Austria
eMail: ulrich.kiermayr@univie.ac.at Tel: (+43 1) 4277 / 14104
Hotline: security.zid@univie.ac.at Fax: (+43 1) 4277 / 9141
Web: http://www.univie.ac.at/zid/security.html
GPG Key fingerprint = BF0D 5749 4DC1 ED74 AB67 7180 105F 491D A8D7 64D8

Hi,On Tue, Apr 03, 2001 at 7:21:12PM +0200, Ulrich Kiermayr wrote:

On Tue, 3 Apr 2001, Jesse wrote:

I’ve seen this with MIME::Entity’s send method before and haven’t been
able to pin it down. If anyone else has any ideas what’s up, I’d greatly
appreciate some assistance. I’m getting just about ready to give up
on MIME::Entity->send as a pipe to sendmail.

It has been hard work, but I think I found that Bug: There is A problem in
Mail::Header from MailTools-1.15.

MIMEObj->head->add somehow is confused if the line is to long and does
LineBreak inproperly, resulting in a blank line in the header.

I have a workaround, which prevents the header-lines from beeing wraped.
But I think the Best way would be to find the Bug in Mail::Header.


Index: SendEmail.pm

RCS file:
/raid/cvsroot/rt/lib/RT/Action/Attic/SendEmail.pm,v
retrieving revision 1.1.2.61
diff -u -1 -b -p -r1.1.2.61 SendEmail.pm
SendEmail.pm 2001/03/31 00:31:37
1.1.2.61
+++ SendEmail.pm 2001/04/03 17:16:19
@@ -256,2 +256,5 @@ sub SetHeader {

  • chomp $val;
  • chomp $field;
  • $self->TemplateObj->MIMEObj->head->fold_length($field,10000);
    $self->TemplateObj->MIMEObj->head->add($field, $val);

I hope that helps :slight_smile:

We also need to workaround this in “lib/RT/Template.pm” for RT
2.0.0. Without this change long subject lines (for example) cause
email problems.

— ./lib/RT/Template.pm Fri Mar 30 08:32:27 2001
+++ /home/croombs/Template.pm Mon Jul 2 16:53:25 2001
@@ -249,6 +249,9 @@
if ($headers) {
foreach $header (split(/\n/,$headers)) {
(my $key, my $value) = (split(/: /,$header,2));

  •  chomp $key;
    
  •  chomp $value;
    
  •  $self->{'MIMEObj'}->head->fold_length($key,10000);
     $self->{'MIMEObj'}->head->add($key, $value);
    
    }
    }

Kevin Croombs