problem with quota warning script execution, error 75

2016-10-10 Thread Ximo Mira
Hi, Im quite new to dovecot and im trying to run quota warning script with no success. Using "quota = count:User quota" and this script: #!/bin/sh PERCENT=$1 USER=$2 cat << EOF | /usr/libexec/dovecot/dovecot-lda -d $USER -o "plugin/quota=count:User quota:noenforcin

Re: problem with quota warning script execution, error 75

2016-10-10 Thread Aki Tuomi
On 10.10.2016 11:49, Ximo Mira wrote: > Hi, > > Im quite new to dovecot and im trying to run quota warning script with no > success. Using "quota = count:User quota" and this script: > > #!/bin/sh > PERCENT=$1 > USER=$2 > cat << EOF | /usr/libexec/dovecot/dovecot-l

Re: problem with quota warning script execution, error 75

2016-10-10 Thread Ximo Mira
Like this? [root@server quota]# ./quota-warning.sh 85 existing_mail...@domain.com ; echo $ $ Got message succesfully delivered. - Mensaje original - De: "Aki Tuomi" Para: dovecot@dovecot.org Enviados: Lunes, 10 de Octubre 2016 11:14:01 Asunto: Re: problem with quota warning scr

Re: problem with quota warning script execution, error 75

2016-10-10 Thread Aki Tuomi
No, ./quota-warning.sh 85 existing_mail...@domain.com ; echo $? the '?' is part of the cmdline. On 10.10.2016 12:21, Ximo Mira wrote: > Like this? > > [root@server quota]# ./quota-warning.sh 85 existing_mail...@domain.com ; echo > $ > $ > > Got message succesfully delivered. > > > - Men

Re: problem with quota warning script execution, error 75

2016-10-10 Thread Ximo Mira
Output is 0 and mail is delivered. [root@server quota]# ./quota-warning.sh 85 existing_mail...@domain.com ; echo $? 0 - Mensaje original - De: "Aki Tuomi" Para: dovecot@dovecot.org Enviados: Lunes, 10 de Octubre 2016 11:37:26 Asunto: Re: problem with quota warning script executio

Re: problem with quota warning script execution, error 75

2016-10-10 Thread Aki Tuomi
You are running LDA directly, from within user's context. You need to let your users access auth-userdb, as explained in the error log entry: service auth { unix_listener /var/run/dovecot/auth-userdb { mode=0777 } } Aki On 10.10.2016 12:41, Ximo Mira wrote: > Output is 0 and mail is delivere

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Michael Felt
On 10-Oct-16 06:45, Aki Tuomi wrote: We do already support various non-GNU platforms, but our code does expect C99 conforming compiler these days. We also use autotools and libtool. rpcgen should be available, at least according to http://www.ibm.com/support/knowledgecenter/ssw_aix_61/com.ibm.a

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Michael Felt
On 10-Oct-16 06:45, Aki Tuomi wrote: We do already support various non-GNU platforms, but our code does expect C99 conforming compiler these days. We also use autotools and libtool. rpcgen should be available, at least according to http://www.ibm.com/support/knowledgecenter/ssw_aix_61/com.ibm.a

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Michael Felt
On 10-Oct-16 06:45, Aki Tuomi wrote: Does your build end at some particular point? See DETAILS for in depth (I hope enough!) study/report. Aki I would guess this is not "c99" way... Making all in lib-http source='test-http-auth.c' object='test-http-auth.o' libtool=no DEP

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Stephan Bosch
Op 10-10-2016 om 14:39 schreef Michael Felt: On 10-Oct-16 06:45, Aki Tuomi wrote: Does your build end at some particular point? See DETAILS for in depth (I hope enough!) study/report. Aki I would guess this is not "c99" way... It seems to fail on a C99 feature called Compound

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Michael Felt
On 10/10/2016 14:59, Stephan Bosch wrote: Op 10-10-2016 om 14:39 schreef Michael Felt: On 10-Oct-16 06:45, Aki Tuomi wrote: Does your build end at some particular point? See DETAILS for in depth (I hope enough!) study/report. Aki I would guess this is not "c99" way... It seem

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Stephan Bosch
Op 10-10-2016 om 17:16 schreef Michael Felt: On 10/10/2016 14:59, Stephan Bosch wrote: Op 10-10-2016 om 14:39 schreef Michael Felt: On 10-Oct-16 06:45, Aki Tuomi wrote: Does your build end at some particular point? See DETAILS for in depth (I hope enough!) study/report. Aki

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Michael Felt
On 10/10/2016 17:29, Stephan Bosch wrote: Op 10-10-2016 om 17:16 schreef Michael Felt: On 10/10/2016 14:59, Stephan Bosch wrote: Op 10-10-2016 om 14:39 schreef Michael Felt: On 10-Oct-16 06:45, Aki Tuomi wrote: Does your build end at some particular point? See DETAILS for in de

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Michael Felt
On 10/10/2016 14:59, Stephan Bosch wrote: It should be supported by AIX: https://www.ibm.com/support/knowledgecenter/SSGH3R_13.1.3/com.ibm.xlcpp1313.aix.doc/language_ref/compound_literals.html I have no idea why it would fail here. I see it is also in version 11 - so, maybe still syntax:

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Michael Felt
On 10/10/2016 17:29, Stephan Bosch wrote: Op 10-10-2016 om 17:16 schreef Michael Felt: On 10/10/2016 14:59, Stephan Bosch wrote: Op 10-10-2016 om 14:39 schreef Michael Felt: On 10-Oct-16 06:45, Aki Tuomi wrote: Does your build end at some particular point? See DETAILS for in de

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Michael Felt
On 10/10/2016 19:44, Michael Felt wrote: +11 main() +12 { +13 http_auth_param_t b[] = { +14 (http_auth_param_t) { .p1 = "c1" }, +15 (http_auth_param_t) { .p2 = "e2" } +16 }; +17 +18 printf("%s\n", a[0].p1);

Re: Pacaging/build issues with AIX and vac (dovecot-2.2.25)

2016-10-10 Thread Michael Felt
On 10/10/2016 14:59, Stephan Bosch wrote: It should be supported by AIX: https://www.ibm.com/support/knowledgecenter/SSGH3R_13.1.3/com.ibm.xlcpp1313.aix.doc/language_ref/compound_literals.html OK - it is supported, but "not in the same way as gcc". Getting it to simplified cases: No GO is

Hierarchy separator and LAYOUT=FS change

2016-10-10 Thread Simeon Ott
Hello, I stumbled across a 5-year-old post on the dovecot list about changing the dovecot hierarchy separator to enable shared mailboxes (http://www.dovecot.org/list/dovecot/2011-January/056201.html ). At the moment I’m stuck in a pr