On Tuesday September 22 2009 06:32:12 Benny Pedersen wrote: > On man 21 sep 2009 20:33:57 CEST, MySQL Student wrote > >> but this will invalidtate dkim headers if this headers > >> is signed, are spamassassin aware of this problem ? (in general) > > > > Are you saying there is a bug? > > partly yes, its not a bug as long you keep the orginal email > but spamassassin --mbox < infile > outfile invalidate dkim signed mails > no ?
It is not common nor wise to have X-Spam-* header fields included in a DKIM signature. Neither amavisd nor dkim-milter/OpenDKIM or dkimproxy would do it, without special effort. I wouldn't expect striping of X-Spam-* header fields to be problematic in view of invalidating signatures. What can be detrimental to signatures is modifications to existing header fields like From or Subject by inserting 'tags' like **SPAM**. Whether this matters or not depends on what will happen next with such mail. Mark