I updated the mail2forum.pl script, the current one can be downloaded
here or above.
Improvements- Better at finding references in messages from mail programs that don't use the normal "References:" header and checks the "In-reply-to:" header which was commonly used many years ago.
- Improved getting all the references in the usenet_ref table, which it didn't do before.
- Checks date and doesn't allow a date to be in the future.
- Looks for "Posted-Date:" header as a higher priority than "Date:" as some posts didn't have a year in the "Date:" header (and did in the Posted-Date: header).