On 2/10/2012 9:20 PM, email builder wrote:
Wonder if I can delete the older one
Sure. Worst case just run sa-update again if you delete the wrong one.
Hm, well is there a file or somewhere to look and see what rules are
active?
Do you mean something like: With my configuration, what rules might
possibly be triggered?
That's an interesting question. Perhaps we could use a spamassassin
parameter to run, parse config and dump all possible rules that would
run (with scores) based on all plugins, etc. that are believed to be
configured. If that is what you want, please open a bug at
https://issues.apache.org/SpamAssassin/ assuming no one knows a way this
can occur now.
I believe for SPF you *should* be doing the detecting at your MTA
(mail server software) and inserting a header for spamassassin to use:
Received-SPF. (Because SPF is supposed to use the "envelope from",
which is not necessarily included in a header.)
I see. That makes sense. Is there a wiki page suggesting solutions for this?
Anyone know of tips for doing this in postfix? Or during amavis processing?
Interesting thought though while the envelope sender is not in a header
per se, it is in the From line for mbox format email, I believe. If you
are using procmail for delivery, for example, there shouldn't be an issue.
Me too. I sent emails to myself from Yahoo and Gmail and got these in my
X-Spam-Status:
Gmail: DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU
Yahoo: DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,T_DKIM_INVALID
(that last one is interesting - not sure how the message gets altered to break
the signature, especially if Gmail works fine (running SA from Maildrop))
Chasing down DKIM errors can be interesting to say the least. I found a
bug in Sendmail, for example, where it canonicalized the email address
in the To: Header which was case-sensitive on the signing so DKIM
validation failed.
Have you looked at the received headers to confirm it is in fact a valid
Yahoo! email?
I believe SPF tests are also enabled by default, but won't do quite the
right thing unless you're inserting the Received-SPF header at your MTA.
Well I guess so because I see no SPF hits and I think at least Gmail uses SPF.
I'd appreciate any tips on getting those headers inserted.
Gmail does publish SPF.
Check your *.pre files and see if you have loadplugin
Mail::SpamAssassin::Plugin::SPF
Also make sure you have Mail::SPF. This command can help determine that:
perl -e 'if (require Mail::SPF) { print "Mail::SPF Version is:
$Mail::SPF::VERSION\n"; exit 0;} else {exit 1;}' || echo 'Mail::SPF Not
Present!'
Mail::SPF Version is: v2.005
Regards,
KAM