I'm running CentOS with postfix 2.3.3, amavisd-new, and spamassassin 3.3.
History: My postfix mail server for domainA is also the secondary mail
server for domainB. A ton of email destined for domainB runs through
the secondary mail server, all spam using the secondary . (This is
actually a good thing, since domainA is a MSFT server I don't own that
doesn't do as good a job at filtering, so I can prefilter it).
Mail that comes into the mail server for domainA filters through
amavisd and spamassassin, gets the subject changed and the
spamassassin scoring added to the headers, and delivered locally, all
good.
However, mail that shows up at my mail server for domainB that gets
relayed over to the primary mail server for domainB (aka spam) doesn't
get the subject line changed, nor does it get the spamassassin scoring
added to the headers.
1) This is not postfix related. postfix has nothing to do with changing
subjects (or any headers).
2) This looks like an amvisd-new FAQ. did you list the domain as "local
domain" in amavisd-new? amavisd-new obviously doesn't alter outgoing
mail by default.
[snip]