Hi Kyle,
Thanks for the suggestions. I tried a full uninstall reboot and reinstall and still the same result - the Smartermail service will not start.
There was nothing on the logs except for the sudo service smartermail status report which was as above in my original post.
I tried starting the SmarterMail service in a temainal and noticed a couple of things. The install is supposed to be using the Smartermail web server on port 17017 but when I started the SmarterMail service in a terminal it reported that it was listening on ports 80 and 443. It also recorded a "fail" status as it could not bind to
http://0.0.0.0:80 as follows:-
m0xtd@enterprise:~$ sudo /opt/smartermail/MailService
Listening on port 80 and 443info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[62]
User profile is available. Using '/root/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
warn: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[16]
The WebRootPath was not found: /home/m0xtd/wwwroot. Static files may be unavailable.
warn: Microsoft.AspNetCore.Server.Kestrel[0]
Overriding address(es) '
http://localhost:17017'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
fail: Microsoft.Extensions.Hosting.Internal.Host[11]
Hosting failed to start
System.IO.IOException: Failed to bind to address
http://0.0.0.0:80: address already in use.
---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
---> System.Net.Sockets.SocketException (98): Address already in use
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
The output from the service suggested that ports 80/443 was already in use - which they are because Apache is already running serving other websites, including the reverse proxy site for smartermail.
Given I am running Apace2 webserver on debian, I tried stopping Apache2 service and retired starting the Smartermail service again and this time it worked and was accessible on port 80 from the Debian machine.
However, Apache2 would not restart, reporting an error that the ports where already in use.
So is the Smartermail service using the built in web server trying to bind to ports 80, 443 and 17017 when in reality it should only be binding to 17017?
Ciaran