>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 email@example.com:
> [....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
> [...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? 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.