> The mail has only two body lines, the first is very long. Here it is: ... > If I cut that line after Code)" the mail arrives to spamd, if I don't
Please, read: if the line is more than 311 chars long, spamd doesn't receive it. I modified the spamassassin plugin duplicating each print to SPAMD socket also to a file: the file always contains the full mail. Submitting that file to spamd via netcat, the mail is evaluated as spam. qpsmtpd straces show that the full mail is always sent to spamd, in multiple write batches. spamd always read all buffer in a single read, but when the mail is shortened the single read contains also the message body, while the original mail is read only to the headers. Time to ask to spamassassin developers? -- Ciao, Filippo