Re: [mod-security-users] can't seem to get notification working...
Brought to you by:
victorhora,
zimmerletw
|
From: Jeremy H. <je...@me...> - 2004-04-03 16:33:07
|
On Sat, 3 Apr 2004, Ulf Harnhammar wrote: > > 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. So I tried 1.7.6 and still, no message so I'm obviously doing something wrong in my config. Any clues? Thanks -jeremy > // Ulf Harnhammar > http://www.advogato.org/person/metaur > > |