Subject: Re: Pipe to approve zaps message.
Date: Wed, 23 Aug 1995 18:34:58 +0100 (BST)
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text/plain; charset=US-ASCII
Dave Wolfe wrote ...
>[ Ken Bailey writes: ]
>> All this talk of problems with BOUNCEs and "approve" is quite topical
>> for us. We are trying to pipe BOUNCEd messages on a moderated list
>> through the approve script. This is resulting in the headers getting
>> sent to the list but the body of the message getting deleted :(
>> The only change to approve I have made is to substitute /usr/bin/mail
>> for /usr/ucb/mail.
>Been awhile since I've used DG/UX, but maybe you need to use
>/usr/bin/Mail (or is it /usr/bin/mailx?). I don't think Mail is a link
>to mail, and unless it is, it may have some friendlier characteristics
>than mail. Other than that, you might look for lines consisting of only
>a period (.) or lines beginning with a tilde (~) in the message itself.
>I changed approve in a similar manner and had to add 's/^~/~~/;' around
>line 206 to escape any leading tildes.
Thanks for that Dave but no joy.
It looks more like the pipe function in both elm and pine are only
passing the message up to the "From ..." line in the forwarded
message i.e. the header set after the BOUNCE headers :(
Anybody else crossed this bridge?
# Ken Bailey, Computer Department, # Internet: K.Bailey@rbgkew.org.uk #
# The Royal Botanic Gardens, Kew, # Tel: +44 (0)181 332 5729 #
# Richmond, Surrey, TW9 3AE, England # Fax: +44 (0)181 332 5278 #