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, m...@pcintelligence.nl 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:502fc31234211086332455!

Reply via email to