Peter van Dijk writes:
 > On Thu, Dec 31, 1998 at 01:42:13PM +1100, Kevin Waterson wrote:
 > > I wish to send the content of a text file to users on my system without
 > > attaching it.
 > > 
 > > I have tried
 > > cat file | echo to: user | /var/qmail/bin/qmail-inject
 > > 
 > > but while it sends a mail it does include the contents of the file
 > 
 > Either:
 > { echo to: user ; cat file } | /var/qmail/bin/qmail-inject
 > or
 > cat file | /var/qmail/bin/qmail-inject user

Even easier, /var/qmail/bin/mailsubj "the file" user <file

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.

Reply via email to