On Wed, 26 May 2021, Douglas, Daniel wrote:
We need to detect it so that we can route emails with that header to a
different server.
SpamAssassin does scoring, not routing. Isn't it important that your *MTA*
be able to detect that header?
--
John Hardin KA7OHZhttp://ww
On Wed, 26 May 2021 04:11:28 -0700
Loren Wilton wrote:
> You could try
>
> headerX_SWITCHALL=~ /^X-\$switch\b/sm
Minor point, but since it's supposed to match a specific header name, it should
be
headerX_SWITCHALL=~ /^X-\$switch:/m
Thanks
That seems to work (no syntax errors show up anyway). I'll do some testing.
Cheers
Dan
-Original Message-
From: Loren Wilton
Sent: 26 May 2021 12:11
To: users@spamassassin.apache.org
Subject: Re: Header exists with a dollar sign in it
You could try
headerX_SWITCHALL
You could try
headerX_SWITCHALL=~ /^X-\$switch\b/sm
Loren
Doesn't seem to work unfortunately.
May 26 11:40:50.470 [23554] warn: config: invalid head test
BTLS_EGRESS_ENCRYPT_THIS header: x-\$switch
It's a header that the Egress secure email that we use puts in. We need to
detect it so that we can route emails with that header to a different se
On 26.05.21 10:28, Douglas, Daniel wrote:
We need to check messages for the existence of a header
X-$switch
I have the rule setup like this
header BTLS_EGRESS_ENCRYPT_THISexists:x-$switch
This worked OK on our current server running an out of date versio
We need to check messages for the existence of a header
X-$switch
I have the rule setup like this
header BTLS_EGRESS_ENCRYPT_THISexists:x-$switch
This worked OK on our current server running an out of date version but we are
trying to migrate and it now