Re: [Dovecot] doveadm index - Bug or expected behaviour?

2014-06-06 Thread Bruno Galindro da Costa
ok tks!


2014-06-06 3:16 GMT-03:00 Steffen Kaiser :

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> On Thu, 5 Jun 2014, Bruno Galindro da Costa wrote:
>
>  My ldap config is using the variable %d in base search for domain
>> replacement when dovecot will search for users in LDAP. Its works fine for
>> dovecot operation.
>>
>
> When an user logs into Dovecot, the login process can extract the domain
> part from the login username.
>
>
>  But, for doveadm index, not. It ignores that variable and tries to pass a
>> base search without domain. So, the search will not working.
>>
>> This is the command:
>> # doveadm -v index -A  INBOX
>>
>
> If you iterate all users (-A), doveadm would need to guess all domains and
> iterate through them. So, in your case you cannot use -A. However, -u
> should work. That is, you call the command for each single user that you've
> iterated from LDAP via script.
>
>  base = ou=%d,ou=mail,ou=services,dc=domain
>>
> [...]
>
>  iterate_filter =
>> (&(objectclass=nisMailAlias)(ContaAtiva=TRUE)(!(EmailQuota=0)))
>> iterate_attrs = rfc822mailmember=user
>>
>
> - -- Steffen Kaiser
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQEVAwUBU5Fcynz1H7kL/d9rAQI7IggAitRJlAU4olmkTzUqXxrxxPAtF0FMcm0c
> PqWdByrNM0aLr1WTIShN7y83OnTwFhznuuTg6oVO6s72KZ6Izo9COOK70kLvoGzZ
> G4TyNu9S671hDVWsasuI+FvChGZURM+6E4G+ctsqTSjY8N8MV6hEdwrNhxBWbbfE
> nQ0BEMDDaM0Qeycyiy59nhlOkLiSkv40P2NnOekkSvogxb3rpxt9FQ6vIrBkCxJd
> K1xlwAWzg7Hr4LIUw3PJm0YjT7T4H+1AmiIm7iaAnT8My/9SSB9WCtmFQpzFNWOD
> tpKc3RcQJykJMpC4oKjgTi0Vh6PTl6g3xMdA9yJ2jmgpLVqpU2fNKw==
> =l3yY
> -END PGP SIGNATURE-
>



-- 
Att.
Bruno Galindro da Costa


Re: [Dovecot] Outlook 2007 & 2010 hangs in v2.2?

2014-06-06 Thread Robert Schetterer
Am 06.06.2014 16:25, schrieb Andy Dills:
> I can definitely confirm 100% there is a regression in dovecot 2.2 that 
> severely impacts the performance of outlook (but works great with everything 
> else).

please be exact in describing what Outlook version, i did not notice any
problem testing Outlook 2013, anyway thx for informing


Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


[Dovecot] Running dovecot under Cygwin

2014-06-06 Thread Manolis Spanakis
Hi,



In http://wiki2.dovecot.org/DovecotFeatures I found the following statement 
regarding devcot support of cygwin:
Cygwin works after a few code changes, but doesn't support SCM_RIGHTS


I downloaded "dovecot-2.2.13.tar.gr" and tried to compile it under cygwin 
version 1.7.30 (0.272/5/3) CYGWIN_NT-6.3-WOW642.580 (32-bit).


As I executed the:
$./configure
I got the following error:
error: fd passing is required for Dovecot to work


If I bypass this error by changing "configure" I get no other errors either in 
"configure" or "make".
It seems that 
"src/lib/fdpass.c"
 is the only library incompatible with cygwin.
Is there any file version available that provides a solution?


Thank you in advance,


Manolis Spanakis


  

Re: [Dovecot] Outlook 2007 & 2010 hangs in v2.2?

2014-06-06 Thread Andy Dills
We just upgraded from 2.1.16 to 2.2.13, and we have been have horrendous 
troubles with outlook since the upgrade.

For users with large mailboxes, they are unable to sync their folders. Perhaps 
this is specifically because of the problem you are mentioning Timo.

The only solution we could come up with for now was to configure outlook to 
only fetch headers and not bodies, when syncing. For the most part, bringing up 
individual messages is fine, haven't seen that fail. So, with that tweak to the 
outlook config, things are working error-free again for our users...but it was 
certainly an unexpected situation to tackle.

Also, we found a marked improvement connecting via SSL on 993 than we do 
unencrypted on 143.

I can definitely confirm 100% there is a regression in dovecot 2.2 that 
severely impacts the performance of outlook (but works great with everything 
else).

Let me know if I can help you track this down Timo.

Andy

Sent from my iPhone

> On Jun 5, 2014, at 1:40 PM, Timo Sirainen  wrote:
> 
>> On 5.6.2014, at 20.23, Robert Schetterer  wrote:
>> 
>> Am 05.06.2014 17:02, schrieb Timo Sirainen:
>>> On 5.6.2014, at 17.41, Martin Rabl  wrote:
>>> 
 Am 05.06.2014 16:38, schrieb Timo Sirainen:
> Has anybody noticed Outlook 2007 & 2010 (but apparently not 2013) hanging 
> IMAP connections with Dovecot v2.2 (but not v2.1) when they're FETCHing 
> large mails? I can't think of any reasonable explanation for this.
 how large?
>>> 
>>> I don't know yet if the mail size is even relevant. At least one hang was 
>>> caused by downloading ~55 MB mail where it stopped just before the last 400 
>>> kB.
>>> 
>>> I find it strange that v2.2 has been out for a long time and nobody before 
>>> this complained about any hangs.
>> 
>> 55 MB mail may are rare ,i can test it ,but it will need some time ( old
>> outlook install on clean new windows system)
>> perhaps anyone has an existing setup which could do it faster
> 
> Happens also with smaller mails, for example 3 MB and I think there were also 
> even smaller ones like 1 MB. I see that once Outlook tried to download the 
> same 3 MB mail 3 times and it stopped reading it when it had 400 kB left, but 
> the 4th time succeeded. Dovecot sent exactly the same data with the same TCP 
> packet boundaries all times (at least to Dovecot proxy - would have to look 
> with tcpdump further to see if proxy does something differently..)
> 
> Anyway, nobody in general has had trouble with Dovecot v2.2 and Outlook 
> 2007/2010? Maybe the problem is something else, although strange if it 
> started happening only immediately after Dovecot upgrade.