Majordomo: help with sendmail sub

Lee Leahu <[email protected]> Tue, 29 Oct 2002 10:31:53 -0600
Newsgroups gmane.mail.majordomo.devel
Organization RICIS, Inc.
Message-ID <[email protected]>
I have been looking at the main'sendmail subroutines in the majordomo.pl file.

    local($MAIL) = shift;
    local($to) = shift;
    local($subject) = shift;
    local($from) = $mail_from;
    local($sender) = $mail_sender;
    # The following eval expands embedded variables like $sender
    local($mail_cmd) = eval qq/"$mail_prog"/;
    local($isParent);
    if ($#_ >= $[) { $from = shift; }
    if ($#_ >= $[) { $sender = shift; }


If i print out the contents of $MAIL, it shows either as 'AUTH' or as 'REPLY' when
a confirmation message is send to a user.

What I want to do is be able to print out the actual message that is sent to the user.
Can anyone explain how to do this?



-- 
+----------------------------------+---------------------------------+
| Lee Leahu                        | voice -> 708-444-2690           |
| Internet Technology Specialist   | fax -> 708-444-2697             |
| RICIS, Inc.                      | email -> [email protected]          |
+----------------------------------+---------------------------------+
| I cannot conceive that anybody will require multiplications at the |
| rate of 40,000 or even 4,000 per hour ...                          |
|		-- F. H. Wales (1936)                                |
+--------------------------------------------------------------------+