Make a Random Guess and use some port in a Random number like 30923. There are already hundreds of reserved ports for windows and many other applications. Solution is simple: Choose some port which is not used by some other application. davmail401: 09:41:01,147 ERROR main davmail - Unable to bind server socket for SMTP on port 1025: port not. Secondly, you are completly wrong in saying that your browser Binds to port 80 and view the webpages, Browers is only a client application which does not bind but get connected to port 80 on Some Webserver and retrieves and sends information back and forth! So your Webserver is using port 80 for incoming connection, Which is a server itself, You can connect to port 80 but not start a second Server on the same port! Here an extract of the DavMail logs: 10:21:34,585 INFO main davmail - DavMail Gateway 3.8.4-1432 listening on SMTP port 1025 POP port 1110 IMAP port 1143 CALDAV port 1080 LDAP port 1389 10:21:35,084 DEBUG CheckRelease. Using the same on the web access work perfectly. So you cant use it in your code, Its not a single occurance you run to Sockets and try to bind both 2 on same port, You'll see first will be ok and second will show you the same exception! The credential specified in thunderbird seems correct. Now, I’m wondering if I should launch it as systemd service (but then it would be a system-wide server running silently in the background).You cannot Bind to port 80 on your computer, the reason is pretty clear by the exeption you got that is already occupied/used by some other application. This has been what has traditionally been recommended. I have always started DavMail using /usr/bin/davmail via KDE Autostart. Maybe someone more knowledgeable than me can shed more light on this. Something has clearly changed between openSUSE 12.2 and 13.1 with regards to the shutdown process. So, while I don’t yet have a solution, I now know the cause. Tcp 0 0 localhost:iclpv-dm *:* LISTEN 861/java Tcp 0 0 localhost:blackjack *:* LISTEN 861/java Tcp 0 0 localhost:smtp *:* LISTEN 872/master Tcp 0 0 localhost:socks *:* LISTEN 861/java Tcp 0 0 localhost:imyx *:* LISTEN 861/java Tcp 0 0 localhost:webadmstart *:* LISTEN 861/java Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name When it starts I then have ps -A|grep javaĪnd the original process is bound to the portsĪctive Internet connections (only servers) When the OS is rebooted, it appears that the application is not closed properly, and the result is that a java process is already alive before davmail is started, ps -A|grep java Now that I’ve found to check further, I note that when davmail is running, there is an associated java process running (it is a java application after all). I’d be interested to know whether other DavMail gateway users are experiencing similar issues, or perhaps know of a possible fix or workaround… I think it may be related to systemd changes, but can’t be sure. If I terminate DavMail and restart it behaves okay, as does suspend/resume. Through a bit of research and trial and error, I have found that I can release the ports manually with fuser -k -n tcp 1025 Unable to bind server socket for LDAP on port 1389: port not allowed or in use by another process Unable to bind server socket for CALDAV on port 1080: port not allowed or in use by another process Unable to bind server socket for IMAP on port 1143: port not allowed or in use by another process Unable to bind server socket for POP on port 1110: port not allowed or in use by another process Shortly after configuring, I noticed that upon reboot (or shutdown) and starting DavMail again it complains with the following port binding messages Unable to bind server socket for SMTP on port 1025: port not allowed or in use by another process I connect to an exchange server for work email and calendars, using Thunderbird and DavMail. I have just moved from openSUSE 12.2 to 13.1 (clean install).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |