From owner-freebsd-isp Thu Apr 19 1:57:31 2001 Delivered-To: freebsd-isp@freebsd.org Received: from invicta.net (invictanet.claranet.co.uk [213.253.17.74]) by hub.freebsd.org (Postfix) with ESMTP id 61A7037B422 for ; Thu, 19 Apr 2001 01:57:25 -0700 (PDT) (envelope-from support@invicta.net) Received: from harryhome [192.168.0.3] by invicta.net [192.168.0.1] with SMTP (MDaemon.v3.5.2.R) for ; Thu, 19 Apr 2001 09:56:24 +0100 Reply-To: From: "InvictaNet Support" To: "Freebsd-ISP" Subject: FW: Stupid question Date: Thu, 19 Apr 2001 09:56:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-MDRemoteIP: 192.168.0.3 X-Return-Path: support@invicta.net X-MDaemon-Deliver-To: freebsd-isp@FreeBSD.ORG Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I do apologise for my earlier post. I have now read man mail and the -s option is blindingly obvious. My excuse is that it was a very long night and I am sure that somebody must have edited my man files while I wasn't looking. Martyn ----------------------------------------------------- InvictaNet - The Internet in Plain English, Guaranteed http://www.invictanet.co.uk info@invictanet.co.uk phone: 08707 440180 fax: 08707 440181 ------------------------------------------------------ -----Original Message----- From: owner-freebsd-isp@FreeBSD.ORG [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of InvictaNet Support Sent: Thursday, April 19, 2001 7:02 AM To: Freebsd-ISP Subject: I realise this may be very basic - but... In a shell script that I am slowly getting to work, I have the line: "echo New User ${1} ${2} | mail root" This does exactly what it says on the box (English TV advert joke), but... How can I get some/all of this information on the subject line of the message instead of/as well as in the body? Martyn ----------------------------------------------------- InvictaNet - The Internet in Plain English, Guaranteed http://www.invictanet.co.uk info@invictanet.co.uk phone: 08707 440180 fax: 08707 440181 ------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message