Re: [mod-security-users] can't seem to get notification working...
Brought to you by:
victorhora,
zimmerletw
|
From: Ulf H. <me...@op...> - 2004-04-03 13:15:55
|
> But I don't receive the email, yet, when I execute this from the command > line, I get the email no problem. > > #!/bin/sh > > > > HOSTNAME=`hostname` > > > > > > echo "Attack detected. Check audit log" | mail -s "$HOSTNAME: attack > > detected" in...@me... A guess would be some problem with $PATH. Try inserting export PATH=/bin:/usr/bin or something similar as the second line of your script. // Ulf Harnhammar http://www.advogato.org/person/metaur -- _____________________________________________________________ Web-based SMS services available at http://www.operamail.com. From your mailbox to local or overseas cell phones. Powered by Outblaze |