[Dovecot] [PATCH] Dovecot 2.1 compiling fix for AIX

2012-04-27 Thread SATOH Fumiyasu
Hi,

I'm trying to build Dovecot 2.1.5 on AIX 6.1 and got the following
build error:

$ ./configure
...
$ make
...
In file included from stats-connection.c:9:
stats-plugin.h:14: error: field 'user_cpu' has incomplete type
stats-plugin.h:14: error: field 'sys_cpu' has incomplete type
...

The attached patch fixes this problem.

-- 
-- Name: SATOH Fumiyasu (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- Personal Home: https://github.com/fumiyas/


dovecot-2.1-stats-plugin-build-on-AIX.patch
Description: Binary data


Re: [Dovecot] [PATCH] Dovecot 2.1 compiling fix for AIX

2012-04-27 Thread SATOH Fumiyasu
Revised patch. Sorry.

At Fri, 27 Apr 2012 16:20:28 +0900,
SATOH Fumiyasu wrote:
> I'm trying to build Dovecot 2.1.5 on AIX 6.1 and got the following
> build error:
> 
> $ ./configure
> ...
> $ make
> ...
> In file included from stats-connection.c:9:
> stats-plugin.h:14: error: field 'user_cpu' has incomplete type
> stats-plugin.h:14: error: field 'sys_cpu' has incomplete type
> ...
> 
> The attached patch fixes this problem.

-- 
-- Name: SATOH Fumiyasu (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- Personal Home: https://github.com/fumiyas/


dovecot-2.1-include-sys-time.h-to-build-on-AIX.patch
Description: Binary data


Re: [Dovecot] LDA crashes on delivery (using sieve)

2012-04-27 Thread interfaSys sàrl
Cheers Stephan! :)



On 27/04/2012 01:28, Stephan Bosch wrote:
> On 4/26/2012 5:32 PM, interfaSys sàrl wrote:
>> Hello,
>>
>> The current version of LDA can crash (seg fault 11) under certain
>> circumstances.
>>
>> I don't know why it happens only with some accounts, but here is a
>> backtrace. The user has a sieve filter in place :
>
> Fixed:
>
> http://hg.rename-it.nl/dovecot-2.1-pigeonhole/rev/f146790b5db3
>
> Regards,
>
> Stephan.


Re: [Dovecot] dovecot LDA error

2012-04-27 Thread Hadi Salem

Hi  Timo Sirainen,



It’s working with me fine. With no problem.

After I configured my MTA (sendmail) to run dovecot-lda as
root with chmod 4750 /local/user/libexce/dovecot/dovecot-lda. And create group
called secmail.

I had to change dovecot-lda group to secmail.  And then added mail to secmail 
group.

It works with me.

Before when I changed dovecot-lda group direct to mail doesn’t
work. But it should to work.!!!

 I think that was the
error. Later after creating separate group and adding mail to it, it’s working
fine.. Any idea here… why doesn’t work if I changed dovecot-lda direct to mail
group instead of creating new group and adding mail to it???.

Hadi-

 

 




> From: t...@iki.fi
> Date: Thu, 26 Apr 2012 00:29:51 +0300
> To: almarzuki2...@hotmail.com
> CC: dovecot@dovecot.org
> Subject: Re: [Dovecot] dovecot LDA error
> 
> On 24.4.2012, at 20.41, Hadi Salem wrote:
> 
> > Apr 24 20:25:46 lda(ja...@example.com): Fatal:
> > setgid(5000(vmail) from userdb lo   
> >
> > okup) failed with
> > euid=8(mail), gid=12(mail), egid=12(mail): Operation not permi  
> >  
> > tted (This binary should probably be called with process group set to 
> > 5000(vmail  
> >  
> > ) instead of 12(mail))
> 
> Configure your MTA to run dovecot-lda as vmail instead of as mail.
>