spamassassin: replace msg_too_big with should_skip#2972
spamassassin: replace msg_too_big with should_skip#2972msimerson merged 4 commits intoharaka:masterfrom
Conversation
f3cc53e to
e23f9fa
Compare
superman20
left a comment
There was a problem hiding this comment.
Looks good to me. The only thing that caught my eye was the mixed logic of returning (for max size) vs flowing through (for everything else) in should_skip. Any reason to have the flow through logic at all? My personal preference would be to return on the first condition that resulted in skipping unless there was value in tracking all the conditions that would have caused skipping.
to be consistent with other plugins that implement should_skip
d1ac92f to
604d464
Compare
I've made the logic consistent (pass through) and added a comment on why (populate transaction results fully for statistical analysis). |
superman20
left a comment
There was a problem hiding this comment.
Definitely like the consistency better. Looks good. Thanks!
replaces
msg_too_bigandshould_checkwithshould_skip, to be consistent with other plugins that implement should_skipsimilar / related to #2564 and #2927