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 dave@rudedog.org | http://www.rudedog.org/ UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL-Postfix
Attachment:
pgpR78FBoHwLH.pgp
Description: PGP signature