hi all, I have a problem sending mails with mail(): when this code runs: mail("[EMAIL PROTECTED]","ciao","ciao<[EMAIL PROTECTED],%22ciao%22,%22ciao>", "From: marco <marco@ <[EMAIL PROTECTED]> anotherexample.com<http://anotherexample.com/> >"); any email arrives: qmail tells @400000004332b7d900edffbc delivery 548: deferral: 193.70.193.96_does_not_like_recipient./Remote_host_said:_450_<[EMAIL PROTECTED]>:_Sender_address_rejected:_Domain_not_found/Giving_up_on_193.70.193.96./<[EMAIL PROTECTED]:_Sender_address_rejected:_Domain_not_found/Giving_up_on_193.70.193.96./> It is a misconfiguration of php.ini or qmail and I don't know what to look for: in php.ini I wrote
[mail function] SMTP = localhost sendmail_from = [EMAIL PROTECTED] sendmail_path = /usr/sbin/sendmail (I've tryed to set a cmd line option for sendmail as sendmail -f [EMAIL PROTECTED] but it does not work...) and qmail is configured to accept only mails from localdomains. I think I have to set default address somewhere. tnks!! marco ps I've sent this message also in php-install ml but it is not arrived, so I crosspost it here