On 13-04-11 12:57 PM, Vilius Baušys wrote:

192.168.1.167 - - [11/Apr/2013:19:53:41 GMT] "GET
/SOGo/so/v.pavarde...@domain.com/preferences
<http://v.pavarde...@domain.com/preferences> HTTP/1.1" 200 13812/0 0.016 58952
76% -32K
Apr 11 19:53:47 sogod [15169]: [ERROR] [we-rm] did not find locale for language:
Lithuanian
2013-04-11 19:53:47.058 sogod[15169] Sieve connection failed on
sieve://localhost:4190
192.168.1.167 - - [11/Apr/2013:19:53:47 GMT] "POST
/SOGo/so/v.pavarde...@domain.com/preferences
<http://v.pavarde...@domain.com/preferences> HTTP/1.1" 200 531/1942 0.008 - - 0

sudo tcpdump -i lo -X port 4190
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
19:51:45.890627 IP localhost.localdomain.33313 > localhost.localdomain.sieve:
Flags [S], seq 592823452, win 32792, options [mss 16396,sackOK,TS val 3796466036
ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c bde8 4000 4006 7ed1 7f00 0001 E..<..@.@.~.....
0x0010: 7f00 0001 8221 105e 2355 c49c 0000 0000 .....!.^#U......
0x0020: a002 8018 b95d 0000 0204 400c 0402 080a .....]....@.....
0x0030: e249 7974 0000 0000 0103 0307 .Iyt........
19:51:45.890633 IP localhost.localdomain.sieve > localhost.localdomain.33313:
Flags [R.], seq 0, ack 592823453, win 0, length 0
0x0000: 4500 0028 0000 4000 4006 3cce 7f00 0001 E..(..@.@.<.....
0x0010: 7f00 0001 105e 8221 0000 0000 2355 c49d .....^.!....#U..
0x0020: 5014 0000 375c 0000 P...7\..

The connection is refused.  localhost.localdomain.sieve is returning a tcp 
reset.
I have no idea why it works when you telnet to the port...
Do you have iptables running on this host?
I just noticed that telnet is using ipv6 to connect, just to test, try this:
  telnet 127.0.0.1 4190
Might guess is that it will bomb.

run tcpdump -nn -X  next time to avoid the name resolution.



On Thu, Apr 11, 2013 at 7:48 PM, Jean Raby <jr...@inverse.ca
<mailto:jr...@inverse.ca>> wrote:

    On 13-04-11 12:10 PM, Vilius Baušys wrote:




        On Thu, Apr 11, 2013 at 10:15 AM, Adi Kriegisch <a...@cg.tuwien.ac.at
        <mailto:a...@cg.tuwien.ac.at>
        <mailto:a...@cg.tuwien.ac.at <mailto:a...@cg.tuwien.ac.at>>> wrote:

             You know that this is just a base64 encoded version of your
        username with
             your plain text password, right?
             In other words:
                | echo AHYucGF2YXJkZW5pc0Bla3NwbGEuY2__9tAGFiY2RhYmNk | base64 
-d


        I understand that. Does sogo connect to sieve diferent way?

        Folowed by Jean sugestion

        tcpdump -i lo -X port 4190

        15:36:11.358993 IP localhost.localdomain.58568 >
        localhost.localdomain.sieve: Fl
        ags [S], seq 3006656986, win 32792, options [mss 16396,sackOK,TS val
        3781131504
        ecr 0,nop,wscale 7], length 0
        0x0000: 4500 003c 8d2a 4000 4006 af8f 7f00 0001 E..<.*@.@.......
        0x0010: 7f00 0001 e4c8 105e b335 f1da 0000 0000 .......^.5......
        0x0020: a002 8018 9705 0000 0204 400c 0402 080a ..........@.....
        0x0030: e15f 7cf0 0000 0000 0103 0307 ._|.........

        While  tcpdump -i lo -X port 143
           15:58:36.408667 IP localhost.localdomain.54635 >
        localhost.localdomain.imap2:
        Flags [S], seq 3219743439 <tel:3219743439>, win 32792, options [mss
        16396,sackOK,TS val
        3782476553 ecr 0,nop,wscale 7], length 0
                  0x0000:  4500 003c 61c6 4000 4006 daf3 7f00 0001  
E..<a.@.@.......
                  0x0010:  7f00 0001 d56b 008f bfe9 62cf 0000 0000  
.....k....b.....
                  0x0020:  a002 8018 b25b 0000 0204 400c 0402 080a  
.....[....@.....
                  0x0030:  e174 0309 0000 0000 0103 0307            .t..........


    Please post the complete tcp exchange, this is only the first packet.
    If there's nothing else, then there's a problem at the TCP level since the
    sieve server didn't reply to the syn packet.

        --
        Vilius






    --
    Jean Raby
    jr...@inverse.ca <mailto:jr...@inverse.ca>  :: +1.514.447.4918
    <tel:%2B1.514.447.4918> (x120) :: www.inverse.ca <http://www.inverse.ca>
    Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and
    PacketFence (www.packetfence.org <http://www.packetfence.org>)
    --
    users@sogo.nu <mailto:users@sogo.nu>
    https://inverse.ca/sogo/lists




--
Jean Raby
jr...@inverse.ca  ::  +1.514.447.4918 (x120) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to