Looks like at the moment, we're the only ones interested in this mod - so until we get a phpbb programmer interested, we should probably start with pretty modest desires.
On that note..
in my case i think that the following functionalities should be included in the mod.
1 - take mails from the mbox file and gets them into mysql.
I think this is quite doable, either using the phorum model which involves a php script that works with the posting.php script or the mail2mysql model which takes an email, parses it, and dumps the results straight into the database.
2 - Parse the resulting messages against the Phpbb database and look matching subjects.
I don't think this will work - it would make more sense to use the message ID numbers to maintain topic threads. In any case this isn't really the biggest priority for me... the important thing is to get the messages into the database.
3 - Look at sender and search in the user database for this user (probably based on the name of the sender or on the e-mail), if not found automatically register the user.
Clever idea, but this isn't a priority for me either. In my view, we can easily have a mailman mailing list which is maintained separately from the phpbb forums. This makes perfect sense - since not everyone will want to be on the subscriber list but everyone will from time to time want to come and read postings.
4 - If the message is not found on the database, display the message in the screen with a dropdown box containing the forums available, that you can indicate manually where to include the messages that are not recognizer. I am basic this point on the fact that for me a mail list is just like a category where several discussions are taking place and that i want to separte through several forum in order to classify them.
I'm not quite sure what you're driving at here. I agree with you that it would be helpful to maintain topic threads in the phpbb way, but messages have to be posted automatically and immediately into the forums without human intervention.
5 - If a new message is posted directly in the forum, sends it automatically to the corresponding maillist - using identifiers allow the system to recognize later that it is already a message included in the database.
Clearly, we'll have to watch out for "auto-reply wars" in which mail cycles infinitely until the mail server chokes or the hard drive is full.
Do you think of any other?
My vision for this mod is for it to be very, very simple. Easy to set up and easy to run - without major modifications to either mailman or phpbb or how people use them. This should be possible with a simple hack of posting.php.