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

sendmaillog:
Apr 9 23:29:36 jackass sendmail[3365]: 39LTaKF003365: from=user, size=4877, class=0, nrcpts=0, msgid=<200404092129.i39LTaKF003365@jackass.xxxx.com>, relay=user@localhost
Apr 9 23:29:36 jackass sendmail[3365]: i39LTaKF003365: i39LTaKG003365: DSN: "Florian Walcher" <florian@xxx.com>... Unrecognized host name xxx.com.
Apr 9 23:29:36 jackass sendmail[3365]: i39LTaKG003365: to=clam.at, 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 sendmail.cf to handel the local mails from the webserver.

but I have no idea !

can anybody tell me how to solve this problem ?

thank you

 

 

 

 

Top