On Wed, 16 Jun 1999, Bruno Wolff III wrote:

> On Wed, Jun 16, 1999 at 10:31:23AM +0200,
>   Tomasz Papszun <[EMAIL PROTECTED]> wrote:
> > You're right about the problem but you *can* use preline with vacation. 
> > The trick is needed:
> > 
> > | preline sh -c '/usr/bin/vacation peter; cat > /dev/null'
> > 
> > (I got it probably from the qmail list). It works, I used it. I sent
> > myself a message sized a couple of MB to make sure :-) .
> 
> It might be better to change the vacation program to get the envelope
> sender information from the environment rather than the from line.
> If the envelope sender address has a space in it, it will be corrupted
> when it is put in the from line. This would also save running preline
> and cat for each mail delivery.

My vacation program gets that info from the environment provided by
qmail. It does NOT need the UUCP style "From user@place" header that
sendmail vacation programs rely on. That's why you don't need preline
with my vacation program.

Regards
Peter
----------
Peter Samuel                                [EMAIL PROTECTED]
Technical Consultant                        or at present:
eServ. Pty Ltd                              [EMAIL PROTECTED]
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