Re: [SPAM] qmailadmin and .qmail files break functionality

Michiel Van Es <[email protected]> Sun, 26 Aug 2012 11:51:13 +0200
Newsgroups gmane.mail.qmail.admin
Message-ID <[email protected]>
Hi Tom,

Thanks for the information.
The debugging sounds like a heck lot of work.
For now I keep the .qmail files for some accounts keeping in mind that the qmailadmin interface won't work.

Regards,

Michiel

On Aug 18, 2012, at 6:30 PM, Tom Collins <[email protected]> wrote:

> That sounds like code that I wrote.
> 
> I tried to overhaul the .qmail processing code many years ago, and the resulting code didn't go through a huge amount of testing.
> 
> I'm not actively involved in QmailAdmin maintenance, so it's going to be up to someone else to try troubleshooting this.  Because it's a CGI script, and difficult to run in a debugger, I'd suggest adding a bunch of fprintf() statements to dump debugging information to a log file for later analysis.
> 
> It might be possible to set up environment variables so the qmailadmin CGI thinks it's being called from Apache, and use strace or gdb to find the cause of the segfault.
> 
> The goal of the .qmail code was for it to not touch entries it didn't understand, and to only add/remove entries as needed.
> 
> -Tom
> 
> 
> On Aug 17, 2012, at 5:20 AM, [email protected] wrote:
> 
>> Hello,
>> 
>> I am using Debian 32 bit with Qmailadmin (1.2.16) + Vpopmail following the the THibs qmailrocks page:
>> http://qmailrocks.thibs.com/
>> 
>> I create some .qmail files for some users in their vpopmail directories with according .mailfilter files.
>> Mailfiltering is working fine.
>> 
>> Now when I want to create an Out of Office via the qmailadmin interface I get the following error:
>> 
>> Aug 17 13:45:10 vps1032 kernel: [ 1066.074279] qmailadmin[2999]: segfault at 46 ip b7381d3d sp bff6d69c error 4 in libc-2.11.3.so[b7345000+140000]
>> Aug 17 13:45:28 vps1032 kernel: [ 1084.075634] qmailadmin[3003]: segfault at 46 ip b7393d3d sp bfbe75ec error 4 in libc-2.11.3.so[b7357000+140000]
>> 
>> My .qmail file: |preline /usr/bin/maildrop /home/vpopmail/domains/pcintelligence.nl/mve/.mailfilter
>> 
>> When I move the .qmail file to 'dotqmail', making it useless then the out of office works fine.
>> 
>> Any help is much appreciated so I can keep my server filter rules :)
>> 
>> Kind regards,
>> 
>> Michiel van Es
>> 
>> 
>> 
> 
> 
> 
> 


!DSPAM:5039f19734213265158190!