You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2005/06/22 22:39:24 UTC
Re: svn commit: r192987 - /spamassassin/trunk/lib/Mail/SpamAssassin/Message.pm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Theo Van Dinter writes:
> On Wed, Jun 22, 2005 at 07:56:05PM -0000, jm@apache.org wrote:
> > clarify; mbx separator is a binary blob of data, I don't think we do support that
>
> Are we talking about the same mbx? Had support for this since 3.0.0:
hmm. I could be wrong, in that case -- I was quite sure that UW's
mbx format was more complex than that.
- --j.
> Constants.pm:
> # regular expression that matches message separators in The University of
> # Washington's MBX mailbox format
> use constant MBX_SEPARATOR => qr/([\s|\d]\d-[a-zA-Z]{3}-\d{4}\s\d{2}:\d{2}:\d{2}.*),(\d+);([\da-f]{12})-(\w{8})/;
>
> Message.pm:
> [...]
> } elsif ($message[0] =~ MBX_SEPARATOR) {
> $_ = shift @message;
>
> # Munge the mbx message separator into mbox format as a sort of
> # de facto portability standard in SA's internals. We need to
> # to this so that Mail::SpamAssassin::Util::parse_rfc822_date
> # can parse the date string...
> if (/([\s|\d]\d)-([a-zA-Z]{3})-(\d{4})\s(\d{2}):(\d{2}):(\d{2})/) {
> # $1 = day of month
> [...]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Exmh CVS
iD8DBQFCucx8MJF5cimLx9ARAokCAKCJsOzZ9Q952LWFvnOEP7BSb15KDACgmYpG
czn3w+SZV1rFoEVnQn0MXdU=
=mSzN
-----END PGP SIGNATURE-----