Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Adi Kriegisch
OK Dovecot ready.
AUTHENTICATE PLAIN AHYucGF2YXJkZW5pc0Bla3NwbGEuY29tAGFiY2RhYmNk
You know that this is just a base64 encoded version of your username with
your plain text password, right?
In other words:
  | echo AHYucGF2YXJkZW5pc0Bla3NwbGEuY29tAGFiY2RhYmNk | base64 -d

-- Adi
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Jean Raby

On 13-04-11 3:15 AM, Adi Kriegisch wrote:

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

Why exactly are you posting this to the list?

I mean, if the guy actually posted his real credentials to the list, the last 
thing he'd want is having someone reminding every subscriber how to get the 
plain text. No?


--
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


Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Vilius Baušys
On Thu, Apr 11, 2013 at 10:15 AM, Adi Kriegisch 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 AHYucGF2YXJkZW5pc0Bla3NwbGEuY29tAGFiY2RhYmNk | 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
0x: 4500 003c 8d2a 4000 4006 af8f 7f00 0001 E...*@.@...
0x0010: 7f00 0001 e4c8 105e b335 f1da   ...^.5..
0x0020: a002 8018 9705  0204 400c 0402 080a ..@.
0x0030: e15f 7cf0   0103 0307 ._|.

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

-- 
Vilius
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Jean Raby

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 wrote:

You know that this is just a base64 encoded version of your username with
your plain text password, right?
In other words:
   | echo AHYucGF2YXJkZW5pc0Bla3NwbGEuY29tAGFiY2RhYmNk | 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
0x: 4500 003c 8d2a 4000 4006 af8f 7f00 0001 E...*@.@...
0x0010: 7f00 0001 e4c8 105e b335 f1da   ...^.5..
0x0020: a002 8018 9705  0204 400c 0402 080a ..@.
0x0030: e15f 7cf0   0103 0307 ._|.

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


Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Vilius Baušys
192.168.1.167 - - [11/Apr/2013:19:53:41 GMT] GET /SOGo/so/
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/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
0x: 4500 003c bde8 4000 4006 7ed1 7f00 0001 E@.@.~.
0x0010: 7f00 0001 8221 105e 2355 c49c   .!.^#U..
0x0020: a002 8018 b95d  0204 400c 0402 080a .]@.
0x0030: e249 7974   0103 0307 .Iyt
19:51:45.890633 IP localhost.localdomain.sieve 
localhost.localdomain.33313: Flags [R.], seq 0, ack 592823453, win 0,
length 0
0x: 4500 0028  4000 4006 3cce 7f00 0001 E..(..@.@..
0x0010: 7f00 0001 105e 8221   2355 c49d .^.!#U..
0x0020: 5014  375c  P...7\..




On Thu, Apr 11, 2013 at 7:48 PM, Jean Raby 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 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
 0x: 4500 003c 8d2a 4000 4006 af8f 7f00 0001 E...*@.@...
 0x0010: 7f00 0001 e4c8 105e b335 f1da   ...^.5..
 0x0020: a002 8018 9705  0204 400c 0402 080a ..@.
 0x0030: e15f 7cf0   0103 0307 ._|.

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

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Vilius Baušys
tcpdump totali difers whn connecting with telnet to 4190. Looks like sogo
cannot ven trie to authentificate. While looking on SOGoSieveManager source
i see only to occurencies

if (!client) {
NSLog(@Sieve connection failed on %@, [url description]);
return NO;
}

and

if (!connected)
{
NSLog(@Sieve connection failed on %@, [url description]);
return NO;
}

dont realize which case is mine

20:03:12.754872 IP6 localhost.localdomain.57888 
localhost.localdomain.sieve: Flags [S], seq 105445056 1, win 32752, options
[mss 16376,sackOK,TS val 3797152900 ecr 0,nop,wscale 7], length 0
0x: 6000  0028 0640     `(.@
0x0010:    0001     
0x0020:    0001 e220 105e 3ed9 a381 ...^...
0x0030:   a002 7ff0 e217  0204 3ff8 ..?.
0x0040: 0402 080a e253 f484   0103 0307 .S..
20:03:12.754882 IP6 localhost.localdomain.sieve 
localhost.localdomain.57888: Flags [S.], seq 24947724 0, ack 1054450562,
win 32728, options [mss 16376,sackOK,TS val 3797152900 ecr
3797152900,nop,wscale 7], length 0
0x: 6000  0028 0640     `(.@
0x0010:    0001     
0x0020:    0001 105e e220 0ede b878 .^.x
0x0030: 3ed9 a382 a012 7fd8 43ef  0204 3ff8 ...C.?.
0x0040: 0402 080a e253 f484 e253 f484 0103 0307 .S...S..
20:03:12.754890 IP6 localhost.localdomain.57888 
localhost.localdomain.sieve: Flags [.], ack 1, win 25 6, options
[nop,nop,TS val 3797152900 ecr 3797152900], length 0
0x: 6000  0020 0640     `..@
0x0010:    0001     
0x0020:    0001 e220 105e 3ed9 a382 ...^...
0x0030: 0ede b879 8010 0100 2bd8  0101 080a ...y+...
0x0040: e253 f484 e253 f484 .S...S..
20:03:12.754956 IP6 localhost.localdomain.sieve 
localhost.localdomain.57888: Flags [P.], seq 1:321, a ck 1, win 256,
options [nop,nop,TS val 3797152900 ecr 3797152900], length 320
0x: 6000  0160 0640     ``.@
0x0010:    0001     
0x0020:    0001 105e e220 0ede b879 .^.y
0x0030: 3ed9 a382 8018 0100 0168  0101 080a h..
0x0040: e253 f484 e253 f484 2249 4d50 4c45 4d45 .S...S..IMPLEME
0x0050: 4e54 4154 494f 4e22 2022 646f 7665 636f NTATION.doveco
0x0060: 7422 0d0a 2253 4945 5645 2220 2266 696c t..SIEVE.fil
0x0070: 6569 6e74 6f20 7265 6a65 6374 2065 6e76 einto.reject.env
0x0080: 656c 6f70 6520 656e 636f 6465 642d 6368 elope.encoded-ch
0x0090: 6172 6163 7465 7220 7661 6361 7469 6f6e aracter.vacation
0x00a0: 2073 7562 6164 6472 6573 7320 636f 6d70 .subaddress.comp
0x00b0: 6172 6174 6f72 2d69 3b61 7363 6969 2d6e arator-i;ascii-n
0x00c0: 756d 6572 6963 2072 656c 6174 696f 6e61 umeric.relationa
0x00d0: 6c20 7265 6765 7820 696d 6170 3466 6c61 l.regex.imap4fla
0x00e0: 6773 2063 6f70 7920 696e 636c 7564 6520 gs.copy.include.
0x00f0: 7661 7269 6162 6c65 7320 626f 6479 2065 variables.body.e
0x0100: 6e6f 7469 6679 2065 6e76 6972 6f6e 6d65 notify.environme
0x0110: 6e74 206d 6169 6c62 6f78 2064 6174 6522 nt.mailbox.date
0x0120: 0d0a 2253 4153 4c22 2022 504c 4149 4e20 ..SASL.PLAIN.
0x0130: 4c4f 4749 4e20 4449 4745 5354 2d4d 4435 LOGIN.DIGEST-MD5
0x0140: 220d 0a22 5354 4152 5454 4c53 220d 0a22 ..STARTTLS..
0x0150: 4e4f 5449 4659 2220 226d 6169 6c74 6f22 NOTIFY.mailto
0x0160: 0d0a 2256 4552 5349 4f4e 2220 2231 2e30 ..VERSION.1.0
0x0170: 220d 0a4f 4b20 2244 6f76 6563 6f74 2072 ..OK.Dovecot.r
0x0180: 6561 6479 2e22 0d0a eady...



On Thu, Apr 11, 2013 at 7:57 PM, Vilius Baušys vilius.bau...@gmail.comwrote:


 192.168.1.167 - - [11/Apr/2013:19:53:41 GMT] GET /SOGo/so/
 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/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
 0x: 4500 003c bde8 4000 4006 7ed1 7f00 0001 E@.@.~.
 0x0010: 7f00 0001 8221 105e 2355 c49c   .!.^#U..
 0x0020: a002 8018 b95d  0204 400c 0402 080a .]@.
 0x0030: e249 7974   0103 0307 .Iyt
 19:51:45.890633 IP localhost.localdomain.sieve 
 localhost.localdomain.33313: Flags [R.], seq 0, ack 592823453, win 0,
 length 0
 0x: 4500 0028  4000 4006 3cce 7f00 

Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Jean Raby

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
0x: 4500 003c bde8 4000 4006 7ed1 7f00 0001 E@.@.~.
0x0010: 7f00 0001 8221 105e 2355 c49c   .!.^#U..
0x0020: a002 8018 b95d  0204 400c 0402 080a .]@.
0x0030: e249 7974   0103 0307 .Iyt
19:51:45.890633 IP localhost.localdomain.sieve  localhost.localdomain.33313:
Flags [R.], seq 0, ack 592823453, win 0, length 0
0x: 4500 0028  4000 4006 3cce 7f00 0001 E..(..@.@..
0x0010: 7f00 0001 105e 8221   2355 c49d .^.!#U..
0x0020: 5014  375c  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
0x: 4500 003c 8d2a 4000 4006 af8f 7f00 0001 E...*@.@...
0x0010: 7f00 0001 e4c8 105e b335 f1da   ...^.5..
0x0020: a002 8018 9705  0204 400c 0402 080a ..@.
0x0030: e15f 7cf0   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
  0x:  4500 003c 61c6 4000 4006 daf3 7f00 0001  
E..a.@.@...
  0x0010:  7f00 0001 d56b 008f bfe9 62cf    
.kb.
  0x0020:  a002 8018 b25b  0204 400c 0402 080a  
.[@.
  0x0030:  e174 0309   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


Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Vilius Baušys
 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?

There is no iptables on 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.


Yep!
Problem was in dovecot configuration:

protocol managesieve {
  listen = localhost:4190
}

 should be

protocol managesieve {
  listen = *:4190
}

Thank you Jean!

-- 
Vilius
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Jean Raby

On 13-04-11 1:58 PM, Vilius Baušys wrote:


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?

There is no iptables on 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.


Yep!
Problem was in dovecot configuration:

protocol managesieve {
   listen = localhost:4190
}

should be

protocol managesieve {
   listen = *:4190
}


You probably don't want sieve to listen on *:4190
I'd recommend using 127.0.0.1:4190


Thank you Jean!

--
Vilius



--
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


Re: [SOGo] Vacation / sieve scripts question

2013-04-11 Thread Vilius Baušys
In fact that was my primary intension - not listen sieve on all interfaces.

So it should be
protocol managesieve {
  listen = 127.0.01:4190
}

-- 
Vilius




On Thu, Apr 11, 2013 at 9:04 PM, Jean Raby jr...@inverse.ca wrote:

 On 13-04-11 1:58 PM, Vilius Baušys wrote:


 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?

 There is no iptables on 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.


 Yep!
 Problem was in dovecot configuration:

 protocol managesieve {
listen = localhost:4190
 }

 should be

 protocol managesieve {
listen = *:4190
 }

  You probably don't want sieve to listen on *:4190
 I'd recommend using 127.0.0.1:4190


  Thank you Jean!

 --
 Vilius



 --
 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

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Vacation / sieve scripts question

2013-04-10 Thread Vilius Baušys
Hello,

I have problem with vacation in sogo.
Acording to sogo.log seems that sieve service is not avalaible:

192.168.1.167 - - [10/Apr/2013:20:27:06 GMT] GET /SOGo/so/
v.pavarde...@domain.com/preferences HTTP/1.1 200 13736/0 0.016 58595 76% 4K
2013-04-10 20:27:09.006 sogod[31974] Sieve connection failed on
sieve://localhost:4190
192.168.1.167 - - [10/Apr/2013:20:27:09 GMT] POST /SOGo/so/
v.pavarde...@domain.com/preferences HTTP/1.1 200 637/1753 0.007 - - 0
192.168.1.167 - - [10/Apr/2013:20:27:09 GMT] GET /SOGo/so/
v.pavarde...@domain.com/Administration HTTP/1.1 200 3476/0 0.005 11962 70%
0
192.168.1.167 - - [10/Apr/2013:20:27:09 GMT] POST /SOGo/so/
v.pavarde...@domain.com/Calendar/alarmslist?browserTime=1365614798HTTP/1.1
200 2/0 0.003 - - 0

Sieve is configured as plugin in dovecot. But I can connect to managesieve
service, create and list scripts succesfuly:

vilius@mail:~$ telnet localhost 4190
Trying ::1...
Connected to localhost.localdomain.
Escape character is '^]'.
IMPLEMENTATION dovecot
SIEVE fileinto reject envelope encoded-character vacation subaddress
comparator-i;ascii-numeric relational regex imap4flags copy include
variables body enotify environment mailbox date
SASL PLAIN LOGIN DIGEST-MD5
STARTTLS
NOTIFY mailto
VERSION 1.0
OK Dovecot ready.
AUTHENTICATE PLAIN AHYucGF2YXJkZW5pc0Bla3NwbGEuY29tAGFiY2RhYmNk
OK Logged in.
PUTSCRIPT hutsefluts {6+}
keep;
OK PUTSCRIPT completed.
LISTSCRIPTS
hutsefluts
OK Listscripts completed.
^]

I believe there is some misconfiguration in sogo. But cannot find out what
I did wrong. How can I debug sogo connection to sieve?

.GNUstepDefaults content
?xml version=1.0 encoding=UTF-8?
!DOCTYPE plist PUBLIC -//GNUstep//DTD plist 0.9//EN 
http://www.gnustep.org/plist-0_9.xml;
plist version=0.9
dict
keyNSGlobalDomain/key
dict
/dict
keysogod/key
dict
keyOCSFolderInfoURL/key
stringmysql://sogo:password@localhost
:3306/sogo/sogo_folder_info/string
keyOCSSessionsFolderURL/key
stringmysql://sogo:password@localhost
:3306/sogo/sogo_sessions_folder/string
keySOGoACLsSendEMailNotifications/key
stringYES/string
keySOGoAppointmentSendEMailNotifications/key
stringYES/string
keySOGoAuthenticationMethod/key
stringSQL/string
keySOGoCalendarDefaultRoles/key
string=/string
keySOGoFirstDayOfWeek/key
string1/string
keySOGoFoldersSendEMailNotifications/key
stringYES/string
keySOGoLanguage/key
stringEnglish/string
keySOGoMailDomain/key
stringdomain.com/string
keySOGoMailMessageCheck/key
stringevery_5_minutes/string
keySOGoPasswordChangeEnabled/key
stringNO/string
keySOGoProfileURL/key
stringmysql://sogo:password@localhost
:3306/sogo/sogo_user_profile/string
keySOGoSieveScriptsEnabled/key
stringYES/string
keySOGoSieveServer/key
stringsieve://localhost:4190/string
keySOGoSuperUsernames/key
array
stringv.pavarde...@domain.com/string
/array
keySOGoTimeZone/key
stringEurope/Vilnius/string
keySOGoUserSources/key
array
dict
keyIMAPLoginFieldName/key
stringmail/string
keycanAuthenticate/key
stringYES/string
keyid/key
stringusers/string
keyisAddressBook/key
stringYES/string
keytype/key
stringsql/string
keyuserPasswordAlgorithm/key
stringmd5-crypt/string
keyviewURL/key
stringmysql://sogo:password@localhost
:3306/sogo/sogo_users/string
/dict
/array
keySOGoVacationEnabled/key
stringYES/string
/dict
/dict
/plist

dovecot -n output

# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-17-pve i686 Debian 6.0.6 simfs
log_path: /var/log/dovecot.log
protocols: imap imaps pop3 pop3s managesieve
listen(default): *:143
listen(imap): *:143
listen(pop3): *:110
listen(managesieve): localhost:4190
ssl_listen(default): *:993
ssl_listen(imap): *:993
ssl_listen(pop3): *:995
ssl_listen(managesieve): mail.domain.com
ssl_ca_file: /etc/ssl/certs/RapidSSL_CA_bundle.pem
ssl_cert_file: /etc/ssl/certs/mail.domain.com.crt
ssl_key_file: /etc/ssl/private/mail.domain.com.key
ssl_verify_client_cert: yes
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
first_valid_uid: 1000
last_valid_uid: 1000
first_valid_gid: 1000
last_valid_gid: 1000
mail_uid: vmail
mail_gid: vmail
mail_location:
maildir:/var/vmail/%d/%n/Maildir:INDEX=/var/vmail/%d/%n/indexes
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap