I am the one whose server he is moving too, let me provide more information.
One step at a time, sendmail is not working at all.
For example
Code:
echo TEST EMAIL | sendmail address@domain.com
will not work. So if this does not work, PHP will definitly not work. That is what Sogeking is saying the first half of his post.
/etc/hosts was changed from
Code:
127.0.0.1 inspiron-1000 inspiron-1000
to
Code:
000.000.000.000 inspiron-1000 inspiron-1000
because 000.000.000.000 is our external ip address (placeholder).
We are not and will not use ip6 unless that is the ONLY way to do it. So that part of the /etc/hosts did not need to be displayed, but its there just because.
The mail.log is where we see our problem. There are no entries in the mail.err. www-data is the group-name of the user sending the mail. Inspiron-1000 is the hostname of the system sending the mail, (its both the long and short name since there are no dots in the name). Server is UbuntuServer 13.04. Reply if more info/file catting needed.
I believe the problem is because sendmail still tries to use localhost (127.0.0.1) instead of the external ip. ANY help is appreciated, unneeded "I have this problem too!!!" is NOT APPRECIATED. Thanks in advanced!