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/ Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs ports PR.
Maintainer of mail/sqlgrey, Please note that PR ports/182440 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182440 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
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]); + } + } + _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!