<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    You might be on to something.  I noticed that I am not able to send
    unix mail from the system:<br>
    <br>
    $ mailx -v -r <a class="moz-txt-link-abbreviated" href="mailto:reservations@domain.com">reservations@domain.com</a> -s "test" <a class="moz-txt-link-abbreviated" href="mailto:user@someemail.com">user@someemail.com</a><br>
    testing<br>
    1<br>
    2<br>
    3<br>
    .<br>
    EOT<br>
    <a class="moz-txt-link-abbreviated" href="mailto:user@someemail.com">user@someemail.com</a>... Connecting to [127.0.0.1] via relay...<br>
    220 localhost ESMTP Sendmail Ready; Thu, 10 Oct 2013 08:59:56 -0500<br>
    >>> EHLO host.hostingdomain.com<br>
    250-host.hostingdomain.com Hello localhost [127.0.0.1], pleased to
    meet you<br>
    250-ENHANCEDSTATUSCODES<br>
    250-PIPELINING<br>
    250-8BITMIME<br>
    250-SIZE<br>
    250-DSN<br>
    250-ETRN<br>
    250-AUTH LOGIN PLAIN<br>
    250-STARTTLS<br>
    250-DELIVERBY<br>
    250 HELP<br>
    >>> STARTTLS<br>
    220 2.0.0 Ready to start TLS<br>
    >>> EHLO host.hostingdomain.com<br>
    250-host.hostingdomain.com Hello localhost [127.0.0.1], pleased to
    meet you<br>
    250-ENHANCEDSTATUSCODES<br>
    250-PIPELINING<br>
    250-8BITMIME<br>
    250-SIZE<br>
    250-DSN<br>
    250-ETRN<br>
    250-AUTH LOGIN PLAIN<br>
    250-DELIVERBY<br>
    250 HELP<br>
    >>> MAIL From:<a class="moz-txt-link-rfc2396E" href="mailto:reservations@domain.com"><reservations@domain.com></a> SIZE=337
    <a class="moz-txt-link-abbreviated" href="mailto:AUTH=reservations@domain.com">AUTH=reservations@domain.com</a><br>
    553 5.3.0 <a class="moz-txt-link-rfc2396E" href="mailto:reservations@domain.com"><reservations@domain.com></a>... No such user here<br>
    <a class="moz-txt-link-abbreviated" href="mailto:reservations@domain.com">reservations@domain.com</a>... Using cached ESMTP connection to
    [127.0.0.1] via relay...<br>
    >>> RSET<br>
    250 2.0.0 Reset state<br>
    >>> MAIL From:<> SIZE=1361<br>
    250 2.1.0 <>... Sender ok<br>
    >>> RCPT To:<a class="moz-txt-link-rfc2396E" href="mailto:reservations@domain.com"><reservations@domain.com></a><br>
    >>> DATA<br>
    553 5.3.0 <a class="moz-txt-link-rfc2396E" href="mailto:reservations@domain.com"><reservations@domain.com></a>... No such user here<br>
    503 5.0.0 Need RCPT (recipient)<br>
    >>> RSET<br>
    250 2.0.0 Reset state<br>
    >>> RSET<br>
    250 2.0.0 Reset state<br>
    postmaster... Using cached ESMTP connection to [127.0.0.1] via
    relay...<br>
    >>> MAIL From:<> SIZE=2385<br>
    250 2.1.0 <>... Sender ok<br>
    >>> RCPT To:<a class="moz-txt-link-rfc2396E" href="mailto:postmaster@host.hostingdomain.com"><postmaster@host.hostingdomain.com></a><br>
    >>> DATA<br>
    550 5.1.1 <a class="moz-txt-link-rfc2396E" href="mailto:postmaster@host.hostingdomain.com"><postmaster@host.hostingdomain.com></a>... User unknown<br>
    503 5.0.0 Need RCPT (recipient)<br>
    >>> RSET<br>
    250 2.0.0 Reset state<br>
    Closing connection to [127.0.0.1]<br>
    >>> QUIT<br>
    221 2.0.0 host.hostingdomain.com closing connection<br>
    $<br>
    <br>
    I am not hosting email on the BlueOnyx box.  All user email is on
    Google.<br>
    <br>
    What do I need to do to get unix mail working???<br>
    <br>
    <div class="moz-cite-prefix">On 10/08/2013 02:49 AM, Wisja.net
      Computers wrote:<br>
    </div>
    <blockquote cite="mid:20131008073639.M506@wisja.net" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <meta content="OPENWEBMAIL" name="GENERATOR">
      Is the e-mail trying to e-mail something to somewhere?
      <br>
      (I suppose because it's called 'reservations.php').
      <br>
      <br>
      Then its probably needed to add an e-mailadress to the php.ini for
      that site.
      <br>
      <br>
      I don't know why (did some research without a real awnser) the
      server doesn't accept the outgoing phpmail (It thinks there is a
      bad header) but this is what I do:
      <br>
      <br>
      1. First you need suphp enabled (then you have a seperate php.ini
      file).
      <br>
      2. Login to the server and go to the site directory containing
      php.ini. Do 'chattr -i php.ini' (this removes the immutable bit)
      <br>
      3. Edit php.ini and find the sendmail line. There make it look
      like this sendmail -t <a class="moz-txt-link-abbreviated" href="mailto:real@emailadress.com">real@emailadress.com</a> (all php mail sent from
      scripts on this site will be going out with this adress!, normal
      mail will have it's own user and mail ofcourse).
      <br>
      4. Do 'chattr +i php.ini' to set the file to immutable again.
      <br>
      5. Restart apache (it will still give some NameVirtualHost
      warning, thats no problem).
      <br>
      6. Try the script!
      <br>
      <br>
      When there are changes made to the php settings of the site with
      the adminpages the setting could be lost and made again! Thats the
      downsite, but your client will at least be up and running.
      <br>
      <br>
      Wisja  <br>
      <br>
      <font size="2"><b>On Mon, 07 Oct 2013 21:29:39 -0500, Bob Wickline
          wrote</b>
        <br>
        > On 10/07/2013 09:23 PM, Gerald Waugh wrote: <br>
        > > On 10/07/2013 06:33 PM, Bob Wickline wrote: <br>
        > >> Having an issue with a users webpage.  They have a
        php script that is <br>
        > >> not executing correctly.  The site was working
        correctly on a Solaris <br>
        > >> host running apache 2 webserver.  I copied the
        files from the site to <br>
        > >> the "web" directory for the site.  All the other
        times I've done this it <br>
        > >> has worked fine.  Here's an excerpt from the
        error_log (see last line): <br>
        > >> <br>
        > >> [root@bowebserver ~]# tail -20
        /etc/httpd/logs/error_log <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.204:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.204:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.204:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.205:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.205:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.205:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.205:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.205:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.208:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.208:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.208:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.208:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost
        xxx.xxx.xxx.208:80 has <br>
        > >> no VirtualHosts <br>
        > >> [Mon Oct 07 18:20:59 2013] [notice] Digest:
        generating secret for digest <br>
        > >> authentication ... <br>
        > >> [Mon Oct 07 18:20:59 2013] [notice] Digest: done <br>
        > >> [Mon Oct 07 18:20:59 2013] [warn] No JkShmFile
        defined in httpd.conf. <br>
        > >> Using default /etc/httpd/logs/jk-runtime-status <br>
        > >> [Mon Oct 07 18:20:59 2013] [notice] Apache/2.2.15
        (Unix) DAV/2 <br>
        > >> mod_jk/1.2.32 PHP/5.3.3 mod_ssl/2.2.15
        OpenSSL/1.0.0-fips mod_perl/2.0.4 <br>
        > >> Perl/v5.10.1 configured -- resuming normal
        operations <br>
        > >> [Mon Oct 07 18:21:17 2013] [error] [client
        xxx.xxx.xxx.92] malformed <br>
        > >> header from script. Bad
        header=/home/.sites/112/site7/.users/: <br>
        > >> contact.php, referer: <a moz-do-not-send="true"
          target="_blank"
          href="http://www.somedomain.com/reservations.php">http://www.somedomain.com/reservations.php</a>
        <br>
        > >> [root@bowebserver ~]# <br>
        > >> <br>
        > >> The error message on the screen is: <br>
        > >> <br>
        > >> "Internal Server Error:  The server encountered an
        internal error or <br>
        > >> misconfiguration ad was unable to complete your
        request.  Your <br>
        > >> adminstrator may not have enabled CGIaccess to
        this directory." <br>
        > >> <br>
        > >> Any ideas would be appreciated.  I have tried it
        with both suPHP enabled <br>
        > >> and disabled and neither works.  CGI is enabled.
        "contact.php" is in the <br>
        > >> sites "web" directory. <br>
        > >> <br>
        > >> _ <br>
        > > Check the ownership of the script and other files in
        the web directory <br>
        > > for suphp try site admin <br>
        > > <br>
        > <br>
        > Yes I checked that.  Files are owned by site admin. <br>
        > <br>
        > _______________________________________________ <br>
        > Blueonyx mailing list <br>
        > <a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a> <br>
        > <a moz-do-not-send="true" target="_blank"
          href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
        <br>
        <br>
        <br>
      </font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Blueonyx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a>
<a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>