Results 1 to 3 of 3
  1. #1

    php sendmail troubles

    I have one linux box for all (mailserver and webserver)

    webserver ( php with suphp + apache )
    mailserver (sendmail-8.12.11 as daemon)

    the mta is sendmail-8.12.11 and I also like to use the sendmail for sending mails with some php scripts. but this doesn't work at the moment.

    I have already set the path in the php.ini to "/usr/sbin/sendmail -f -i" , but I always get an internal error(500) when I try to send a mail out with the php mail function and the following lines in the

    Apr 9 23:29:36 jackass sendmail[3365]: 39LTaKF003365: from=user, size=4877, class=0, nrcpts=0, msgid=<[email protected]>, [email protected]
    Apr 9 23:29:36 jackass sendmail[3365]: i39LTaKF003365: i39LTaKG003365: DSN: "Florian Walcher" <[email protected]>... Unrecognized host name
    Apr 9 23:29:36 jackass sendmail[3365]: i39LTaKG003365:, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=35901, dsn=2.0.0, stat=Sent

    maybe I have to change something in the to handel the local mails from the webserver.

    but I have no idea !

    can anybody tell me how to solve this problem ?

    thank you

  2. #2
    Join Date
    Mar 2003
    California USA
    tail -f your apache error log when you run the script
    Steven Ciaburri | Proactive Linux Server Management -
    Managed Servers (AS62710), Server Management, and Security Auditing.

  3. #3
    mv /wht/Dedicated_Server_Forum/this_thread /wht/Technical_BS/this_thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts