From 16b5bfb2a3a816edbc6af133bdfbdf90f518ae3f Mon Sep 17 00:00:00 2001 From: sthen Date: Fri, 27 Mar 2009 18:28:59 +0000 Subject: [PATCH] add a note to MESSAGE-chroot explaining that the php mail function needs /bin/sh. helps avoid hair-pulling and wasting a whole bunch of time... ok ajacoutot, okan (maintainer) --- mail/femail/Makefile | 4 ++-- mail/femail/pkg/MESSAGE-chroot | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mail/femail/Makefile b/mail/femail/Makefile index 25811b7a35c..5e2861885b3 100644 --- a/mail/femail/Makefile +++ b/mail/femail/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2008/07/20 22:26:00 okan Exp $ +# $OpenBSD: Makefile,v 1.6 2009/03/27 18:28:59 sthen Exp $ COMMENT-main= simple SMTP client COMMENT-chroot= simple SMTP client for chrooted apache @@ -6,7 +6,7 @@ COMMENT-chroot= simple SMTP client for chrooted apache V= 0.97 DISTNAME= femail-${V} PKGNAME-main= femail-${V}p1 -PKGNAME-chroot= femail-chroot-${V}p1 +PKGNAME-chroot= femail-chroot-${V}p2 CATEGORIES= mail HOMEPAGE= http://bulabula.org/femail/ diff --git a/mail/femail/pkg/MESSAGE-chroot b/mail/femail/pkg/MESSAGE-chroot index 4c0182744f9..6be0e8e01a4 100644 --- a/mail/femail/pkg/MESSAGE-chroot +++ b/mail/femail/pkg/MESSAGE-chroot @@ -3,3 +3,6 @@ review FAQ Section 10.16 discussing name resolution with httpd(8)'s default chroot(2). Additionally, one may create a custom femail.conf; see femail(8). + +If you're using femail with PHP inside a chroot jail, be aware that +PHP's built-in "mail" function uses popen(), which requires /bin/sh.