you might just need to throw an extra echo in between the subject and grep
so there's a blank line between the header and body...

-tcl.


On Thu, 24 May 2001, Qmail wrote:

> Is it possible to script qmail-inject to send a full bodied message from the
> command line?
>
> I'm trying something like this:
>
> ( echo to: alerts@XYZnet ; echo from: [EMAIL PROTECTED] ; echo subject: logs ;
> grep '@customer.com' /var/log/qmail/* ) | /var/qmail/bin/qmail-inject
>
> I get the header, ok, but no body?
>
> Regards,
>
> Lance
>
>

Reply via email to