Re: Majordomo: help with sendmail sub

Lee Leahu <[email protected]> Tue, 29 Oct 2002 11:07:07 -0600
Newsgroups gmane.mail.majordomo.devel
Organization RICIS, Inc.
Message-ID <[email protected]>
Another idea I am thinking about would something likes this:

-copy the contents of <> into a variable
-search that variable for a confirm command maybe by
	-a pattern match if ($var =~ /confirm/) or something similar to that
	-copy the loop that does the parsing and have it run and check only for the 
		confirm command before sendthing the control to the real loop
-if it finds a confirm either
	-process the confirm requests first
	-dont create any replys at all



Jason L Tibbitts III <[email protected]> scribbled something about Re: Majordomo: help with sendmail sub:

> >>>>> "LL" == Lee Leahu <[email protected]> writes:
> 
> LL> What I want to do is be able to print out the actual message that
> LL> is sent to the user. Can anyone explain how to do this?
> 
> The routine you're looking at only opens a filehandle connected to the
> mailer program; the actual message will be printed to that filehandle
> somewhere after the place in the code where the routine is called.
> 
>  - J<
> 


-- 
+----------------------------------+---------------------------------+
| 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)                                |
+--------------------------------------------------------------------+