Jump to content
Froxlor Forum
  • 0

dovecot server connection problem


tejashwini

Question

hi,

I have a problem while connecting to dovecot server from windows7 to linuxOS.

on the client side i use windows7 where my application is run, whereas on server side i use linuxOS where dovecot is installed.

when i connect through telnet 201.123.80.168 143 port (from windows7 to linux)i get following error:

Connecting to 201.123.80.168.....Could not open connection to the host , on port 143:connection failed

 

 

but when i try to connect between linuxOS(both server and client are RHEL) the connection gets established, but  the connection remains stabilised for few minutes only nevertheless i reconnect it.

 

Could any one help me!! i need to fix this issue immediately.

 

thank you,

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

Could you please test with a normal mail client and not via telnet? Do, verify that you have configured dovecot as Froxlor shows you and that the service is running. Also, post Mailserver logs

Link to comment
Share on other sites

Hi,

 

We have tested with thunderbird and the same problem persists..

Is there any special setting in Dovecot to enable Window clients to connect to dovecot?

I presume that the dovecot configuration is correct since we are able to connect from a linux client..

 

Awaiting your response..

 

thanks..

Link to comment
Share on other sites

when i run the application on client side(Windows7) and give the "tcpdump -i eth0"  command on server side(linux OS) and check for packet flow, i found the following details:


09:36:27.295156 IP (tos 0x0, ttl 128, id 2177, offset 0, flags [DF], proto TCP (6), length 40)
    200.100.10.10.55479 > abc.def.com.imap: Flags [.], cksum 0xcb36 (correct), ack 1, win 16425, length 0
09:36:27.297858 IP (tos 0x0, ttl 64, id 23770, offset 0, flags [DF], proto TCP (6), length 149)
    abc.def.com.imap > 200.100.10.10.55479: Flags [P.], cksum 0x346d (incorrect -> 0xe362), seq 1:110, ack 1, win 46, length 109
09:36:30.297177 IP (tos 0x0, ttl 64, id 23771, offset 0, flags [DF], proto TCP (6), length 149)
    abc.def.com.imap > 200.100.10.10.55479: Flags [P.], cksum 0x346d (incorrect -> 0xe362), seq 1:110, ack 1, win 46, length 109
09:36:36.297164 IP (tos 0x0, ttl 64, id 23772, offset 0, flags [DF], proto TCP (6), length 149)
    abc.def.com.imap > 200.100.10.10.55479: Flags [P.], cksum 0x346d (incorrect -> 0xe362), seq 1:110, ack 1, win 46, length 109
-------------------------------------------------------------------------------------------------------------------------------------------------------
 here,  200.100.10.10.55479-> client
           abc.def.com.imap->server

i am unable to rectify where exactly i am losing connectivity.
could you please suggest me
 

Link to comment
Share on other sites

when i run the application on client side(Windows7) and give the "tcpdump -i eth0" command on server side(linux OS) and check for packet flow, i found the following details:

09:36:27.295156 IP (tos 0x0, ttl 128, id 2177, offset 0, flags [DF], proto TCP (6), length 40) 200.100.10.10.55479 > abc.def.com.imap: Flags [.], cksum 0xcb36 (correct), ack 1, win 16425, length 0 09:36:27.297858 IP (tos 0x0, ttl 64, id 23770, offset 0, flags [DF], proto TCP (6), length 149) abc.def.com.imap > 200.100.10.10.55479: Flags [P.], cksum 0x346d (incorrect -> 0xe362), seq 1:110, ack 1, win 46, length 109 09:36:30.297177 IP (tos 0x0, ttl 64, id 23771, offset 0, flags [DF], proto TCP (6), length 149) abc.def.com.imap > 200.100.10.10.55479: Flags [P.], cksum 0x346d (incorrect -> 0xe362), seq 1:110, ack 1, win 46, length 109 09:36:36.297164 IP (tos 0x0, ttl 64, id 23772, offset 0, flags [DF], proto TCP (6), length 149)

abc.def.com.imap > 200.100.10.10.55479: Flags [P.], cksum 0x346d (incorrect -> 0xe362), seq 1:110, ack 1, win 46, length 109

here, 200.100.10.10.55479-> client abc.def.com.imap->server

i am unable to rectify where exactly i am losing connectivity. could you please suggest me

Link to comment
Share on other sites

javax.mail.MessagingException: * BYE JavaMail Exception: java.net.SocketException: Connection reset;
  nested exception is:
        com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketException: Connection reset
        at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:616)
        at javax.mail.Service.connect(Service.java:291)
        at javax.mail.Service.connect(Service.java:172)
        at mail.ClientActions.login(ClientActions.java:293)
        at mail.MailView.submitActionPerformed(MailView.java:828)
        at mail.MailView.access$900(MailView.java:34)
        at mail.MailView$6.actionPerformed(MailView.java:266)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6216)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5981)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4583)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4413)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Window.dispatchEventImpl(Window.java:2475)
        at java.awt.Component.dispatchEvent(Component.java:4413)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketException: Connection reset
        at com.sun.mail.iap.Protocol.handleResult(Protocol.java:345)
        at com.sun.mail.imap.protocol.IMAPProtocol.authplain(IMAPProtocol.java:529)
        at com.sun.mail.imap.IMAPStore.login(IMAPStore.java:662)
        at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:596)
        ... 33 more

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...