You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2008/07/17 08:23:43 UTC

[Bug 5942] New: vbounce false positive

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5942

           Summary: vbounce false positive
           Product: Spamassassin
           Version: 3.2.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: sistemisti-posta@csi.it


With spamassassin 3.2.5 (or 3.2.4) plugin VBOUNCE mark as BOUNCE_MESSSAGE this
mail newsletter

X-Envelope-From: <is...@comunic.it>
X-Envelope-To: <OM...@regione.piemonte.it>,
  <OM...@regione.piemonte.it>,
  <OM...@regione.piemonte.it>,
  <OM...@regione.piemonte.it>,
  <OM...@regione.piemonte.it>,
  <OM...@regione.piemonte.it>,
  <OM...@regione.piemonte.it>,
  <OM...@regione.piemonte.it>,
  <OM...@regione.piemonte.it>,
  <OM...@regione.piemonte.it>,
  <OM...@regione.piemonte.it>
Received: from srv-asgw03.csi.it ([127.0.0.1])
  by localhost (srv-asgw03.csi.it [127.0.0.1]) (amavisd-new, port 10024)
  with ESMTP id Evx5G8KQCnRW; Wed, 16 Jul 2008 18:44:38 +0200 (CEST)
Received: from ermes.comunic.it (unknown [213.209.215.152])
  by srv-asgw03.csi.it (Postfix) with ESMTP id 7B7BC584029;
  Wed, 16 Jul 2008 18:44:37 +0200 (CEST)
Received: from 172.16.16.201 (macj.comunic.it [172.16.16.201])
  by ermes.comunic.it (8.13.6/8.13.6) with ESMTP id m6GD2gko034545;
  Wed, 16 Jul 2008 15:02:43 +0200 (CEST)
  (envelope-from iscrizioni@comunic.it)
Sender: iscrizioni@comunic.it
Errors-To: iscrizioni@comunic.it
Reply-To: iscrizioni@comunic.it
Message-ID: <99...@ermes.comunic.it>
Mime-Version: 1.0
Content-Type: text/plain
From: Parchi-News <pa...@comunic.it>
Date: Wed, 16 Jul 2008 15:04:31 +0200
Auto-Submitted: auto-generated
Precedence: Bulk
X-Listserver: Macjordomo 1.6a2 - Macintosh Listserver
To: Multiple recipients of Parchi-News - Sent by <is...@comunic.it>
Subject: [Parchi News] - Number 1884

[Parchi News] 16 luglio 2008 Issue 1884

Today's Topics:
[...]

This is not a bounce message. Maybe you can fix __AUTO_GEN_AS.
Thank you very much
Regards
Marco


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 5942] vbounce false positive due to "Auto-Submitted: auto-generated" header

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5942


Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|vbounce false positive      |vbounce false positive due
                   |                            |to "Auto-Submitted:
                   |                            |auto-generated" header




--- Comment #6 from Justin Mason <jm...@jmason.org>  2009-06-30 02:57:43 PST ---
ping.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 5942] vbounce false positive due to "Auto-Submitted: auto-generated" header

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5942





--- Comment #7 from Justin Mason <jm...@jmason.org>  2009-06-30 03:01:38 PST ---
ping.  once again guys, samples would be very helpful here (and the
whitelist_bounce_relays line to go with them)

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 5942] vbounce false positive due to "Auto-Submitted: auto-generated" header

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5942


Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #8 from Justin Mason <jm...@jmason.org>  2009-06-30 03:10:24 PST ---
I think this is fixed. please attach more samples anyway.

Adding         t.rules/BOUNCE_MESSAGE/bug-5942-1.cf                             
Adding         t.rules/BOUNCE_MESSAGE/bug-5942-2
Adding         t.rules/BOUNCE_MESSAGE/bug-5942-2.cf
Adding         t.rules/BOUNCE_MESSAGE/fp-bug-5942-3
Adding         t.rules/BOUNCE_MESSAGE/fp-bug-5942-3.cf
Adding         t.rules/BOUNCE_MESSAGE/fp-bug5942-1
Adding         t.rules/BOUNCE_MESSAGE/fp-bug5942-1.cf
Transmitting file data .........
Committed revision 789646 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=789646 ).

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 5942] vbounce false positive

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5942





--- Comment #1 from Lee Maguire <le...@hexkey.co.uk>  2008-07-17 00:52:17 PST ---

This is a serious bug with 20_vbounce.cf

  # __AUTO_GEN_AS can appear in non-bounce mails with __XM_VBULLETIN,
  # or with X-Cron-Env headers, so exclude those cases
 header __AUTO_GEN_AS    Auto-Submitted =~ /auto-(?:generated|replied)/

 Auto-Submitted can appear in *any* mail - not just bounce messages.  It's
primarily used to indicate that auto replies such as Out-of-office rules do not
trigger - but I also use it in my personal mail filtering.  It should be
considered good practice, but this rule seems to discourage that.

Also "Auto-Submitted: auto-generated" appearing in bounce messages is
considered a bug.

See RFC 3834
http://tools.ietf.org/rfc/rfc3834.txt


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 5942] vbounce false positive

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5942





--- Comment #3 from Lee Maguire <le...@hexkey.co.uk>  2008-07-17 02:56:38 PST ---
(In reply to comment #1)
> Also "Auto-Submitted: auto-generated" appearing in bounce messages is
> considered a bug.

The primary source of bounces with the header
 Auto-Submitted: auto-generated (failure)
seems to be versions Sendmail (the feature predating RFC3834), but these are
always preceded by the far more reliable RFC3464 bounce indicator:
  Content-Type: multipart/report; report-type=delivery-status; [...]

I've yet to personally receive a spam mail containing an Auto-Submitted header
(and given it flags mail as not-sent-by-a-human, it wouldn't be a bad thing it
it did) but I receive a lot of non-bounce ham (mainly automated reports) - and
as such I use a personal rule to keep them out of the spam folder.

header   LM_ROBOT_SENDER  Auto-Submitted =~ /auto-generated/ [if-unset: no]
describe LM_ROBOT_SENDER  Message flagged as not manually generated
score    LM_ROBOT_SENDER  -4

I also actively encourage senders of auto-generated mail to add Auto-Submitted:
or List-Id: headers as appropriate.


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 5942] vbounce false positive

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5942





--- Comment #4 from Justin Mason <jm...@jmason.org>  2008-07-17 03:06:59 PST ---
any samples you can provide (either way) would be very welcome btw...


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 5942] vbounce false positive

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5942


Justin Mason <jm...@jmason.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.3.0




--- Comment #2 from Justin Mason <jm...@jmason.org>  2008-07-17 02:30:09 PST ---
(In reply to comment #1)
> This is a serious bug with 20_vbounce.cf
> 
>   # __AUTO_GEN_AS can appear in non-bounce mails with __XM_VBULLETIN,
>   # or with X-Cron-Env headers, so exclude those cases
>  header __AUTO_GEN_AS    Auto-Submitted =~ /auto-(?:generated|replied)/
> 
>  Auto-Submitted can appear in *any* mail - not just bounce messages.  It's
> primarily used to indicate that auto replies such as Out-of-office rules do not
> trigger - but I also use it in my personal mail filtering.  It should be
> considered good practice, but this rule seems to discourage that.
> 
> Also "Auto-Submitted: auto-generated" appearing in bounce messages is
> considered a bug.
> 
> See RFC 3834
> http://tools.ietf.org/rfc/rfc3834.txt

thanks for spotting that.  agreed, we need to fix that...


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 5942] vbounce false positive

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5942





--- Comment #5 from Lee Maguire <le...@hexkey.co.uk>  2008-07-17 03:55:54 PST ---
(In reply to comment #4)
> any samples you can provide (either way) would be very welcome btw...

Any mail that's generated by the autoreply transport (for example vacation type
messages) will include the header:
http://www.exim.org/exim-html-current/doc/html/spec_html/ch27.html
Next time someone goes on holiday, I'll update the bug :)

Most of the mail is work/internal and not suitable for public tracker
submission.  Currently the bulk of mail I get with the header is actually as a
result of local-site configuration to specifically add it.  Usually an "-a"
argument where a script uses mail.

For example, an addition for the Nagios monitoring software to prevent it from
triggering out-of-office replies to alerts:

/etc/nagios2/commands.cfg

# 'notify-by-email' command definition
define command{
        command_name    notify-by-email
        command_line    /usr/bin/printf "%b" "***** Nagios
*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "**
$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" -a
"Auto-Submitted: auto-generated" $CONTACTEMAIL$
        }


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.