Sending email via PHP mail command in jail

Josh Paetzel friar_josh at tcbug.org
Mon Dec 15 07:02:53 PST 2003


On Sun, Dec 14, 2003 at 07:52:39PM -0700, Brent Wiese wrote:
> I have a 4.9 system running various jails.
> 
> My clients want to be able to send confirmation emails via PHP's mail()
> command.
> 
> Postfix doesn't seem to install right in the jail.
> 
> I found a program called mini-sendmail and compiled it to use a relay server
> I have... It works fine from command line, but terminates oddly when called
> from php.
> 
> Any suggestions?
> 
> I don't need an SMTP daemon running, just the ability to send confirmation
> messages. Like I mentioned above, I have a relay box I can use if the
> solution is something like mini-sendmail.
> 
> Thanks,
> Brent
> 
> 

put SMTP = my.relay.mail.box into your /usr/local/etc/php.ini

Josh Paetzel


More information about the freebsd-questions mailing list