I tried to install sendmail function, but did not work when did a echo test. Can anyone advice?
sudo nano /etc/mail/local-host-names domain-name.com machine_name.domain-name.com
sudo nano /etc/hostname 127.0.0.1 localhost 192.168.0.X machine_name.domain-name.com machine_name
192.168.0.X is the internal LAN fixed IP address of the machine.
set sendmail_path in php.ini sendmail_path = /usr/sbin/sendmail -t -i -f email@example.com
I could not find where to change this email address: ubuntu_username@machine_name . Is this the cause?
050 550-Verification failed for 050 550-The mail server could not deliver mail to ubuntu_username@machine_name. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 050 550 Sender verify failed 050 503-All RCPT commands were rejected with this error: 050 503-Sender verify failed