You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Larry Rosenman <le...@lerctr.org> on 2014/01/14 23:30:02 UTC

TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

I just had 3 messages that are HAM that hit TVD_PH_BODY_META=3.625 and 
got marked as SPAM.....

The text contents are: [quote]
This message confirms your deposit of $70.94 has been approved and 
processed. Funds could take up to two business days to post to your 
account.

Please do not destroy the deposited check yet. Refer to our Check 
Handling Procedures for check destruction guidance at 
www.goamplify.com/FAQ.

Please do not respond to this message or send email to this address. 
This message is for information purposes only.

Thank you,
Amplify Credit Union



NOTICE OF CONFIDENTIALITY: This e-mail message, including any 
attachments, is for the sole use of the intended recipient(s) and may 
contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. If you are not 
the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
[/quote]

Headers:
[quote]
Return-path: <bo...@goamplify.com>
Envelope-to: parents@lerctr.org
Delivery-date: Tue, 14 Jan 2014 01:13:00 -0600
Received: from 209-99-54-7.fwd.datafoundry.com ([209.99.54.7]:23535
         helo=webmail.goamplify.com)
         by thebighonker.lerctr.org with esmtps (TLSv1:AES128-SHA:128)
         (Exim 4.82 (FreeBSD))
         (envelope-from <bo...@goamplify.com>)
         id 1W2yBH-0009Pf-3d
         for parents@lerctr.org; Tue, 14 Jan 2014 01:13:00 -0600
Received: from CubusApp.ibmtefcu.org (192.168.235.83) by
         ExternalRelay.ibmtefcu.org (192.168.235.148) with Microsoft SMTP
         Server id
         14.2.328.9; Tue, 14 Jan 2014 01:12:47 -0600
Message-ID: <44...@goamplify.com>
X-EM-Version: 6, 0, 0, 3
X-EM-Registration: #0030630810D01800AA20
 From: cumail <cu...@goamplify.com>
To: parents@lerctr.org
Subject: AMPLIFY Email Alert: Account Balance
Date: Tue, 14 Jan 2014 01:12:44 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
X-Spam-Score: 1.1 (+)
X-LERCTR-Spam-Score: 1.1 (+)
X-Spam-Report: SpamScore (1.1/5.0)
         BAYES_00=-1.9,EL_STATIC=2,RDNS_DYNAMIC=0.982,TVD_RCVD_IP=0.001
X-LERCTR-Spam-Report: SpamScore (1.1/5.0)
         BAYES_00=-1.9,EL_STATIC=2,RDNS_DYNAMIC=0.982,TVD_RCVD_IP=0.001
[/quote]

I've already asked the CU to get VALID reverse DNS for their relay, but 
what else should I or they do here
to not hit the rule, or is the rule (which is too complicated for me to 
understand atm) too aggressive for this case?


Thanks!


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: ler@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688

Re: TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

Posted by Benny Pedersen <me...@junc.eu>.
Larry Rosenman skrev den 2014-01-15 00:09:
> On 2014-01-14 17:07, Benny Pedersen wrote:
>> is it possible to learn it as ham with bayes ?, bayes 50 is more or
>> less neotral score for unsure content, help learning it as ham will
>> solve it to go under 5
> Already done, but this seems a bit high for a first time hit :(

if bayes 00, then it would be under 5

i use sagrey to first time senders here, no false hits on it

but make a local rule to help on it to turn it down under 5, base it on 
content, not ip/sender domain, but content you like to be ham, keep 
scores of max 1.5 and -1.5

sa scores is generated from spam samples that turn this score high, and 
it could mean there is to few ham samples for this kind of mails :(

Re: TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

Posted by Martin Gregorie <ma...@gregorie.org>.
On Tue, 2014-01-14 at 17:09 -0600, Larry Rosenman wrote:
> On 2014-01-14 17:07, Benny Pedersen wrote:
> > Larry Rosenman skrev den 2014-01-14 23:33:
> >> Whoops, wrong headers....
> > 
> > is it possible to learn it as ham with bayes ?, bayes 50 is more or
> > less neotral score for unsure content, help learning it as ham will
> > solve it to go under 5
> Already done, but this seems a bit high for a first time hit :(
> 
You can also explicitly whitelist your CU and similarly important
addresses. There are a number of ways to do this:

a) add a whitelist statement to local.cf (but look at the SA
   documentation and note the caveats first)

b) add a rule with the general form

     header CUWL  From =~ /\@cuurl\.com/

   to local.cf and give it a large negative score, say -6.0.

c) build an automated system round a mail archive or automatically
   populate a database with addresses that you send mail to. 

   I use this method. My implementation uses the Postfix BCC directive
   to send a copy of all mail to my mail archive, which is held in a
   PostgreSQL database. SA uses a locally written plugin to run queries
   against a view, which says 'whitelist it' if the view selects any
   message I've previously sent to the originator of the message being
   checked. This method should be easy to implement for the MTA and
   datastore of your choice. 
 
Any of these three methods should be OK if you're running SA on a
personal domain or if the domain belongs to a close-knit group, e.g. a
sole trader or family business, but with the possible exception of (c),
these approaches are unsuitable for use with larger organisations
because the whitelist collection will quickly become unfeasably large.


Martin






Re: TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

Posted by Larry Rosenman <le...@lerctr.org>.
On 2014-01-14 17:07, Benny Pedersen wrote:
> Larry Rosenman skrev den 2014-01-14 23:33:
>> Whoops, wrong headers....
> 
> is it possible to learn it as ham with bayes ?, bayes 50 is more or
> less neotral score for unsure content, help learning it as ham will
> solve it to go under 5
Already done, but this seems a bit high for a first time hit :(


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: ler@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688

Re: TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

Posted by Benny Pedersen <me...@junc.eu>.
Larry Rosenman skrev den 2014-01-14 23:33:
> Whoops, wrong headers....

is it possible to learn it as ham with bayes ?, bayes 50 is more or less 
neotral score for unsure content, help learning it as ham will solve it 
to go under 5

Re: TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

Posted by Larry Rosenman <le...@lerctr.org>.
On 2014-01-14 16:30, Larry Rosenman wrote:
> I just had 3 messages that are HAM that hit TVD_PH_BODY_META=3.625 and
> got marked as SPAM.....
> 
> The text contents are: [quote]
> This message confirms your deposit of $70.94 has been approved and
> processed. Funds could take up to two business days to post to your
> account.
> 
> Please do not destroy the deposited check yet. Refer to our Check
> Handling Procedures for check destruction guidance at
> www.goamplify.com/FAQ.
> 
> Please do not respond to this message or send email to this address.
> This message is for information purposes only.
> 
> Thank you,
> Amplify Credit Union
> 
> 
> 
> NOTICE OF CONFIDENTIALITY: This e-mail message, including any
> attachments, is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information. Any unauthorized
> review, use, disclosure or distribution is prohibited. If you are not
> the intended recipient, please contact the sender by reply e-mail and
> destroy all copies of the original message.
> [/quote]
> 
> Headers:
> [quote]
> Return-path: <bo...@goamplify.com>
> Envelope-to: parents@lerctr.org
> Delivery-date: Tue, 14 Jan 2014 01:13:00 -0600
> Received: from 209-99-54-7.fwd.datafoundry.com ([209.99.54.7]:23535
>         helo=webmail.goamplify.com)
>         by thebighonker.lerctr.org with esmtps (TLSv1:AES128-SHA:128)
>         (Exim 4.82 (FreeBSD))
>         (envelope-from <bo...@goamplify.com>)
>         id 1W2yBH-0009Pf-3d
>         for parents@lerctr.org; Tue, 14 Jan 2014 01:13:00 -0600
> Received: from CubusApp.ibmtefcu.org (192.168.235.83) by
>         ExternalRelay.ibmtefcu.org (192.168.235.148) with Microsoft 
> SMTP
>         Server id
>         14.2.328.9; Tue, 14 Jan 2014 01:12:47 -0600
> Message-ID: <44...@goamplify.com>
> X-EM-Version: 6, 0, 0, 3
> X-EM-Registration: #0030630810D01800AA20
> From: cumail <cu...@goamplify.com>
> To: parents@lerctr.org
> Subject: AMPLIFY Email Alert: Account Balance
> Date: Tue, 14 Jan 2014 01:12:44 -0600
> MIME-Version: 1.0
> Content-Type: text/plain; charset="US-ASCII"
> X-Spam-Score: 1.1 (+)
> X-LERCTR-Spam-Score: 1.1 (+)
> X-Spam-Report: SpamScore (1.1/5.0)
>         BAYES_00=-1.9,EL_STATIC=2,RDNS_DYNAMIC=0.982,TVD_RCVD_IP=0.001
> X-LERCTR-Spam-Report: SpamScore (1.1/5.0)
>         BAYES_00=-1.9,EL_STATIC=2,RDNS_DYNAMIC=0.982,TVD_RCVD_IP=0.001
> [/quote]
> 
> I've already asked the CU to get VALID reverse DNS for their relay,
> but what else should I or they do here
> to not hit the rule, or is the rule (which is too complicated for me
> to understand atm) too aggressive for this case?
> 
> 
> Thanks!
Whoops, wrong headers....
[quote]
Here's the right ones.
Return-path: <am...@goamplify.com>
Envelope-to: ler@lerctr.org
Delivery-date: Tue, 14 Jan 2014 15:20:57 -0600
Received: from [173.227.169.138] (port=26985 
helo=webmail2.goamplify.com)
         by thebighonker.lerctr.org with esmtps (TLSv1:AES128-SHA:128)
         (Exim 4.82 (FreeBSD))
         (envelope-from <am...@goamplify.com>)
         id 1W3BPs-000JZi-16
         for ler@lerctr.org; Tue, 14 Jan 2014 15:20:57 -0600
Received: from Tweety03 (192.168.199.67) by ExternalRelayDR.ibmtefcu.org
         (192.168.220.148) with Microsoft SMTP Server id 14.2.328.9; Tue, 
14
         Jan 2014
         15:20:45 -0600
MIME-Version: 1.0
 From: amplifymobile@goamplify.com
To: ler@lerctr.org
Date: Tue, 14 Jan 2014 15:20:45 -0600
Subject: Amplify Mobile Deposit
Content-Type: multipart/alternative;
         boundary="--boundary_12747_6699b0bf-fd0f-4cc3-bd2d-fbd3e23ff55e"
Message-ID: 
<23...@ANGELIADR.ibmtefcu.org>
X-Spam-Score: 5.2 (+++++)
X-LERCTR-Spam-Score: 5.2 (+++++)
X-Spam-Report: SpamScore (5.2/5.0)
         
BAYES_50=0.8,HTML_MESSAGE=0.001,RDNS_NONE=0.793,TVD_PH_BODY_META=3.625
X-LERCTR-Spam-Report: SpamScore (5.2/5.0)
         
BAYES_50=0.8,HTML_MESSAGE=0.001,RDNS_NONE=0.793,TVD_PH_BODY_META=3.625
X-Spam-Flag: YES
X-LERCTR-Spam-Flag: YES
[/quote]
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: ler@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688

Re: TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

Posted by Benny Pedersen <me...@junc.eu>.
RW skrev den 2014-01-15 14:41:

>  body __TVD_PH_BODY_04		/\bfunds? (?!transfer
>     from)(?!from)(?!in)(?!via)(?:[a-z_,-]+ )+?to your (?:[a-z_,-]+
>     )*?account/i
> 
> I think this one needs more work.

or more ham samples in corpus

Re: TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

Posted by Benny Pedersen <me...@junc.eu>.
Larry Rosenman skrev den 2014-01-15 17:37:

> How can I help?

create a ticket, attache ham samples that hits this rule, wait

temp workaround:

score TVD_PH_BODY_META (-1) (-1) (-1) (-1)

Re: TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

Posted by Larry Rosenman <le...@lerctr.org>.
On 2014-01-15 07:41, RW wrote:
> On Tue, 14 Jan 2014 16:30:02 -0600
> Larry Rosenman wrote:
> 
>> I just had 3 messages that are HAM that hit TVD_PH_BODY_META=3.625
>> and got marked as SPAM.....
>> 
> 
> It seems that
> 
>   "Funds could take up to two business days to post to your account."
> 
> is hitting:
> 
>  body __TVD_PH_BODY_04		/\bfunds? (?!transfer
>     from)(?!from)(?!in)(?!via)(?:[a-z_,-]+ )+?to your (?:[a-z_,-]+
>     )*?account/i
> 
> I think this one needs more work.
I agree that this rule is too wide for such a high score.

How can I help?


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: ler@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688

Re: TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

Posted by RW <rw...@googlemail.com>.
On Tue, 14 Jan 2014 16:30:02 -0600
Larry Rosenman wrote:

> I just had 3 messages that are HAM that hit TVD_PH_BODY_META=3.625
> and got marked as SPAM.....
> 

It seems that

  "Funds could take up to two business days to post to your account."

is hitting:

 body __TVD_PH_BODY_04		/\bfunds? (?!transfer
    from)(?!from)(?!in)(?!via)(?:[a-z_,-]+ )+?to your (?:[a-z_,-]+
    )*?account/i

I think this one needs more work.

Re: TVD_PH_BODY_META rule: Hitting legit HAM from my Credit Uniomn

Posted by Benny Pedersen <me...@junc.eu>.
Larry Rosenman skrev den 2014-01-14 23:30:
> BAYES_00=-1.9,EL_STATIC=2,RDNS_DYNAMIC=0.982,TVD_RCVD_IP=0.001
> [/quote]

still bayes 00, if that is ham message, all is ok imho

if it move away from bayes 00 and still ham, then you would need to soft 
score rules that turn it over to spam score

meta RULENAME (-1) (-1) (-1) (-1)

would subtract 1 from rule name dynamicly if you like that rule to be 
less agrasive scored

meta RULENAME (1) (1) (1) (1)

would add 1 to scores in rule name dynamicly if that rule is trusted 
does not hit ham

well this is the basic :)

RULENAME is the rule that scored to high

> I've already asked the CU to get VALID reverse DNS for their relay,

first step would to have your dns to have that ip so it can be your 
domain first, and then ask them to make the reverse part match your 
hostname, if both reverse and forward match then its verifyed as a good 
sign of not spam sending or dynamic ip, anyone can make a ptr, but not 
anyone can make it match a forward reverse aswell without asking therre 
isp, isps need to be contacted if you have less then /24 iprange, since 
you then is in shared ip pool, if you have a full /24 ipv4 you might 
aswell set it self :)

> but what else should I or they do here
> to not hit the rule, or is the rule (which is too complicated for me
> to understand atm) too aggressive for this case?

the rule name hit on content that is seen in spam mails, but you can use 
spf/dkim/dmarc to weight it to be not spam if this is used on recipient 
mailserver, so thay can trust it to be not forged