Help (#2) - incompatible with smtp of freenet.de? (#214) - Message List

incompatible with smtp of freenet.de?

thx for this great app sending mail with one e-mail provider (alice) works fine although extremely slow, but with another (freenet) it does not at all logicmail tries to send for about 1 minute then stops without error message leaving message in outbox

debugging log shows

E LogicMail - net.rim.device.api.io.ConnectionClosedException: Stream closed
W LogicMail - Error converting message to stream: null

LM versions: 2.2 and 2.2.0.78
APN: web.vodafone.de
connection: direct tcp
SMTP: mx.freenet.de
Storm 9500, BB 5.0 Bundle 1413 (v5.0.0.841) platform 4.2.0.380

settings tried (freenet suggests settings TLS, port 587, LOGIN which works great for me in thunderbird):
TLS, SSL, never, TLS if available (translated from german)
ports tried 25, 465, 587
authentification: LOGIN, NONE, PLAIN, CRAM-MD5

receiving mail (imap) works fine with both providers

please help me finding the problem with sending mail with freenet, many thx in advance

  • Message #605

    Could you try turning the log level up to "Debug Info" and enabling "Connection Debugging" in the settings? (mentioned on the debugging page) This should cause a lot more information to be logged, hopefully including the communications between LogicMail and your mail server. (Which may actually tell us what isn't working correctly.)

  • Message #606

    Thank you for your fast reply.

    I hope the debug info now is better. In the first attempt I seemed to have incorrectly translated the instructions to german.

    Sorry for the large protocol. Some additional things seem to go on automatically which I do not understand at all. Thank you very much again for the effort without expecting payment!

    Here is the protocol:

    Socket: class net.rim.device.api.crypto.tls.ssl30.SSL30Connection
    Local address: 109.42.137.16
    Connection type: Direct TCPURL: ssl://mx.freenet.de:993;deviceside=true - 3/25 10:02:17
    i LogicMail - Opened connection:
    TCP_CELLULAR
    ssl://mx.freenet.de:993;deviceside=true - 3/25 10:02:17
    i net.rim.networkapi - Fats   1 - 3/25 10:02:17
    d net.rim.tcp - TXss - 3/25 10:02:16
    d net.rim.tcp - TXsb   65 - 3/25 10:02:16
    d net.rim.tcp - TXss - 3/25 10:02:16
    d net.rim.tcp - TXsb   6 - 3/25 10:02:16
    d net.rim.tcp - TXss - 3/25 10:02:16
    d net.rim.tcp - TXsb   137 - 3/25 10:02:16
    d net.rim.tcp - TXss - 3/25 10:02:15
    d net.rim.tcp - TXsb   114 - 3/25 10:02:15
    d net.rim.tcp - OPEN - 3/25 10:02:15
    a net.rim.tcp - open tcpsocket://mx.freenet.de:993;interface=cellular - 3/25 10:02:15
    d net.rim.networkapi - FcoC ssl://mx.freenet.de:993;deviceside=true - 3/25 10:02:15
    i net.rim.networkapi - Fatt   1 - 3/25 10:02:15
    d net.rim.tcp - TXss - 3/25 10:01:19
    d net.rim.tcp - TXsb   25 - 3/25 10:01:19
    d net.rim.tcp - TXss - 3/25 10:01:19
    d net.rim.tcp - TXsb   257 - 3/25 10:01:19
    d net.rim.tcp - TXss - 3/25 10:01:18
    d net.rim.tcp - TXsb   48 - 3/25 10:01:18
    d net.rim.tcp - OPEN - 3/25 10:01:18
    a net.rim.tcp - open tcpsocket://bin-short.whatsapp.net.:443;interface=cellular - 3/25 10:01:18
    i LogicMail - Connection closed - 3/25 10:01:08
    E LogicMail - java.io.IOException: Connection closed - 3/25 10:01:08
    i LogicMail - Connection closed - 3/25 10:01:08
    a net.rim.tcp - clos 15/112 - 3/25 10:01:08
    i LogicMail - Unable to read from socket, closing connection - 3/25 10:01:08
    d net.rim.tcp - TXss - 3/25 10:01:08
    d net.rim.tcp - TXsb   15 - 3/25 10:01:08
    d LogicMail - ImapProtocol.executeCapability() - 3/25 10:01:08
    i LogicMail - Connection established:
    Socket: class net.rim.device.cldc.io.tcpsocket.TcpClientConnection
    Local address: 109.42.137.16
    Connection type: Direct TCPURL: socket://imap.alice.de:143;deviceside=true - 3/25 10:00:58
    i LogicMail - Opened connection:
    TCP_CELLULAR
    socket://imap.alice.de:143;deviceside=true - 3/25 10:00:58
    i net.rim.networkapi - Fats   1 - 3/25 10:00:58
    d net.rim.tcp - OPEN - 3/25 10:00:58
    d LogicMail - MaildirFolder.close() - 3/25 10:00:53
    d LogicMail - MaildirFolder.getFolderMessages() - 3/25 10:00:53
    d LogicMail - MaildirFolder.open()
    Opened with 0 messages in index file - 3/25 10:00:53
    d LogicMail - MaildirFolder.open()
    Opening: file:///SDCard/BlackBerry/logicmail/local/Trash - 3/25 10:00:53
    a net.rim.tcp - clos 224/118 - 3/25 10:00:53
    a net.rim.tcp - disc   -4 - 3/25 10:00:53
    a net.rim.tcp - open tcpsocket://imap.alice.de:143;interface=cellular - 3/25 10:00:53
    d LogicMail - MaildirFolder.close() - 3/25 10:00:53
    d net.rim.networkapi - FcoC socket://imap.alice.de:143;deviceside=true - 3/25 10:00:53
    i net.rim.networkapi - Fatt   1 - 3/25 10:00:53
    d LogicMail - MaildirFolder.getFolderMessages() - 3/25 10:00:52
    d LogicMail - MaildirFolder.open()
    Opened with 5 messages in index file - 3/25 10:00:52
    d LogicMail - MaildirFolder.open()
    Opening: file:///SDCard/BlackBerry/logicmail/local/Sent - 3/25 10:00:52
    d LogicMail - MaildirFolder.close() - 3/25 10:00:52
    d LogicMail - MaildirFolder.getFolderMessages() - 3/25 10:00:52
    d LogicMail - MaildirFolder.open()
    Opened with 0 messages in index file - 3/25 10:00:52
    d net.rim.tcp - TXss - 3/25 10:00:52
    d LogicMail - MaildirFolder.open()
    Opening: file:///SDCard/BlackBerry/logicmail/local/Outbox - 3/25 10:00:52
    d net.rim.tcp - TXsb   130 - 3/25 10:00:52
    d LogicMail - MaildirFolder.close() - 3/25 10:00:52
    d LogicMail - MaildirFolder.getFolderMessages() - 3/25 10:00:52
    d LogicMail - MaildirFolder.open()
    Opened with 5 messages in index file - 3/25 10:00:52
    d LogicMail - MaildirFolder.open()
    Opening: file:///SDCard/BlackBerry/logicmail/local/Drafts - 3/25 10:00:52
    d net.rim.tcp - TXss - 3/25 10:00:52
    d net.rim.tcp - TXsb   94 - 3/25 10:00:51
    d net.rim.tcp - OPEN - 3/25 10:00:51
    a net.rim.tcp - open tcpsocket://139.7.29.1:80;interface=cellular;apn=wap.vodafone.de;tunnelAuthUsername=;tunnelAuthPassword=;qos=0,0,0,0,0 - 3/25 10:00:51
    i LogicMail - Application startup
    Date: So Mrz. 25 10:00:50 Europe/Amsterdam 2012
    Name: LogicMail
    Version: 2.2.0.78
    Platform: 9500 5.0.0.841 (touch)
     - 3/25 10:00:50
    
    • Message #607

      I repeated the procedure and surprisingly got a quite different protocol. Hence I post it too. I am sorry that I am not able to shorten it.

      There is one description in german "E LogicMail - Verbindung kann nicht geöffnet werden - 3/25 13:40:40", which I would translate to "connection can not be opened"

      many thx again

      #BlackBerry Event Log (cpt)
      #HwID: 0x6001404
      #DPIN: 0x20ccab15
      #PVer: 4.2.0.380
      #AVer: 5.0.0.841
      i LogicMail - Connection closed - 3/25 13:42:23
      d LogicMail - [SEND CMD] QUIT - 3/25 13:42:23
      d LogicMail - SmtpProtocol.executeQuit() - 3/25 13:42:23
      a net.rim.tcp - clos 20/102 - 3/25 13:42:23
      E LogicMail - net.rim.device.api.io.ConnectionClosedException: Stream closed - 3/25 13:42:23
      W LogicMail - Watchdog timeout - 3/25 13:42:23
      d LogicMail - [RECV] 550 Administrative prohibition - 3/25 13:41:53
      d net.rim.tcp - TXss - 3/25 13:41:41
      d net.rim.tcp - TXsb   20 - 3/25 13:41:41
      d LogicMail - [SEND CMD] EHLO 109.45.82.158 - 3/25 13:41:41
      d LogicMail - SmtpProtocol.executeExtendedHello("109.45.82.158") - 3/25 13:41:41
      d LogicMail - [RECV] 220 11.mx.freenet.de ESMTP Exim 4.76 Sun, 25 Mar 2012 13:41:39 +0200 - 3/25 13:41:41
      d LogicMail - MaildirFolder.close() - 3/25 13:41:37
      d LogicMail - MaildirFolder.getFolderMessages() - 3/25 13:41:36
      d LogicMail - MaildirFolder.open()
      Opened with 0 messages in index file - 3/25 13:41:36
      d LogicMail - MaildirFolder.open()
      Opening: file:///SDCard/BlackBerry/logicmail/local/Outbox - 3/25 13:41:36
      d LogicMail - SmtpProtocol.receiveGreeting() - 3/25 13:41:31
      i LogicMail - Connection established:
      Socket: class net.rim.device.cldc.io.tcpsocket.TcpClientConnection
      Local address: 109.45.82.158
      Connection type: Direct TCPURL: socket://mx.freenet.de:587;deviceside=true - 3/25 13:41:31
      i LogicMail - Opened connection:
      TCP_CELLULAR
      socket://mx.freenet.de:587;deviceside=ue - 3/25 13:41:31
      i net.rim.networkapi - Fats   1 - 3/25 13:41:31
      d net.rim.tcp - OPEN - 3/25 13:41:31
      a net.rim.tcp - open tcpsocket://mx.freenet.de:587;interfaceÎllular - 3/25 13:41:31
      d net.rim.networkapi - FcoC socket://mx.freenet.de:587;deviceside=true - 3/25 13:41:31
      i net.rim.networkapi - Fatt   1 - 3/25 13:41:31
      d net.rim.tcp - TXss - 3/25 13:41:27
      d net.rim.tcp - TXsb   25 - 3/25 13:41:27
      d net.rim.tcp - TXss - 3/25 13:41:26
      d net.rim.tcp - TXsb   257 - 3/25 13:41:26
      d net.rim.tcp - TXss - 3/25 13:41:26
      d net.rim.tcp - TXsb   48 - 3/25 13:41:26
      d net.rim.tcp - OPEN - 3/25 13:41:26
      a net.rim.tcp - open tcpsocket://bin-short.whatsapp.net.:443;interfaceÎllular - 3/25 13:41:25
      E LogicMail - org.logicprobe.LogicMail.util.WrappedIOException: Verbindung kann nicht geöffnet werden - 3/25 13:40:40
      E LogicMail - Verbindung kann nicht geöffnet werden - 3/25 13:40:40
      i net.rim.networkapi - FatF java.io.IOException: General socket error - 3/25 13:40:40
      i net.rim.networkapi - Fatf   1 - 3/25 13:40:40
      E net.rim.tcp - OPsx   -1 - 3/25 13:40:40
      d LogicMail - MaildirFolder.close() - 3/25 13:40:27
      d LogicMail - MaildirFolder.getFolderMessages() - 3/25 13:40:27
      d LogicMail - MaildirFolder.open()
      Opened with 0 messages in index file - 3/25 13:40:27
      d LogicMail - MaildirFolder.open()
      Opening: file:///SDCard/BlackBerry/logicmail/local/Trash - 3/25 13:40:27
      d LogicMail - MaildirFolder.close() - 3/25 13:40:27
      a net.rim.tcp - open tcpsocket://imap.alice.de:143;interfaceÎllular - 3/25 13:40:27
      d net.rim.networkapi - FcoC socket://imap.alice.de:143;deviceside=true - 3/25 13:40:27
      i net.rim.networkapi - Fatt   1 - 3/25 13:40:27
      d LogicMail - MaildirFolder.getFolderMessages() - 3/25 13:40:27
      d LogicMail - MaildirFolder.open()
      Opened with 5 messages in index file - 3/25 13:40:27
      d LogicMail - MaildirFolder.open()
      Opening: file:///SDCard/BlackBerry/logicmail/local/Sent - 3/25 13:40:27
      d LogicMail - MaildirFolder.close() - 3/25 13:40:27
      d LogicMail - MaildirFolder.getFolderMessages() - 3/25 13:40:27
      d LogicMail - MaildirFolder.open()
      Opened with 0 messages in index file - 3/25 13:40:26
      d LogicMail - MaildirFolder.open()
      Opening: file:///SDCard/BlackBerry/logicmail/local/Outbox - 3/25 13:40:26
      d LogicMail - MaildirFolder.close() - 3/25 13:40:26
      d LogicMail - MaildirFolder.getFolderMessages() - 3/25 13:40:26
      d LogicMail - MaildirFolder.open()
      Opened with 5 messages in index file - 3/25 13:40:26
      d LogicMail - MaildirFolder.open()
      Opening: file:///SDCard/BlackBerry/logicmail/local/Drafts - 3/25 13:40:26
      a net.rim.tcp - clos 0/0 - 3/25 13:40:25
      E net.rim.tcp - OPsx   -7 - 3/25 13:40:25
      W net.rim.tcp - fail   -4 - 3/25 13:40:25
      E net.rim.tcp - OPsx   -7 - 3/25 13:40:25
      a net.rim.tcp - disc   -4 - 3/25 13:40:25
      a net.rim.tcp - open tcpsocket://bin-short.whatsapp.net.:443;interfaceÎllular - 3/25 13:40:25
      a net.rim.tcp - clos 330/162 - 3/25 13:40:25
      a net.rim.tcp - disc   -4 - 3/25 13:40:25
      a net.rim.tcp - clos 1304/2710 - 3/25 13:40:25
      a net.rim.tcp - disc   -4 - 3/25 13:40:25
      a net.rim.tcp - open tcpsocket://139.7.29.1:80;interfaceÎllular;apn=wap.vodafone.de;tunnelAuthUsername=;tunnelAuthPassword=;qos=0,0,0,0,0 - 3/25 13:40:25
      i LogicMail - Application startup
      Date: So Mrz. 25 13:40:24 Europe/Amsterdam 2012
      Name: LogicMail
      Version: 2.2.0.78
      Platform: 9500 5.0.0.841 (touch)
       - 3/25 13:40:24
      
      • Message #608

        After reading dozens of web sites I found a workaround or may be even the correct solution. Although not completely understood, I thought that the problem might be sending a wrong adddress for the HELO/EHLO, which I believe was the local address of my blackberry. I guessed that this address actually should be the hostname of freenet.

        In the configuration menue I checked 'Override hostname' and typed the 'mx.freenet.de' address. And yeah, sending mail works!

        Moreover, as this is a global setting, to my surprise sending over my second account (alice) is not negatively affected by this setting.

        I hope that is not downright nonsense. On the other hand it works.

        Again thank you for this great app.

Subscriptions

Moderation