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

Greetz, Peter.
-- 
'I guess anybody who walks away from a root shell at :         Peter van Dijk
 a nerd party gets what they deserve!' -- BillSF     :[EMAIL PROTECTED]
-- --   -- --   -- --   -- --   -- --   -- --   -- --   -- --   -- --   -- --
finger [EMAIL PROTECTED] for my public PGP-key
  -  ---  -  ---  -  ---  -  ---  -  ---  -  ---  -  ---  -  ---  -  ---  -

Reply via email to