If you don't want to hit it at all for some recipient, you can try
redefining the whole UNWANTED_LANGUAGE_BODY rule into a meta.

body __UNWANTED_LANGUAGE_BODY eval:check_language()
header __UNWANTED_LANGUAGE_SKIP X-Envelope-To =~ /\@foo\.com>/i
meta UNWANTED_LANGUAGE_BODY __UNWANTED_LANGUAGE_BODY && 
!__UNWANTED_LANGUAGE_SKIP

Note that X-Envelope-To might be Amavis specific header..  you can check
basic To header also, but it can be faked or missing unlike envelope
address.


On Fri, Nov 15, 2019 at 11:51:12AM +0530, KADAM, SIDDHESH wrote:
> Hi Folks,
> 
> I have multiple domains which are running after Spamassassin server.
> 
> I want to bypass one specific Spamassassin rule ie TextCat(Unwanted
> Language) for one recipient domain.
> 
> Can someone please help me in achieving this requirement.
> 
> Regards,
> Siddhesh

Reply via email to