exim4 configuration with SMTP: daemon abandoned

culter asked:

I’m trying to configure exim4 to send emails on Debian9.

I have a SMTP server 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 failed: Cannot assign requested address: daemon abandoned

Thank you

My answer:

You can’t start exim again when it is already running. You must first stop exim, then you can start it again.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.