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:07:44
|
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. I thought about this as well and tried it. Still no message. I'm also watching the mail server logs and I don't ever see a delivery attempt even. I'm going to try the "stable" release today. Perhaps this just isn't working in the 1.8 beta. -jeremy > // Ulf Harnhammar > http://www.advogato.org/person/metaur > > |