I have am recently testing a gateway, Internet Exchange for cc:Mail and the
double line between the header and the body is now not there, but now I am
getting the following:
This is the messagge I send:
Approved: spim
Test,
test
test
This is what I get back from majordomo:
Test,
Sender: owner-test@curie.med.harvard.edu
Precedence: bulk
test
test
Why am I getting this header info in the body of the message. It looks as if
it is not correctly finding the seperation between the body and the message
and the first blank line it comes to happens to be in the body itself.
This is the header on the Unix side:
P2500
T772223723
DdfAA13096
S<postmaster@mdomo.med.harvard.edu>
Cdaemon
R"|/home/listmgr/bin/wrapper resend -l test -h curie.med.harvard.edu
test-outgoing"
Epostmaster@warren.med.harvard.edu
H?P?return-path: <postmaster@mdomo.med.harvard.edu>
Hreceived: from mdomo.med.harvard.edu ([134.174.141.222]) by
curie.med.harvard.edu (4.1/SMI-4.1)
id AA13096; Tue, 21 Jun 94 13:35:23 EST
H?x?full-name:
Hreceived: from ccMail by mdomo.med.harvard.edu (IMA Internet Exchange) with
VIM
id e0724c30; Tue, 21 Jun 94 13:34:59 -0400
Hmime-version: 1.0
Hdate: Tue, 21 Jun 1994 13:34:20 -0400
Hmessage-id: <e0724c30@mdomo.med.harvard.edu>
HFrom: postmaster@mdomo.med.harvard.edu (Postmaster)
HTo: test@curie.med.harvard.edu
Hsubject: test
Hcontent-type: text/plain
Hcontent-transfer-encoding: 7bit
Hcontent-description: cc:Mail note part
This is the body on the Unix side
Approved: spim
Test,
test
test
Can this be fixed????? Or has anyone found a solution for the double space
between the header and body on the original gateway??? The below solution
would not be feasible to us, since we really do not want to get in to
modifying every message that comes through.
thanks for all your help.....
>I did as suggest below. I now can get sendmail to work fine. My problem is
>that cc:Mail which goes through our Link to SMTP Gateway does not work. Her
>is what happens:
>
>In sendmail I submit the following message to test@curie.med.harvard.edu:
>
> [....sendmail example deleted...]
>
>Notice it has stripped off the Approved: spim and added it to the header.
>
>
>THE PROBLEM THE PROBLEM THE PROBLEM
>
>When I am in cc:Mail for Windows I submit the same message all in the body of
>the message:
>
> [...cc:Mail example deleted...]
>
>
>NOTICE THAT THE APPROVED:SPIM IS NOT STRIPPED FROM THE BODY AND INSERTED TO
>THE HEADER OF THE MESSAGE.
>
>
>IS THIS BECAUSE OF THE POSSIBLE BLANK LINE, CAN THIS BE FIXED BY MODIFYING
>RESEND, OR IS THE PROBLEM WITH THE ADDED HEADERS AS A RESULT OF THE GATEWAYS
>AND MAIL RELAYS IT GOES THROUGH.
>
>USERS HER ALL USE CCMAIL AND WE WANT TO SUBMIT ALL LIST REQUESTS FROM CCMAIL
>TO THE TEST@CURIE.MED.HARVARD.EDU ADDRESS.
>.
>THANKS FOR YOUR HELP. REALLY APPRECIATED...
The problem is that cc:Mail, or more exactly the SMTP gateway, doesn't allow
you to specify header fields directly.
However, it may be possible for you to do what you want nonetheless. I don't
know about the cc:Mail Link to SMTP, but I use the Link to UUCP package, and
from what I've read, the formats for how it handles things may be similar
enough for you to use a trick that I've found useful.
Under your SMTPLINK directory, are there subdirectories called INBOX and
OUTBOX?
YES
If so, you can just throw an RFC822 message (with a filename of "FAKEMAIL",
for example) into the OUTBOX directory, along with a corresponding
"FAKEMAIL.TO" file which contains a list of message recipients. SMTPLink
should process this message as scheduled, keeping all headers intact.
Try some fakemail experiments and verify that it works for you. It should be
fairly simple to write a program that will add an "Approved:" header to a
message that you can save in to a text file from cc:Mail.
Dougal Campbell
dougal@multi.iquest.com
|
|