Bug 139306

Summary: [MAINTAINER PATCH] port mail/spamd fix ipfw issues
Product: Ports & Packages Reporter: Olli Hauer <ohauer>
Component: Individual Port(s)Assignee: Alexander Logvinov <avl>
Status: Closed FIXED    
Severity: Affects Only Me CC: ohauer
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch_mail_spamd.txt none

Description Olli Hauer 2009-10-02 10:20:02 UTC
Two issues reported by Tod McQuillin for spamd in combination ipfw.
 - ipfw table and spamdb runs out of sync
 - a new socket was opened every time greyscan runs (every 60s) which results in 'to many open files' failure.

Thanks to Tod for reporting and providing a patch to resolve the issues

olli hauer

How-To-Repeat: run spamd with ipfw instead pf
- spamdb WHITE entries and ipfw table are different after a while also duplicate WHITE entries are possible.
- after a view hundred's greyscan runs spamd and possible the system runs out of free file descriptors
Comment 1 Alexander Logvinov freebsd_committer freebsd_triage 2009-10-02 16:10:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->avl

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-10-03 05:39:16 UTC
avl         2009-10-03 04:39:07 UTC

  FreeBSD ports repository

  Modified files:
    mail/spamd           Makefile 
  Added files:
    mail/spamd/files     patch-spamd__grey.c 
  Log:
  - Fix ipfw issues
  - Bump PORTREVISION
  
  PR:             ports/139306
  Submitted by:   Olli Hauer <ohauer at gmx.de> (maintainer)
  Approved by:    tabthorpe, glarkin (mentors, implicit)
  
  Revision  Changes    Path
  1.19      +1 -1      ports/mail/spamd/Makefile
  1.3       +29 -0     ports/mail/spamd/files/patch-spamd__grey.c (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 3 Alexander Logvinov freebsd_committer freebsd_triage 2009-10-03 05:39:51 UTC
State Changed
From-To: open->closed

Committed. Thanks!