I've spent the past few days working on this problem for a good 8 hours a day, so figure I'll send it back to the list for some insight.
This is using no valias code, so it should be using vpalias.c. I'm using standard qmail aliases.
I'm getting qmailadmin segfaulting when handling forwards, most obviously is viewing the forward list even. My debugging has taken me to the final call to 'alias_line = valias_select_all_next(alias_name);' when alias_name is the final alias in the set, or when the set is empty (no aliases at all).
If I make it stop running (through code hacks) valias_select_all_next one short of the number of aliases, all works well with no problems no matter what I do in qmailadmin. However, when it continues, it tends to continue but corrupt other areas, such as segfaulting on a fclose() in send_template_now() mainly. There seems to be some sort of overrun going on here but I can't seem to find it to my
Is anyone else seeing these issues? Any ideas on a solution? I'm looking to vpalias.c for solutions and have been fiddling with that code as well with no real success, as everything seems alright.
qmailadmin 1.2.10 : '--enable-htmldir=/var/www' '--enable-cgibindir=/var/www/cgi-bin' '--enable-help' '--enable-cgipath=/cgi-bin/qmailadmin' '--enable-domain-autofill'\"
vpopmail 5.4.15 : '--enable-qmail-ext' '--enable-auth-module=cdb' '--enable-logging=y'
Thanks in advance folks,