hi, i tried to create a few accounts in Vestacp, but couldn't receive any email notification. I created a php web form, but did not receive any email via php sendmail function as well. In fact, the VestaCP installation, i did not receive the initial email as well.
Setup is using Dynamic DNS, Portforwarding all configured (Eg. Port 25, 21, 22... FTP, SSH all working).
I tried to install sendmail function, but still did not work. Can anyone advice?sudo nano /etc/mail/local-host-names
machine_name.domain-name.comsudo nano /etc/hostname
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 <ubuntu_username@machine_name
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