On Monday 18 September 2006 15:08, Marco Müller wrote:

> IFS="
> "
> nail -s "Login to <put Servername here> by $USER" root < .
> $
>
>
> where 'root' is the user this Mail is being mailed to. Nail is a mailer
> like mail and expects a dot to commit EOM.

Just to nitpick, but your syntax of "nail ... <." is not sending a dot to 
nail. It's redirecting the contents of the file ".", which is the current 
directory. If you want to send a dot to a command you should do

echo . | nail -s ...

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL-Postfix

Attachment: pgp6EMDWkzaFp.pgp
Description: PGP signature

Reply via email to