[95797] in RedHat Linux List
OFF - Sendmail and Perl/Scripting question.
daemon@ATHENA.MIT.EDU (Colin Cyr)
Wed Oct 21 10:45:21 1998
To: redhat-list@redhat.com
Date: Wed, 21 Oct 1998 08:45:05 -0600
From: Colin Cyr <ccyr@sycore.ml.org>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Hello, I'm working on a small project, I require the ability to send out
e-mail from the Per; script.
This in and of itself is quite easy, the following task is not (from what I
can see). I need to track the message ID's on the outgoing mail so I can
properly handle incoming mail.
Is there any way to get sendmail to kick back the message ID of the message it
just sent?
The only other solutions I could think of are:
1) If sendmail supports writing the fully composed message out to a file, such
that it could be read in and searched for by the same instance of the program.
2) One method I know will work. BCC the message to another e-mail address and
have that piped to the script/ a script. This however would require there
being some internal variables from the first script being passed on in the
message which might not be wanted.
Both of these solutions are quite messy and not very good implementations,
anyone else have any suggestions?
CC
--
Colin Cyr (ccyr at home dot com)
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.