Hello.
I'm trying to send mails via PHP, but it does not work.
So I tried to send one mail by using shell:
---------------------------------------
# sendmail -oi -v me@email.com <<END
> subject: test
>
> test
> END
-----------------------------------------
and I get this error message:
------------------------------------------
>>> MAIL From:<root@wrong_subdomain.foo.com> SIZE=19
250 OK
>>> RCPT To:<me@email.com>
550-Verification failed for <root@wrong_subdomain.foo.com>
550-unrouteable mail domain "wrong_subdomain.foo.com"
550 Sender verify failed
---------------------------------------------
In fact, wrong_subdomain.foo.com does not exist, but I
created it artificially when installing my Linux box, so
sendmail got it.
Is there any way to configure sendmail with another domain?
I was checking '/usr/share/sendmail-cf/cf' directory but
I did not find anything.
Any experience? Thank you very much.
I'm trying to send mails via PHP, but it does not work.
So I tried to send one mail by using shell:
---------------------------------------
# sendmail -oi -v me@email.com <<END
> subject: test
>
> test
> END
-----------------------------------------
and I get this error message:
------------------------------------------
>>> MAIL From:<root@wrong_subdomain.foo.com> SIZE=19
250 OK
>>> RCPT To:<me@email.com>
550-Verification failed for <root@wrong_subdomain.foo.com>
550-unrouteable mail domain "wrong_subdomain.foo.com"
550 Sender verify failed
---------------------------------------------
In fact, wrong_subdomain.foo.com does not exist, but I
created it artificially when installing my Linux box, so
sendmail got it.
Is there any way to configure sendmail with another domain?
I was checking '/usr/share/sendmail-cf/cf' directory but
I did not find anything.
Any experience? Thank you very much.