|Michael Bevilacqua on 19 Aug 2009 17:08:43 -0700|
On Wed, Aug 19, 2009 at 7:02 PM, Eric <firstname.lastname@example.org> wrote:Michael D. Bevilacqua
The script that runs the php code runs as root so the FROM of the
Very bad idea. Linux comes with an apache user and group for this very reason (known as httpd on some systems). Use that. Don't use root.
Now I get bounces for this:
Yes, if that machine is handling email strictly for web.maindomain.com, it should be configured to handle only that and nothing else. Else, postfix will deliver locally. The myhostname directive in main.cf controls this. If you want it to receive mail, you should setup it's own MX with an FQDN of web.maindomain.com.
So yes, there is some reconfiguration that needs to happen.
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug