Re: Perhaps it's time for a new fork

jjs - mainphrame <[email protected]> Fri, 12 Sep 2025 13:59:26 -0700
Newsgroups gmane.mail.virus.maiamailguard
Message-ID <CABkzw7wqH5RTdG4D6hWj6JOb8eUG3O02u=jA+=O6hiZ3LKCHig@mail.gmail.com>
The first step on the journey.

Remove MDB2 and require PDO; configtest works, but there is still more to
be done.



On Fri, Sep 12, 2025 at 11:33 AM bh <[email protected]> wrote:

> Chiming in on this thread, as I’ve been watching it closely.   A couple
> thoughts I’d like to submit:
>
> 1 - jjs is absolutely correct.  At this stage, let’s not let stylistic
> concerns impede progress on preserving/restoring functionality.  Turn off
> your linter’s style rules and focus on functional issues for now.
>
> 2 - I liked Maya because of how it handled quarantining.  I like the
> web-interface approach, as opposed to depending on a particular MUA knowing
> how to talk to the filtering system to report ham/spam.
>
> I’m also interested in contributing to this effort, as I think of myself
> as a moderately knowledgeable PHP developer.  What I can’t guarantee,
> sadly, is time or mental energy.  I guess that describes most of us, really.
>
> Cheers,
> -Brian
>
> On Sep 12, 2025, at 12:57 PM, jjs - mainphrame <jjs-5OBBLe+cWrVYgzK/[email protected]> wrote:
>
> 
> IMHO 99% of these errors are cosmetic and don't affect the ability of the
> code to run under php 8.
>
> I've started with configtest.php, and made some progress in getting it to
> run, but I ran into a roadblock with MDB2, which is incompatible with php
> 8, and will have to be migrated to PDO.
>
> I'm encouraged to find that the string 'MDB2' appears in only 5 of the 902
> files, so that's a bit more manageable than I initially thought.
>
> So, the current issue is clear: convert the MDB2 code to use PDO, and then
> we'll see what things look like at that point.
>
> Joe
>
> On Thu, Sep 11, 2025 at 9:19 PM jjs - mainphrame <[email protected]>
> wrote:
>
>> BTW here's the php code checker output for one file (admindex.php).
>> Hopefully I'll figure out a way to speed up this process.
>>
>>
>>
>>
>>
>> On Thu, Sep 11, 2025 at 8:49 PM jjs - mainphrame <[email protected]>
>> wrote:
>>
>>> Interesting - well obviously the php is the most broken part at this
>>> point, so that's my focus right now.
>>>
>>> But if someone wants to work on amavisd-new/maiad in parallel, that
>>> would be great.
>>>
>>> Joe
>>>
>>> On Thu, Sep 11, 2025 at 8:11 PM Travis Mikalson <[email protected]>
>>> wrote:
>>>
>>>> I feel bad piling on, but my other big concern is that maia's actual
>>>> main mail scanning daemon is a severely outdated amavisd-new 2.2.1 from
>>>> around 2002 as far as I know.
>>>>
>>>>  From what I can tell, a few cherry picked updates and fixes were
>>>> brought in from upstream at some point, but that would've stopped 10+
>>>> years ago. AFAIK, there's something like 10-20 years of amavisd updates
>>>> missing from maiad.
>>>>
>>>> On 9/11/2025 20:50, Janky Jay, III wrote:
>>>> > Also, if possible/comfortable, please provide a link to any new
>>>> > forks/code so the rest of us can track it. It would be great to be
>>>> able
>>>> > to contribute our chime in if I can.
>>>> >
>>>> > Regards,
>>>> > Janky Jay, III
>>>> _______________________________________________
>>>> Maia-users mailing list
>>>> [email protected]
>>>> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>>>>
>>> _______________________________________________
> Maia-users mailing list
> [email protected]
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
>
>

_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
maia-php-configtest.png (image/png, 135.4 KB) - not displayed