Re: [Dovecot] Dovecot 2.1.16
Hi,for example i have this structure:user:pi...@domain.it--INBOX -- here a would like only mail for example from pl...@domain.itif a user create some subfolder like:-- INBOX.folder1-- INBOX.folder2. in this folder i would show only the emails that i have in INBOXThanksDa: dovecot-boun...@dovecot.org A: paolo.brocchi paolo.broc...@staff.aruba.it Cc: dovecot@dovecot.org Data: Wed, 27 Nov 2013 08:14:15 +0100 (CET) Oggetto: Re: [Dovecot] Dovecot 2.1.16 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 26 Nov 2013, paolo.brocchi wrote: Hi,for example in INBOX i would like to have only email with header = , but if a user create a or more folders under INBOX i woluld like to have the same email that i show into INBOX.Thanks Paolo Hmm. What about an example? 1) on delivery: you want all emails, that do _not_ have a specific header, deleted, aka not filed into any mailbox and 2) if someone has created any sub-mailboxes under the INBOX, say INBOX.folder1 and INBOX.folder2, you want to show up all these messages in your INBOX as well? On Mon, 25 Nov 2013, paolo.brocchi wrote: I would like to have in INBOX folder some emails (e.g email with a header key). The same emails i would like to have into the folders, under INBOX, create by users. Could you be more verbose please, perhaps with an example. I suppose you need a Sieve script like if header XYZ ABC { fileinto ...; } ... But I possibly misunderstand you. - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUpWbyF3r2wJMiz2NAQIUYgf8DY1g1fkTIHTNbZ/K358LUYVQyl1o5KdN 4y8rZV+nuW4jD02+0+JH5WtQphcFfJB0dkLQ2J4hZGaRYNR3m897swsL+qe2Uwwm nph5KDZ+rWHaGzGqEjkngrHqb0CoJ1hs0+7ntJB2u6x9ZWorN4hDDGQ5rQpHEWYH pXxCjkKh1WMAJEhu2STfTKWS08Ac+eoHl8SolHWK3qk4+CQIHDXd5eYjm6OmfdSW jlElEaXGOy6zOyCFbkcwT7WUHxzzQ2H3FWoW7OzzXrtYyHwkOAmqVZ9YLKCECjrb 7pu3OJ3Ka3jTEmbpqUYy45d17SYYx0x4xcDM9MVG0DqG4LRkBWMFgQ== =2SAL -END PGP SIGNATURE-
Re: [Dovecot] Dovecot 2.1.16
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 25 Nov 2013, paolo.brocchi wrote: I would like to have in INBOX folder some emails (e.g email with a header key). The same emails i would like to have into the folders, under INBOX, create by users. Could you be more verbose please, perhaps with an example. I suppose you need a Sieve script like if header XYZ ABC { fileinto ...; } ... But I possibly misunderstand you. - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUpRi0V3r2wJMiz2NAQJj4ggAqu78SksjqPdJl6Dqwk4Bo5PjG+s+g736 oQPLeuIsrTjcrnaxIAiLEMaqs4hDgCsvdiFm9RgJAoWG5VbeRuAkjXJb0kPGCh7M Fg49uduUe6FDqLSfdHTKf3rTe0K29pzIuVeKLJViE24cEZeduNKVqT0PiwSmEcXH Nao+Gk9n4RGlJsBxyVl1xHyACEyaZYl2h8E7nwxbZEvyVpGyUkyjjg/qKn+y4iuT soz4ZI4I0leVwm06CsjJcvDCQou7PMZWPjYkzjs79UH7Qkvqp1REwkt8peEOma55 2IJWROC88k6bWQI1e1wVEef67uOireMNk/OvMhf1zeTgSq0kuswAWw== =wGao -END PGP SIGNATURE-
Re: [Dovecot] Dovecot 2.1.16
Hi,for example in INBOX i would like to have only email with header = , but if a user create a or more folders under INBOX i woluld like to have the same email that i show into INBOX.Thanks Paolo Da: dovecot-boun...@dovecot.org A: paolo.brocchi paolo.broc...@staff.aruba.it Cc: dovecot@dovecot.org Data: Tue, 26 Nov 2013 09:58:56 +0100 (CET) Oggetto: Re: [Dovecot] Dovecot 2.1.16 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 25 Nov 2013, paolo.brocchi wrote: I would like to have in INBOX folder some emails (e.g email with a header key). The same emails i would like to have into the folders, under INBOX, create by users. Could you be more verbose please, perhaps with an example. I suppose you need a Sieve script like if header XYZ ABC { fileinto ...; } ... But I possibly misunderstand you. - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUpRi0V3r2wJMiz2NAQJj4ggAqu78SksjqPdJl6Dqwk4Bo5PjG+s+g736 oQPLeuIsrTjcrnaxIAiLEMaqs4hDgCsvdiFm9RgJAoWG5VbeRuAkjXJb0kPGCh7M Fg49uduUe6FDqLSfdHTKf3rTe0K29pzIuVeKLJViE24cEZeduNKVqT0PiwSmEcXH Nao+Gk9n4RGlJsBxyVl1xHyACEyaZYl2h8E7nwxbZEvyVpGyUkyjjg/qKn+y4iuT soz4ZI4I0leVwm06CsjJcvDCQou7PMZWPjYkzjs79UH7Qkvqp1REwkt8peEOma55 2IJWROC88k6bWQI1e1wVEef67uOireMNk/OvMhf1zeTgSq0kuswAWw== =wGao -END PGP SIGNATURE-
Re: [Dovecot] Dovecot 2.1.16
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 26 Nov 2013, paolo.brocchi wrote: Hi,for example in INBOX i would like to have only email with header = , but if a user create a or more folders under INBOX i woluld like to have the same email that i show into INBOX.Thanks Paolo Hmm. What about an example? 1) on delivery: you want all emails, that do _not_ have a specific header, deleted, aka not filed into any mailbox and 2) if someone has created any sub-mailboxes under the INBOX, say INBOX.folder1 and INBOX.folder2, you want to show up all these messages in your INBOX as well? On Mon, 25 Nov 2013, paolo.brocchi wrote: I would like to have in INBOX folder some emails (e.g email with a header key). The same emails i would like to have into the folders, under INBOX, create by users. Could you be more verbose please, perhaps with an example. I suppose you need a Sieve script like if header XYZ ABC { fileinto ...; } ... But I possibly misunderstand you. - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUpWbyF3r2wJMiz2NAQIUYgf8DY1g1fkTIHTNbZ/K358LUYVQyl1o5KdN 4y8rZV+nuW4jD02+0+JH5WtQphcFfJB0dkLQ2J4hZGaRYNR3m897swsL+qe2Uwwm nph5KDZ+rWHaGzGqEjkngrHqb0CoJ1hs0+7ntJB2u6x9ZWorN4hDDGQ5rQpHEWYH pXxCjkKh1WMAJEhu2STfTKWS08Ac+eoHl8SolHWK3qk4+CQIHDXd5eYjm6OmfdSW jlElEaXGOy6zOyCFbkcwT7WUHxzzQ2H3FWoW7OzzXrtYyHwkOAmqVZ9YLKCECjrb 7pu3OJ3Ka3jTEmbpqUYy45d17SYYx0x4xcDM9MVG0DqG4LRkBWMFgQ== =2SAL -END PGP SIGNATURE-
[Dovecot] Dovecot 2.1.16
Hi, i would ask you a question about a particular dovecot configuration. I would like to have in INBOX folder some emails (e.g email with a header key). The same emails i would like to have into the folders, under INBOX, create by users. How can i do? Thanks Paolo
[Dovecot] Dovecot 2.1.16 doveadm purge -A segfault
Hi, I know that a lot of work has been done regarding doveadm server, but I'm still experiencing easily reproducible segfault crashes of doveadm-server with 2.1.16 when running the following command in a 4 node director/mailbox cluster: /usr/bin/doveadm -c /etc/dovecot-director/dovecot-director.conf -D purge -A The dovecot-error.log shows the following errors (addresses anonymized): Apr 29 15:45:14 10.129.3.233 dovecot: doveadm: Error: purge: invalid option -- '' Apr 29 15:45:14 10.129.3.233 dovecot: doveadm(x.xxx...@xxx-xx.xx): Error: doveadm purge: Client sent unknown parameter: ? Apr 29 15:45:14 10.129.3.233 dovecot: doveadm: Error: purge: invalid option -- '�' Apr 29 15:45:14 10.129.3.233 dovecot: doveadm(x.xxx...@xxx-xx.xx): Error: doveadm purge: Client sent unknown parameter: ? Apr 29 15:45:14 10.129.3.249 dovecot: doveadm: Error: purge: invalid option -- '�' Apr 29 15:45:14 10.129.3.249 dovecot: doveadm(x.xxx...@xxx-xx.xx): Error: doveadm purge: Client sent unknown parameter: ? Apr 29 15:45:14 10.129.3.249 dovecot: doveadm: Error: purge: invalid option -- 'r' Apr 29 15:45:14 10.129.3.249 dovecot: doveadm(x.xxx...@xxx-xx.xx): Error: doveadm purge: Client sent unknown parameter: ? Apr 29 15:45:14 10.129.3.213 dovecot: doveadm: Error: purge: invalid option -- 'e' Apr 29 15:45:14 10.129.3.213 dovecot: doveadm(xx...@xx.xx): Error: doveadm purge: Client sent unknown parameter: ? Apr 29 15:45:14 10.129.3.213 dovecot: doveadm: Error: purge: invalid option -- 'g' Apr 29 15:45:14 10.129.3.213 dovecot: doveadm(xx...@xx.xx): Error: doveadm purge: Client sent unknown parameter: ? Apr 29 15:45:14 10.129.3.213 dovecot: doveadm: Error: purge: invalid option -- 'e' Apr 29 15:45:14 10.129.3.213 dovecot: doveadm(xx...@xx.xx): Error: doveadm purge: Client sent unknown parameter: ? Apr 29 15:45:14 10.129.3.213 dovecot: doveadm: Error: purge: invalid option -- '-' Apr 29 15:45:14 10.129.3.213 dovecot: doveadm(xx...@xx.xx): Error: doveadm purge: Client sent unknown parameter: ? Apr 29 15:45:14 10.129.3.249 dovecot: doveadm: Error: purge: invalid option -- '' Apr 29 15:45:14 10.129.3.249 dovecot: doveadm(xxx...@xx.xx): Error: doveadm purge: Client sent unknown parameter: ? Apr 29 15:45:14 10.129.3.213 dovecot: doveadm(xx...@xx.xx): Fatal: master: service(doveadm): child 6316 killed with signal 11 (core dumped) There seems to something wrong with the doveadm command parser: # gdb /usr/lib/dovecot/doveadm-server /var/tmp/6316 (gdb) bt full #0 0x7f52f0dc7cca in ?? () from /lib/libc.so.6 No symbol table info available. #1 0x7f52f0dc8dab in ?? () from /lib/libc.so.6 No symbol table info available. #2 0x7f52f0dc8e18 in getopt () from /lib/libc.so.6 No symbol table info available. #3 0x004138ce in doveadm_mail_cmd_server_parse (conn=0xe09ad0) at client-connection.c:69 getopt_args = 0xdfa6b8 AS:u: c = value optimized out cmd = 0xe062c8 add_username_header = false #4 client_handle_command (conn=0xe09ad0) at client-connection.c:223 ctx = 0xe0dae0 flags = value optimized out cmd_name = value optimized out input = {module = 0x0, service = 0x4210f0 doveadm, username = 0xdfa59a ...@.xx, session_id = 0x0, local_ip = {family = 0, u = {ip6 = {__in6_u = {__u6_addr8 = '\000' repeats 15 times, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}}, remote_ip = {family = 0, u = {ip6 = {__in6_u = {__u6_addr8 = '\000' repeats 15 times, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}}, local_port = 0, remote_port = 0, userdb_fields = 0x0, flags_override_add = 0, flags_override_remove = 0, no_userdb_lookup = 0} argc = value optimized out #5 client_connection_input (conn=0xe09ad0) at client-connection.c:326 args = value optimized out _data_stack_cur_id = 3 line = value optimized out ok = value optimized out #6 0x7f52f10e6166 in io_loop_call_io (io=0xe097e0) at ioloop.c:379 ioloop = 0xe026a0 t_id = 2 #7 0x7f52f10e71ef in io_loop_handler_run (ioloop=value optimized out) at ioloop-epoll.c:213 ctx = 0xe054f0 event = 0xe05560 list = 0xe09950 io = 0xdfa5c8 tv = {tv_sec = 2147483, tv_usec = 0} msecs = value optimized out ret = value optimized out i = 0 call = false #8 0x7f52f10e6108 in io_loop_run (ioloop=0xe026a0) at ioloop.c:398 No locals. #9 0x7f52f10d15a3 in master_service_run (service=0xe02550, callback=0) at master-service.c:544 No locals. #10 0x00414111 in main (argc=1, argv=0xe02370) at main.c:90 set_roots = {0x422780, 0x0} error = 0x0 Regards Daniel -- https://plus.google.com/103021802792276734820 # 2.1.16: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-46-server x86_64 Ubuntu 10.04.4
Re: [Dovecot] Dovecot 2.1.16: default_client_count written to the logs
On Mon, 2013-04-22 at 14:07 +0200, Axel Luttgens wrote: Hello, As to be expected with low system limits, a warning may be written to the logs: master: Warning: fd limit (ulimit -n) is lower than required under max. load (256 1000), because of default_client_count Shouldn't it read default_client_limit instead of default_client_count? Yes, fixed. It seems that the warning is written only when reloading Dovecot, not upon Dovecot's startup. Is this deliberate? At startup it only goes to stderr, which I guess your init script hides. Although it would be nice if it logged it also.. I'll see about changing that.
Re: [Dovecot] Dovecot 2.1.16: default_client_count written to the logs
Le 23 avr. 2013 à 12:37, Timo Sirainen a écrit : On Mon, 2013-04-22 at 14:07 +0200, Axel Luttgens wrote: Hello, [...] Shouldn't it read default_client_limit instead of default_client_count? Yes, fixed. Thanks, Timo. It seems that the warning is written only when reloading Dovecot, not upon Dovecot's startup. Is this deliberate? At startup it only goes to stderr, which I guess your init script hides. Indeed, stdout/stderr are ignored by default for daemons started by launchd (one could specify file paths for those outputs, at the expense of some fds). Although it would be nice if it logged it also.. I'll see about changing that. Probably not a high priority one, but... yes, would be nice to have such warnings logged as well at startup. Best regards, Axel
[Dovecot] Dovecot 2.1.16: default_client_count written to the logs
Hello, As to be expected with low system limits, a warning may be written to the logs: master: Warning: fd limit (ulimit -n) is lower than required under max. load (256 1000), because of default_client_count Shouldn't it read default_client_limit instead of default_client_count? It seems that the warning is written only when reloading Dovecot, not upon Dovecot's startup. Is this deliberate? Thanks, Axel
[Dovecot] Dovecot 2.1.16: Quota plugin compile fails: Solaris 10
Dovecot 2.1.16 fails to compile giving the following error under Solaris 10. Previously I had no problem compiling 2.1.12. The start of the config.log file contains: It was created by Dovecot configure 2.1.16, which was generated by GNU Autoconf 2.68. Invocation command line was $ ./configure ## - ## ## Platform. ## ## - ## hostname = luna uname -m = i86pc uname -r = 5.10 uname -s = SunOS uname -v = Generic_148889-01 /usr/bin/uname -p = i386 /bin/uname -X = System = SunOS Node = luna Release = 5.10 KernelID = Generic_148889-01 Machine = i86pc BusType = unknown Serial = unknown Users = unknown OEM# = 0 Origin# = 1 NumCPU = 4 /bin/arch = i86pc /usr/bin/arch -k = i86pc /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/sfw/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/sbin PATH: /usr/ccs/bin PATH: /opt/SUNWspro/bin PATH: /usr/ucb GCC version info: Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) Making all in quota gmake[4]: Entering directory `/usr/local/src/mail/dovecot/dovecot-2.1.16/src/plugins/quota' gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-master -I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -I../../../src/doveadm -I/usr/local/ssl/include -I/usr/sfw/include -I/usr/local/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -I/usr/local/ssl/include -MT quota-status.o -MD -MP -MF .deps/quota-status.Tpo -c -o quota-status.o quota-status.c quota-status.c: In function `main': quota-status.c:200: error: `optarg' undeclared (first use in this function) quota-status.c:200: error: (Each undeclared identifier is reported only once quota-status.c:200: error: for each function it appears in.) gmake[4]: *** [quota-status.o] Error 1 gmake[4]: Leaving directory `/usr/local/src/mail/dovecot/dovecot-2.1.16/src/plugins/quota' Steve -- --- IT Systems Administrator, E-Mail:- st...@earth.ox.ac.uk Department of Earth Sciences,Tel:- +44 (0)1865 282110 Oxford University, South Parks Road, Oxford, UK. Fax:- +44 (0)1865 272072
[Dovecot] Dovecot 2.1.16: Mail server input error: UPDATE-SESSION pop3: stats shrank
Daniel Parthey wrote: Timo Sirainen wrote: On 27.11.2012, at 23.47, Daniel Parthey wrote: Can you fix these strange stats plugin errors please? These are the only errors regularly occurring in our 2.1.10 logs: Nov 27 08:06:54 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 429 622 Nov 27 08:07:06 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION: stats shrank: mlpath 436 622 It's strange that I can't figure out how to reproduce this no matter what I do. Could you with latest hg, especially: http://hg.dovecot.org/dovecot-2.1/rev/c81f1ca3cda6 and also the attached patch, which simplifies the stats plugin? Yes, version 2.1.13 plus the simplification patch fixes the problem. Please apply :) Version 2.1.16 logs the following error: Apr 16 18:07:58 10.129.3.249 dovecot: stats: Error: Mail server input error: UPDATE-SESSION us...@example.org pop3: stats shrank: mlpath 1 2 Apr 16 18:46:44 10.129.3.233 dovecot: stats: Error: Mail server input error: UPDATE-SESSION us...@example.org pop3: stats shrank: mlpath 3 4 Were there any reasons NOT to apply stats.diff the 2.1.x branch or did you simply overlook my mail? Regards Daniel -- https://plus.google.com/103021802792276734820 diff -r c81f1ca3cda6 src/plugins/stats/stats-plugin.c --- a/src/plugins/stats/stats-plugin.c Wed Nov 28 04:29:58 2012 +0200 +++ b/src/plugins/stats/stats-plugin.c Wed Nov 28 04:30:03 2012 +0200 @@ -55,8 +55,6 @@ static int proc_io_fd = -1; static struct stats_connection *global_stats_conn = NULL; -static struct mail_user *stats_global_user = NULL; -static unsigned int stats_user_count = 0; static void session_stats_refresh_timeout(struct mail_user *user); @@ -188,16 +186,7 @@ struct mail_user *user = context; struct stats_user *suser = STATS_USER_CONTEXT(user); - if (stats_user_count == 1) { - /* the first user sets the global user. the second user sets - it to NULL. when we get back to one user we'll need to set - the global user again somewhere. do it here. */ - stats_global_user = user; - } else { - i_assert(stats_global_user == NULL); - - mail_stats_get(suser, suser-pre_io_stats); - } + mail_stats_get(suser, suser-pre_io_stats); } static void timeval_add_diff(struct timeval *dest, @@ -489,8 +478,6 @@ static void session_stats_refresh_timeout(struct mail_user *user) { - if (stats_global_user != NULL) - stats_add_session(user); session_stats_refresh(user); } @@ -500,13 +487,10 @@ struct stats_user *suser = STATS_USER_CONTEXT(user); unsigned int last_update_secs; - if (stats_global_user == NULL) - stats_add_session(user); + stats_add_session(user); last_update_secs = time(NULL) - suser-last_session_update; if (last_update_secs = suser-refresh_secs) { - if (stats_global_user != NULL) - stats_add_session(user); session_stats_refresh(user); } else if (suser-to_stats_timeout == NULL) { suser-to_stats_timeout = @@ -520,16 +504,6 @@ struct stats_user *suser = STATS_USER_CONTEXT(user); struct stats_connection *stats_conn = suser-stats_conn; - i_assert(stats_user_count 0); - if (--stats_user_count == 0) { - /* we were updating the session lazily. do one final update. */ - i_assert(stats_global_user == user); - stats_add_session(user); - stats_global_user = NULL; - } else { - i_assert(stats_global_user == NULL); - } - io_loop_context_remove_callbacks(suser-ioloop_ctx, stats_io_activate, stats_io_deactivate, user); @@ -582,21 +556,6 @@ } stats_connection_ref(global_stats_conn); - if (stats_user_count == 0) { - /* first user connection */ - stats_global_user = user; - } else if (stats_user_count == 1) { - /* second user connection. we'll need to start doing - per-io callback tracking now. (we might have been doing it - also previously but just temporarily quickly dropped to - having 1 user, in which case stats_global_user=NULL) */ - if (stats_global_user != NULL) { - stats_add_session(stats_global_user); - stats_global_user = NULL; - } - } - stats_user_count++; - suser = p_new(user-pool, struct stats_user, 1); suser-module_ctx.super = *v; user-vlast = suser-module_ctx.super; # 2.1.16: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-46-server x86_64 Ubuntu 10.04.4 LTS auth_cache_negative_ttl = 0 auth_cache_size = 10 M auth_cache_ttl = 1 mins auth_verbose = yes auth_verbose_passwords = sha1 deliver_log_format = mailbox: deliver: session=%{session} msgid=%m from=%f: %$ dict { quota = mysql:/etc/dovecot/conf.d/dovecot-dict-sql.conf.ext } disable_plaintext_auth = no doveadm_password = xxx imapc_features = rfc822.size imapc_host = local-mailbox imapc_port = 18143 instance_name = dovecot-mailbox lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes login_greeting = Mailbox login_log_format = mailbox: login: %$: %s login_trusted_networks = 10.129.3.0/24 mail_debug = yes mail_fsync = always mail_gid =
Re: [Dovecot] Dovecot 2.1.16: Quota plugin compile fails: Solaris 10
Stephen Usher writes: quota-status.c: In function `main': quota-status.c:200: error: `optarg' undeclared (first use in this function) ... It seems that the following C standard header files need to be included in quota-status.c: #include stdio.h #include stdlib.h #include unistd.h It was mentioned a few weeks back (check the archives), but you only need one of them (which may include the others). My patch to cope with this --- a/src/plugins/quota/quota-status.c Sat Apr 13 02:18:40 2013 +++ b/src/plugins/quota/quota-status.c Sat Apr 13 02:18:56 2013 @@ -14,0 +14,1 @@ +#include stdio.h This worked for me. Joseph Tam jtam.h...@gmail.com