On Tue, 20 Apr 1999, Rob Genovesi wrote:

> Has anyone ever modified the vacation program to quote the body of the
> original message in the autoreply message?  This is very trivial to do in
> concept, however things such as email attachments can cause obvious problems.
> 
> I'm using Peter Samuel's modified vacation for Qmail (thanks Peter!), I
> just need a reliable way to remove attachments from the body before
> including it in the reply.
> 
> Any suggestions?

Rather than heavily modify vacation, why not modify your .qmail entry thusly

    | attachment_strip | vacation psamuel

attachment_strip is some program that will strip the attachments, and
then you can modify vacation to simply quote the body of the message.

Why you would want to do this remains a mystery to me.

PS Coding of attachment_strip is left as an exercise for the reader,
unless there are programs that already do the job. As a starting point
the mpack and emil packages could be useful. Attachment handling is
NOT a trivial task.

Regards
Peter
----------
Peter Samuel                                [EMAIL PROTECTED]
Technical Consultant                        or at present:
Uniq Professional Services,                 [EMAIL PROTECTED]
a division of X-Direct Pty Ltd
Phone: +61 2 9206 3410                      Fax: +61 2 9281 1301

"If you kill all your unhappy customers, you'll only have happy ones left"

Reply via email to