Well, I found a work-around. I don't know that it's the best way to fix it, but... If anyone wants to tell me if this is not an acceptable solution (e.g. it'll reject valid headers or accept invalid headers) please let me know. Otherwise, it seams to work, so onward and upward! Here's the patch: ============================ --- /usr/src/Mail-SpamAssassin-2.0/lib/Mail/SpamAssassin/NoMailAudit.pm Fri Jan 18 22:30:51 2002 +++ NoMailAudit.pm Wed Jan 23 16:48:51 2002 @@ -91,13 +91,13 @@ my ($prevhdr, $hdr, $val, $entry);
while (defined ($_ = shift @{$self->{textarray}})) { # warn "JMD $_"; - if (/^$/) { last; } +# if (/^$/) {last;} $entry = $hdr = $val = undef; - if (/^\s/) { + if (/^\s+\S+/) { if (defined $prevhdr) { $hdr = $prevhdr; $val = $_; $entry = $self->{headers}->{$hdr}; $entry->{$entry->{count} - 1} .= $val; @@ -118,14 +118,14 @@ $hdr = $1; $val = $2; $entry = $self->_get_or_create_header_object ($hdr); $entry->{original} = 1; - } else { + } elsif (/^\S+/) { $hdr = "X-Mail-Format-Warning"; $val = "Bad RFC822 header formatting in $_"; $entry = $self->_get_or_create_header_object ($hdr); $entry->{added} = 1; - } + } else { last; } $self->_add_header_to_entry ($entry, $hdr, $val); $prevhdr = $hdr; } ============================ Don -- -------------------------------------------------------- Donald L. Greer, Jr [EMAIL PROTECTED] System Administrator Voice: 512-300-0176 AustinTX http://www.AustinTX.COM/ All opinions are my own. Flame me directly. "I don't necessarily believe software should be free... but if you pay for it, it should work!" -- Me _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk