Mailfs Bugs/Patches
Peter Daum
gator_ml at yahoo.de
Wed Jun 17 09:29:12 UTC 2009
Hi,
With the current mailfs implementation, I ran into some problems:
1.) By definition (see e.g. http://www.qmail.org/man/man5/mbox.html),
in a Berkeley MBox File,the beginning of a message is marked by a line
starting with "From " (_exactly_ like this)
at the beginning of the file or after an empty line.
So the regex "/^from\s+\w+(\.\w+)*@/i" currently used is just wrong, because
- any other capitalization of "from" does _not_ introduce a new message
- anything else following afterwards is optional
2.) malformed date headers currently will produce a warning
Regards,
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mailfs.diff
Type: text/x-patch
Size: 865 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20090617/791f84ae/attachment.bin>
More information about the mc-devel
mailing list