Re: [SPAM] qmailadmin 1.2.16 questions
Eric Shubert <[email protected]> Fri, 17 May 2013 10:13:03 -0700
| Newsgroups | gmane.mail.qmail.admin |
|---|---|
| Organization | Eric Shubert & Associates |
| Message-ID | <[email protected]> |
On 05/17/2013 05:12 AM, Allan Dukat wrote: > Eric Shubert writes: >> qmail-toaster (http://wiki.qmailtoaster.com) is presently on >> vpopmail-5.4.33 with qmailadmin-1.2.16. There haven't been any >> problems reported. > > OK, then I have a problem with qmailadmin-1.2.16, configured like this: > ./configure \ > --enable-vpopmaildir=/home/vpopmail \ > --enable-htmldir=/usr/local/apache2/htdocs \ > --enable-cgibindir=/usr/local/apache2/cgi-bin \ > --enable-imageurl=/images/qmailadmin \ > --enable-imagedir=/usr/local/apache2/htdocs/images/qmailadmin \ > --enable-qmaildir=/var/qmail \ > --enable-ezmlmdir=/usr/local/bin/ezmlm \ > --enable-cgipath=/cgi-bin/qmailadmin \ > --enable-autoresponder-path=/usr/local/bin \ > --enable-vpopuser=vpopmail \ > --enable-vpopgroup=vchkpw \ > --disable-ezmlm-mysql \ > --enable-modify-quota \ > --enable-help > When adding the fist Forward I got an empty page as answer, an this in > Apache errorlog: > *** glibc detected *** /usr/local/apache2/cgi-bin/qmailadmin: double > free or corruption (top): 0x0000000001f326e0 *** > ======= Backtrace: ========= > /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f9ed7c8ab96] > /usr/local/apache2/cgi-bin/qmailadmin[0x421f04] > /usr/local/apache2/cgi-bin/qmailadmin[0x4219ad] > /usr/local/apache2/cgi-bin/qmailadmin[0x42202f] > /usr/local/apache2/cgi-bin/qmailadmin[0x40715d] > /usr/local/apache2/cgi-bin/qmailadmin[0x4070a3] > /usr/local/apache2/cgi-bin/qmailadmin[0x4054f5] > /usr/local/apache2/cgi-bin/qmailadmin[0x4130c3] > /usr/local/apache2/cgi-bin/qmailadmin[0x402db6] > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f9ed7c2d76d] > /usr/local/apache2/cgi-bin/qmailadmin[0x402929] > ======= Memory map: ======== > 00400000-00434000 r-xp 00000000 08:01 266154 > /usr/local/apache2/cgi-bin/qmailadmin > 00633000-00634000 r--p 00033000 08:01 266154 > /usr/local/apache2/cgi-bin/qmailadmin > 00634000-00635000 rw-p 00034000 08:01 266154 > /usr/local/apache2/cgi-bin/qmailadmin > 00635000-00641000 rw-p 00000000 00:00 0 > 00fad000-00fce000 rw-p 00000000 00:00 0 [heap] > 7f9ed79f6000-7f9ed7a0b000 r-xp 00000000 08:01 2359340 > /lib/x86_64-linux-gnu/libgcc_s.so.1 > 7f9ed7a0b000-7f9ed7c0a000 ---p 00015000 08:01 2359340 > /lib/x86_64-linux-gnu/libgcc_s.so.1 > 7f9ed7c0a000-7f9ed7c0b000 r--p 00014000 08:01 2359340 > /lib/x86_64-linux-gnu/libgcc_s.so.1 > 7f9ed7c0b000-7f9ed7c0c000 rw-p 00015000 08:01 2359340 > /lib/x86_64-linux-gnu/libgcc_s.so.1 > 7f9ed7c0c000-7f9ed7dc1000 r-xp 00000000 08:01 2359318 > /lib/x86_64-linux-gnu/libc-2.15.so > 7f9ed7dc1000-7f9ed7fc0000 ---p 001b5000 08:01 2359318 > /lib/x86_64-linux-gnu/libc-2.15.so > 7f9ed7fc0000-7f9ed7fc4000 r--p 001b4000 08:01 2359318 > /lib/x86_64-linux-gnu/libc-2.15.so > 7f9ed7fc4000-7f9ed7fc6000 rw-p 001b8000 08:01 2359318 > /lib/x86_64-linux-gnu/libc-2.15.so > 7f9ed7fc6000-7f9ed7fcb000 rw-p 00000000 00:00 0 > 7f9ed7fcb000-7f9ed7fd4000 r-xp 00000000 08:01 2359333 > /lib/x86_64-linux-gnu/libcrypt-2.15.so > 7f9ed7fd4000-7f9ed81d4000 ---p 00009000 08:01 2359333 > /lib/x86_64-linux-gnu/libcrypt-2.15.so > 7f9ed81d4000-7f9ed81d5000 r--p 00009000 08:01 2359333 > /lib/x86_64-linux-gnu/libcrypt-2.15.so > 7f9ed81d5000-7f9ed81d6000 rw-p 0000a000 08:01 2359333 > /lib/x86_64-linux-gnu/libcrypt-2.15.so > 7f9ed81d6000-7f9ed8204000 rw-p 00000000 00:00 0 > 7f9ed8204000-7f9ed8226000 r-xp 00000000 08:01 2359532 > /lib/x86_64-linux-gnu/ld-2.15.so > 7f9ed841a000-7f9ed841d000 rw-p 00000000 00:00 0 > 7f9ed8420000-7f9ed8426000 rw-p 00000000 00:00 0 > 7f9ed8426000-7f9ed8427000 r--p 00022000 08:01 2359532 > /lib/x86_64-linux-gnu/ld-2.15.so > 7f9ed8427000-7f9ed8429000 rw-p 00023000 08:01 2359532 > /lib/x86_64-linux-gnu/ld-2.15.so > 7fffec1e6000-7fffec207000 rw-p 00000000 00:00 0 [stack] > 7fffec37b000-7fffec37c000 r-xp 00000000 00:00 0 [vdso] > ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] > The Forward is added an I can add and list Forwards from now on, when > the last Forward is deleted the error is repeated with the same > addresses as far I can see. > I Use Ubuntu 12.04.2 LTS, x86_64, fully patched. > And openssl-1.0.1e, netqmail-1.06, chkuser-2.0.9-release.patch, > qmail-authentication-081, ucspi-tcp-0.88, daemontools-0.76, pcre-8.32, > maildrop-2.6.0, vpopmail-5.4.33, ezmlm-idx-7.1.1, dovecot-2.2.1, apr-1.4.6, > apr-util-1.5.2, httpd-2.4.4, courier-authlib-0.65.0, sqwebmail-5.6.1, > autorespond-2.0.4, qmailadmin-1.2.16, qmailadmin-help-1.0.8 and > vqadmin-2.3.7 all configure-make-install. > Spam Filter is elsewhere. > I hope that anybody out there can figure out what I did wrong. > >> I hope you give qmail-toaster consideration. It has a lot of users >> with a friendly and helpful community base. Disclaimer: I'm the >> project lead, so I'm indubitably biased. ;) > > I have, and now I can not remember why I choose to compile everything > myself to start with ;-( > Thanks in advance. > Best regards, > Allan Dukat > > > > I misspoke. There was one problem, a bug I fixed and reported on the vpopmail list about 3 months ago. Here's a snip: <q> I've had a look at the code, and found that the config.h file, which defines CATCHALL_ENABLED, is not being included in the command.c file. I'm not sure when or why that got dropped, but it effectively removed the commands associated with catchall processing along with it. I've added an include for config.h to command.c, and that has fixed the problem. </q> I don't necessarily think this is related to your trouble, but you'll want to do this fix. The symptom, an empty qmailadmin page, was the same. Are you sure you don't want to reconsider using QMT? It's not too late. Of course if you're having fun with this, then why change course? ;) -- -Eric 'shubes' !DSPAM:5196655234121343814440!