Subject: tin 3.9.3 sendmail error!

From: [email-masked] (Therefore)
Date: 25 Apr 1996 10:08:51 GMT

I have just upgrade from 3.9.2 to 3.9.3 (SunOs 4 Unix) and am having
a serious problem emailing. When I email to any account, I receive this
error message:

        [Posting program /usr/lib/sendmail -oi -oem -t returned error]

and it then returns to the composition screen as if it never sent. But
in fact, it -was- received by the recipient. I then get the following
message from my ISP's mailer demon:

Subject: Returned mail: Undisclosed recipients:  ;... list:; syntax illegal for
...
   ----- The following addresses have delivery notifications -----
Undisclosed recipients:  ;  (unrecoverable error)

   ----- Transcript of session follows -----
553 Undisclosed recipients:  ;... list:; syntax illegal for recipient addresses

  [ Part 3: "Included Message" ]

Date: Thu, 25 Apr 1996 03:02:25 -0700 (PDT)
From: Mark Kemper <[email-masked]>
To: someone <[email-masked]>, Undisclosed recipients:  ;

For some odd reason, I am getting Undisclosed recipients appended to my
'To:'

Any thoughts why this may be happening?

Thanks!

Mark Kemper

---

From: [email-masked] (Mark M.)
Date: 28 Apr 1996 16:55:56 GMT

-----BEGIN PGP SIGNED MESSAGE-----

> message from my ISP's mailer demon:

I have been having this problem too.  The way I fixed it is to use the
following perl script as sendmail.  This will delete the header that is
causing the errors before piping the message through sendmail.

#!/bin/perl
open(SENDMAIL, "| /usr/lib/sendmail -t -oi -oem");
while(<>) {
     if(($_ =~ '^To: Undisclosed recipients:  ;$') && ($toheader != 1)) {
          $toheader = 1;
     } else {
          print SENDMAIL;
     }
}
close(SENDMAIL);

- -- Mark

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[email-masked]              | finger -l for PGP key 0xf9b22ba5
http://www.voicenet.com/~markm/ | bd24d08e3cbb53472054fa56002258d5
"The concept of normalcy is just a conspiracy of the majority" -me