Adding X-Language to Header
Posted: 15 Aug 2018 18:45
Good afternoon,
We're using the latest version of EFA, and I'm trying to configure the 'UNWANTED_LANGUAGE_BODY' rule. I have TextCat loaded in /etc/mail/spamassassin/init.pre, and have accepted languages (en es) in /etc/mail/spamassassin/local.cf. This is working, and I can see the rule being triggered on languages that are not English or Spanish. I've also tried adding in a header line to notify us what language the email is in to assist troubleshooting, but adding "add_header all Languages _LANGUAGES_" to the local.cf file. I restart spamasssassin, but no X-Languages header is to be found. Any ideas on where this header my need to be, or why it's being overwritten/cleared later in the delivery process?
Thanks, and let me know if more info is needed.
Sebastian
We're using the latest version of EFA, and I'm trying to configure the 'UNWANTED_LANGUAGE_BODY' rule. I have TextCat loaded in /etc/mail/spamassassin/init.pre, and have accepted languages (en es) in /etc/mail/spamassassin/local.cf. This is working, and I can see the rule being triggered on languages that are not English or Spanish. I've also tried adding in a header line to notify us what language the email is in to assist troubleshooting, but adding "add_header all Languages _LANGUAGES_" to the local.cf file. I restart spamasssassin, but no X-Languages header is to be found. Any ideas on where this header my need to be, or why it's being overwritten/cleared later in the delivery process?
Thanks, and let me know if more info is needed.
Sebastian