Re: [qmailadmin] qmailadmin has problems with ezmlm-idx 7.0.2: Patch

2011-08-18 Thread Johannes Weberhofer
I have added a patch for that issue on sourceforge some time ago. It's running here on my systems: http://sourceforge.net/tracker/?func=detail&aid=3094082&group_id=6691&atid=306691 Johannes Am 18.08.11 10:38, schrieb Robert Schulze: Hi, Am 17.08.2011 17:03, schrieb Tom Collins: "if (dbuf)"

Re: [qmailadmin] qmailadmin has problems with ezmlm-idx 7.0.2: Patch

2011-08-18 Thread Robert Schulze
Hi, Am 17.08.2011 17:03, schrieb Tom Collins: "if (dbuf)" will always be true, since you're referring to the array. oops, I fixed that. I think you want "if (*dbuf)" (e.g., if the first character of dbuf is not null). Likewise, your test of "strcmp(dir,"")==0" would be clearer as just "*dir

Re: [qmailadmin] qmailadmin has problems with ezmlm-idx 7.0.2: Patch

2011-08-17 Thread Tom Collins
"if (dbuf)" will always be true, since you're referring to the array. I think you want "if (*dbuf)" (e.g., if the first character of dbuf is not null). Likewise, your test of "strcmp(dir,"")==0" would be clearer as just "*dir == '\0'". Use "strcpy" instead of "sprintf" to copy strings like this:

[qmailadmin] qmailadmin has problems with ezmlm-idx 7.0.2: Patch

2011-08-17 Thread Sirko Zidlewitz
My Collegue Robert Schulze has written a patch for mailinglist.c, but it is for qmailadmin 1.2.15. It works for us. Thanks Rob. --- mailinglist.c.orig 2011-08-17 15:53:26.0 +0200 +++ mailinglist.c 2011-08-17 15:53:32.0 +0200 @@ -665,6 +665,7 @@ int handles[2],pid,z = 0,

[qmailadmin] qmailadmin has problems with ezmlm-idx 7.0.2

2011-08-17 Thread Sirko Zidlewitz
ezmlm-idx changed its syntax for some commands regarding subdirectories. So if I try to list moderators in qmailadmin 1.2.16, the list is always empty and httpd-error.log says: [Wed Aug 17 15:09:19 2011] [error] [client 0.0.0.0] ezmlm-list: fatal: /home/vpopmail//newsletter/mod/key does not e