Okay, so this has been fixed in Debian's 1.10.1-3, but to work around it
you can actually create a /bin/mail replacement that invokes "sendmail
-t". I haven't run into the problem that Jozsef indicates -- but I can
imagine it will break if www-user can't invoke the command for whatever
reason.

The reason you should use sendmail -t instead of mailx is that the mail
is sent with the headers as part of the main message body (i.e. it
doesn't provide subject and recipient as commandline arguments). See
https://bugzilla.novell.com/show_bug.cgi?id=884877 for details -- but
note that the patch there won't work if mailx is used, as mailx doesn't
accept a -t:

  kiko@gasolinux:~$ /usr/bin/mailx -t
  /usr/bin/mailx: invalid option -- 't'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/605679

Title:
  Apache mod_evasive can't find the mail command

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libapache-mod-evasive/+bug/605679/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to