> Email from the Internet gets redirected to the client's IP (55.66.77.88,
> above) without problems, but Apache-
> generated email (using php's mail() function) results in a bounce being
> sent to the admin email account like this:
>
> ----- The following addresses had permanent fatal errors -----
> user (at mark) domain.com
> (reason: 553 5.3.0 <user (at mark) domain.com>... No such user here)
> (expanded from: user (at mark) domain.com)
>
> ----- Transcript of session follows -----
>
> ... while talking to [127.0.0.1]:
> >>> DATA
>
> <<< 553 5.3.0 <user (at mark) domain.com>... No such user here
> 550 5.1.1 user (at mark) domain.com... User unknown
> <<< 503 5.0.0 Need RCPT (recipient)
>
> >From the above, it appears apache is trying to find the user at localhost
PHP scripts being unable to send emails:
================================
Find out which php.ini your PHP is using. If you're using the stock PHP that
came with BlueQuartz, your php.ini is probably located here:
/etc/php.ini
If you have the updated and more modern Solarspeed PHP, then your php.ini is
located here:
/home/php/etc/php.ini
Edit it and find the following line:
;sendmail_path =
Change it to this:
sendmail_path = /usr/sbin/sendmail -t -i -f admin
Then save the changes and restart Apache:
/etc/init.d/httpd restart
That will solve the issue.
--
With best regards,
Michael Stauber