I'm trying to configure exim4
to send emails on Debian 9
.
I have a SMTP
server 192.168.202.22
, which listens on port 25
. (tested with telnet)
I'm able to send email with telnet connecting to this SMTP server
.
I need to send message with PHP
script, which I found here w3schools php7 email send
I think the problem will be in exim4
configuration. I tried to configure it according to this tutorial, but it's still not working.
I have this message in paniclog:
2019-07-31 14:51:51 socket bind() to port 25 for address 192.168.202.22 failed: Cannot assign requested address: daemon abandoned