Apache mod_evasive can't find the mail command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libapache-mod-evasive (Debian) |
Fix Released
|
Unknown
|
|||
libapache-mod-evasive (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libapache2-
1) Description: Ubuntu 10.04 LTS
Release: 10.04
2) libapache2-
3) Mod_evasive has the "DOSEmailNotify" option to send emails, but it tries to send use /bin/mail, but on ubuntu it is /usr/bin/mail.
4) I expected it to be able to send, but go this in the logs:
[Wed Jul 14 17:13:23 2010] [notice] Apache/2.2.14 (Ubuntu) PHP/5.3.
sh: /bin/mail: not found
5) Solution 1: Just symlink: (what I did)
ln -s /etc/alternativ
Solution 2: Patch the code in mod_evasive. (I'm not quite savvy enough to know how to do this, if this is the preferred solution I can try to learn how to make a patch)
Changed in libapache-mod-evasive (Debian): | |
status: | Unknown → New |
Changed in libapache-mod-evasive (Debian): | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.