jberrenberg / docker-davmail

Docker container for DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway
The Unlicense
39 stars 17 forks source link

Unable to set log and not working #9

Open byaka opened 4 years ago

byaka commented 4 years ago

image

config default from http://davmail.sourceforge.net/serversetup.html with only changed server url.

from host telnet 127.0.0.1 1143 not working

byaka commented 4 years ago

adding -p 1080:1080 -p 1025:1025 -p 1143:1143 solved problem with not worked server

sitic commented 4 years ago

For logging you can set

davmail.logFilePath=/proc/self/fd/1

in davmail.properties to have them logged to the docker daemon. Access them with docker logs CONTAINER.

oradwell commented 3 years ago

viewing logs via docker logs or kubectl logs is the best way as @sitic mentioned. I use davmail.logFilePath=/dev/stdout which works as well

f1-outsourcing commented 1 year ago

Any one know how to get logging to go to/dev/log? I am starting the container with " -v /dev/log:/dev/log"