mark wrote: >> > Thanks for this, the bug issue had some more info, which I had not > included in my email: > > > I have recompiled spamass-milter with this patch:- > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510665 > > However, this has not resolved the issue, can you tell me if SA can > output the headers as received from spamass-milter so I can compare > with the headers generated by sendmail? > > thanks > Mark. > You could start spamd with the -D (note: capital D) to put it into debug mode. This would cause quite verbose logging at the debug level. That logging should include the Received: headers, and how SA parses them.
Look for "dbg: received-header: unknown format:" in the debug output. I wouldn't want to run this way normally, as the log output is going to be around 100 lines per message, but for a short while it should be fine.