Bug 134552 - [patch] mail/p5-Mail-SpamAssassin loses mail when killed by a signal
Summary: [patch] mail/p5-Mail-SpamAssassin loses mail when killed by a signal
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 03:20 UTC by eric
Modified: 2009-05-31 00:30 UTC (History)
0 users

See Also:


Attachments
patch-spamassassin.raw (332 bytes, text/plain)
2009-05-15 03:20 UTC, eric
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description eric 2009-05-15 03:20:02 UTC
When SpamAssassin 3.2.5 is killed by a signal, it exits with a zero
exit status.  When used with procmail, this causes mail to be lost,
because procmail thinks spamassassin completed successfully, but
spamassassin did not write the filtered mail to stdout to be
reclaimed by procmail for further processing and delivery.

For details, see:

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

SpamAssassin 3.2.5 was built with 7.1-RELEASE and 7.2-RELEASE,
so this will potentially affect a large number of FreeBSD users.

I am running /usr/local/bin/spamassassin from procmailrc;
perhaps the issue would not happen if spamd/spamc were used.

Fix: Put this patch in ports/mail/p5-Mail-SpamAssassin/files.
It is r759764 from the SpamAssassin SVN repository,
linked from Comment #8 in the bug referenced above.
Apparently, it will be included in 3.2.6.
How-To-Repeat: 
N/A
Comment 1 Michael Scheidell 2009-05-26 16:55:07 UTC
Looks reasonable.  I have a minor patch to SA later and will include 
this patch.

thanks.


-- 
Michael Scheidell, CTO
Phone: 561-999-5000, x 1259
 > *| *SECNAP Network Security Corporation

    * Certified SNORT Integrator
    * 2008-9 Hot Company Award Winner, World Executive Alliance
    * Five-Star Partner Program 2009, VARBusiness
    * Best Anti-Spam Product 2008, Network Products Guide
    * King of Spam Filters, SC Magazine 2008


_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
_________________________________________________________________________
Comment 2 Michael Scheidell 2009-05-27 18:42:21 UTC
committers:
please close PR 134552.

it will be incorporated in pr 135001

http://www.freebsd.org/cgi/query-pr.cgi?pr=135001


-- 
Michael Scheidell, CTO
Phone: 561-999-5000, x 1259
 > *| *SECNAP Network Security Corporation

    * Certified SNORT Integrator
    * 2008-9 Hot Company Award Winner, World Executive Alliance
    * Five-Star Partner Program 2009, VARBusiness
    * Best Anti-Spam Product 2008, Network Products Guide
    * King of Spam Filters, SC Magazine 2008

_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
_________________________________________________________________________
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-05-31 00:27:33 UTC
gabor       2009-05-30 23:27:23 UTC

  FreeBSD ports repository

  Modified files:
    mail/p5-Mail-SpamAssassin Makefile 
  Added files:
    mail/p5-Mail-SpamAssassin/files patch-spamassassin.raw 
  Log:
  - Fixing 3 issues:
  
          #1 There were problems with p5-Mail-DKIM 0.33, requiring >=0.34 [1]
  
          #2, running spamassassin via procmail could close without generating
              a error code [1] [2]
  
          #3, compiling spamc/spamd with NON base, ie PORTS openssl would fail.
              patch to makefile to include CFLAGS [1] [3]
  
  - Bump PORTREVISION
  
  PR:             ports/135001 [1], ports/134552 [2]
  Submitted by:   Michael Scheidell <scheidell@secnap.net> (maintainer) [1],
                  Eric van Gyzen <eric@vangyzen.net> [2],
                  olivier [3]
  
  Revision  Changes    Path
  1.125     +5 -3      ports/mail/p5-Mail-SpamAssassin/Makefile
  1.5       +12 -0     ports/mail/p5-Mail-SpamAssassin/files/patch-spamassassin.raw (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Gabor Kovesdan freebsd_committer freebsd_triage 2009-05-31 00:28:31 UTC
State Changed
From-To: open->closed

Superseded by ports/135001. 


Comment 5 Gabor Kovesdan freebsd_committer freebsd_triage 2009-05-31 00:28:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gabor

Superseded by ports/135001.