Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Dec 2013 16:59:37 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335776 - in head/mail/sqlgrey: . files
Message-ID:  <201312061659.rB6GxbCf043044@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Fri Dec  6 16:59:37 2013
New Revision: 335776
URL: http://svnweb.freebsd.org/changeset/ports/335776

Log:
  Import patch to fix IPv6 greylisting
  
  This patch is floating in the bug system on SourceForge. Upstream
  develoment is slow/nonexistent.
  
  If you have IPv6 mail servers and run sqlgrey you may notice emails from
  places like GMail sometimes get lost or take forever to get be received.
  This is because GMail does not retry from the same server, and they have
  a large pool of IPv6 capable MTAs. For IPv4 sqlgrey handles this by
  whitelisting the entire /24, but similar logic for whitelisting a /64 in
  sqlgrey doesn't work consistently. This fixes it.
  
  PR:		ports/182440
  Approved by:	crees (mentor), maintainer timeout

Added:
  head/mail/sqlgrey/files/patch-ipv6   (contents, props changed)
Modified:
  head/mail/sqlgrey/Makefile

Modified: head/mail/sqlgrey/Makefile
==============================================================================
--- head/mail/sqlgrey/Makefile	Fri Dec  6 16:53:20 2013	(r335775)
+++ head/mail/sqlgrey/Makefile	Fri Dec  6 16:59:37 2013	(r335776)
@@ -3,6 +3,7 @@
 
 PORTNAME=	sqlgrey
 PORTVERSION=	1.8.0
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-1.8%20%28stable%29
 

Added: head/mail/sqlgrey/files/patch-ipv6
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/sqlgrey/files/patch-ipv6	Fri Dec  6 16:59:37 2013	(r335776)
@@ -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]);
+     }
+ }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312061659.rB6GxbCf043044>