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