You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by sp...@perullo.com on 2004/10/30 18:53:31 UTC
debug: received-header: unknown format
I think it was Michael Parker (thanks) that gave me the tip that SA might not be reading my headers right. I followed up on that and confirmed. I'm getting the above debug message when I run a test on a specific single spam that made it through. Here is my whole debug line showing the header in the mail:
debug: received-header: unknown format: from harmonypets.every1.net ([222.47.73.116])by myhost.mydomain.com (8.13.1/8.13.1) with SMTP id i9UBhAFh025756;Sat, 30 Oct 2004 07:43:12 -0400
I looked at the parse_received_headers code, and I can see some tests that I thought this would match. One potential difference is no "for" message.. received from * by * with * "for". My headers don't have that for line often while many of the regexs seem to expect that. Is this a common format I should have? Is my sendmail tweaked? Any known changes in the header format added by sendmail 8.13.1 that could be slipping through all the regexs?
Thanks
jp
Re: debug: received-header: unknown format
Posted by Theo Van Dinter <fe...@kluge.net>.
On Sat, Oct 30, 2004 at 12:53:31PM -0400, spamassassin@perullo.com wrote:
> debug: received-header: unknown format: from harmonypets.every1.net ([222.47.73.116])by myhost.mydomain.com (8.13.1/8.13.1) with SMTP id i9UBhAFh025756;Sat, 30 Oct 2004 07:43:12 -0400
>
> I looked at the parse_received_headers code, and I can see some tests that I thought this would match. One potential difference is no "for" message.. received from * by * with * "for". My headers don't have that for line often while many of the regexs seem to expect that. Is this a common format I should have? Is my sendmail tweaked? Any known changes in the header format added by sendmail 8.13.1 that could be slipping through all the regexs?
The problem in the format is that there is no space between ")" and "by". Was
that a cut/paste error, or the actual received header? By adding the space
in, the header is parsed just fine.
For example, I have lots of Sendmail 8.13.x Received headers in my corpus,
and they all work fine:
Received: from mcafee.wpi.edu (mcafee.WPI.EDU [130.215.36.86])
by mail1.WPI.EDU (8.13.1/8.13.1) with SMTP id i95Hxq8F018271;
Tue, 5 Oct 2004 13:59:52 -0400
becomes:
debug: received-header: parsed as [ ip=130.215.36.86 rdns=mcafee.WPI.EDU
helo=mcafee.wpi.edu by=mail1.WPI.EDU ident= envfrom= intl=0 id=i95Hxq8F018271 ]
--
Randomly Generated Tagline:
..you could spend *all day* customizing the title bar. Believe me. I
speak from experience."
(By Matt Welsh)