Adding X-Language to Header

Questions and answers about how to do stuff
Post Reply
sebastian.savard
Posts: 6
Joined: 29 Jan 2018 13:34

Adding X-Language to Header

Post by sebastian.savard »

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
Post Reply