>Number:         182440
>Category:       misc
>Synopsis:       [PATCH] mail/sqlgrey: fix ipv6 whitelisting
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 27 12:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mark Felder
>Release:        
>Organization:
>Environment:
>Description:
this patch fixes sqlgrey whitelisting for ipv6. Without this patch lots of mail 
from domains with large numbers of ipv6 MTAs such as Google/Gmail end up lost 
because the greylisting process starts over every time a new delivery attempt 
happens. This patch changes the behavior to recognize delivery attempts from 
MTAs within the same /64.

http://sourceforge.net/p/sqlgrey/bugs/27/
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile    (revision 328001)
+++ Makefile    (working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=      sqlgrey
 PORTVERSION=   1.8.0
+PORTREVISION=  1
 CATEGORIES=    mail
 MASTER_SITES=  SF/${PORTNAME}/${PORTNAME}-1.8%20%28stable%29
 
Index: files/patch-ipv6
===================================================================
--- files/patch-ipv6    (revision 0)
+++ files/patch-ipv6    (working copy)
@@ -0,0 +1,11 @@
+--- sqlgrey.orig       2013-09-27 06:51:40.913265753 -0500
++++ sqlgrey    2013-09-27 06:51:25.000000000 -0500
+@@ -1037,7 +1037,7 @@
+         return join(":", (split(/:/, $addr))[0..3]);
+     } else {
+         ## For Non-EUI64 or Non-Global-Unicast return the address
+-        return $addr;
++        return join(":", (split(/:/, $addr))[0..3]);
+     }
+ }
+ 

Property changes on: files/patch-ipv6
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to