fkoyer commented on PR #46: URL: https://github.com/apache/spamassassin/pull/46#issuecomment-6546634253
I like the idea of a tflag, However, I was thinking of adding a couple of other tflags as well. For example, `visible` to run rules against only the visible text, `main_body` to only inspect the main body part (excluding text from attachments), and `ascii` to run rules against an "ASCII-fied" version of the body. Each one of these tflags means generating and caching a different view of the data. We need to think about how they would interact with each other in case someone wants `visible ascii` or `main_body visible multiple` etc... It might get complicated if we don't plan it well. But for the purposes of this PR, can you provide an example or two of when you would want to inspect both alternative parts? Note that even with `multipart_alternative_preferred_part` set to `text/html` eval rules such as `multipart_alternative_difference` still work. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
