<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/sqlgrey/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/sqlgrey/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 20 Feb 2013 18:18:20 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sqlgrey/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>IPv6 mail from Google</title><link>https://sourceforge.net/p/sqlgrey/bugs/27/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;there is a problem with IPv6 mail coming from Google (sqlgrey 1.8.0). Apparently retries are made by several different servers, not even withint the same /64 subnet... any ideas how to handle this?&lt;/p&gt;
&lt;p&gt;Feb 12 18:18:04 new: 2607:f8b0:4001:0c02:0000:0000:0000:0230(2607:f8b0:4001:c02::230), xxx@gmail.com -&amp;gt; mailbox&lt;br /&gt;
Feb 12 18:24:09 new: 2607:f8b0:4001:0c02:0000:0000:0000:022b(2607:f8b0:4001:c02::22b), xxx@gmail.com -&amp;gt; mailbox&lt;br /&gt;
Feb 12 18:47:28 new: 2607:f8b0:4001:0c02:0000:0000:0000:0229(2607:f8b0:4001:c02::229), xxx@gmail.com -&amp;gt; mailbox&lt;br /&gt;
Feb 12 19:11:48 new: 2607:f8b0:4001:0c03:0000:0000:0000:022e(2607:f8b0:4001:c03::22e), xxx@gmail.com -&amp;gt; mailbox&lt;br /&gt;
Feb 12 20:01:46 new: 2607:f8b0:4001:0c02:0000:0000:0000:022c(2607:f8b0:4001:c02::22c), xxx@gmail.com -&amp;gt; mailbox&lt;br /&gt;
Feb 12 21:03:28 new: 2607:f8b0:4001:0c03:0000:0000:0000:022b(2607:f8b0:4001:c03::22b), xxx@gmail.com -&amp;gt; mailbox&lt;br /&gt;
Feb 12 22:20:47 new: 2607:f8b0:4001:0c03:0000:0000:0000:0230(2607:f8b0:4001:c03::230), xxx@gmail.com -&amp;gt; mailbox&lt;br /&gt;
Feb 12 23:32:57 new: 2607:f8b0:4001:0c03:0000:0000:0000:0235(2607:f8b0:4001:c03::235), xxx@gmail.com -&amp;gt; mailbox&lt;br /&gt;
Feb 13 01:26:09 reconnect ok: 2607:f8b0:4001:0c02:0000:0000:0000:022b(2607:f8b0:4001:c02::22b), xxx@gmail.com -&amp;gt; mailbox (07:02:00)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Miha Verlic</dc:creator><pubDate>Wed, 20 Feb 2013 18:18:20 -0000</pubDate><guid>https://sourceforge.net704fa1f4e2f6528d45363e46d8d245f221b2d8a6</guid></item><item><title>Ability to modify the 450 smtp error message</title><link>https://sourceforge.net/p/sqlgrey/bugs/26/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not sure whether this is a good idea or not (but some greylist implementations permit it, eg : gld) but would it be possible for sqlgrey to implement the possibility to modify the 450 smtp session error message sent when greylisting a triplet?&lt;br /&gt;
So that instead of "Recipient address rejected: Greylisted for X minutes", the message can be tweaked to anything, like, eg : "Server temporarily unavailable, please try again later".&lt;br /&gt;
My idea so far is to not display to any human that greylisting is implemented, since the sending SMTP server doesn't care about anything appart from the 4xx message, and since spammers could still implement a retry feature based on this default error message.&lt;/p&gt;
&lt;p&gt;Thanks :)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 16 Jun 2012 19:49:41 -0000</pubDate><guid>https://sourceforge.net4e540a154f2ca51bde124617fa999394fb6b48f5</guid></item><item><title>hughes.net identified as dynamic</title><link>https://sourceforge.net/p/sqlgrey/bugs/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I don't think the regexp from hell that sorts out known end-user / dynamic pools patters works correctly for hughes.net satellite internet customers, as shown in this log entry.  This is an ISP is using a large server farm that takes forever to get whitelisted, if ever...&lt;/p&gt;
&lt;p&gt;sqlgrey: grey: identified dynamic pattern (last IP byte): smtprelay0148.b.hostedemail.com, 64.98.42.148: Using full IP.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 29 Mar 2011 04:26:26 -0000</pubDate><guid>https://sourceforge.net8cde6509e7c34693685c6684a580787da1c9a1ec</guid></item><item><title>Sqlgrey becomes unresponsive if MySQL server is unavailable</title><link>https://sourceforge.net/p/sqlgrey/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Version: 1.8.0rc2-1&lt;/p&gt;
&lt;p&gt;Sqlgrey behaves normally when the mysql server is killed with e.g. /etc/init.d/mysql stop, postfix then continues to deliver e-mail normally&lt;br /&gt;
When the server becomes unavailable for other reasons, for example using 'iptables -A INPUT -p tcp --dport 3306 -j DROP', then two different things happen.&lt;br /&gt;
- Sqlgrey dies, resulting in 'warning: connect to 127.0.0.1:2501: Connection refused', which gives postfix configuration errors and 4.3.5 error messages to the clients.&lt;br /&gt;
- Sqlgrey  keeps waiting for the connection to timeout, this results in messages like 'dbaccess: can't connect to DB: Can't connect to MySQL server on '127.0.0.1' (110)'. The effect is the same, 4.3.5 error messages to the clients.&lt;/p&gt;
&lt;p&gt;This can be reproduced by firewalling MySQL using 'iptables -A INPUT -p tcp --dport 3306 -j DROP'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rcb </dc:creator><pubDate>Mon, 05 Jul 2010 11:06:12 -0000</pubDate><guid>https://sourceforge.net7f2679a70bc0ec82e3993b577b2417ba4dd92a30</guid></item><item><title>Memory usage</title><link>https://sourceforge.net/p/sqlgrey/bugs/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Sometime ago I switched from Version 1.6 to 1.7, because I want to used the db_cluster function.&lt;br /&gt;
Since this time (I thing), I can see that the greylisting daemon is using more and more ram over the time. Greylisting is running on a heavy loaded machine with a lot of hardware power: 4x4 CPU and 32GByte Ram. After one month greylisting takes up to 16Gbyte from the 32GByte. Restarting is not possible. I need to kill -9 the daemon before I can start again.&lt;/p&gt;
&lt;p&gt;That's how it look now on one server:&lt;br /&gt;
sqlgrey   4585     1 11 Mar17 ?        1-16:00:27 /usr/bin/perl -w /usr/sbin/sqlgrey -d&lt;/p&gt;
&lt;p&gt;PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND&lt;br /&gt;
4585 sqlgrey   20   0 8001m 7.8g 3184 S    4 24.7   2400:31 sqlgrey&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Frank Urban</dc:creator><pubDate>Wed, 31 Mar 2010 05:40:08 -0000</pubDate><guid>https://sourceforge.net66d66f2919e20121572ccc3aeebddf0e8c1bab5e</guid></item><item><title>sqlgrey DB insert race condition</title><link>https://sourceforge.net/p/sqlgrey/bugs/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;we just started using sqlgrey in a production environment. Its a great tool and has drasticly lowered our incoming spam!&lt;/p&gt;
&lt;p&gt;Im noticing a race condition which is causing a couple of errors per day on our different mailservers, like:&lt;/p&gt;
&lt;p&gt;Feb 18 12:14:29 mx2 sqlgrey: dbaccess: warning: couldn't do query: INSERT INTO from_awl (sender_name, sender_domain, src, first_seen, last_seen) VALUES('x','y','z','2010-02-18 11:59:28',NOW()): , reconnecting to DB&lt;/p&gt;
&lt;p&gt;We currently have a setup with 3 mailservers in every zonefile, same prio. Mail is quite evenly spread over these servers. All the servers use a central sqlgrey database to keep track of the greylisting.&lt;/p&gt;
&lt;p&gt;What happens is, sometimes a mail arrives at mx1 and mx2 at exactly the same time, from the same server and sender. Sqlgrey checks DB from both mailservers and decides the the sender can be added to from_awl. The mailserver which succeeds the first in the resulting INSERT wins. The looser gets an sql error because of the duplicate primary key and decides he needs to reconnect to MySQL and issue an error per e-mail.&lt;/p&gt;
&lt;p&gt;There could be several workarounds for this, maybe disabling the primary key so a duplicatie entry doesn't result in error (dunno if duplicate entries will create other probs). Another option would be to use MySQL  "INSERT....  ON DUPLICATE KEY UPDATE" type query.&lt;/p&gt;
&lt;p&gt;Id like to know if you acknowledge this as a bug or if you have any suggestions.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;
Robin&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 18 Feb 2010 11:55:58 -0000</pubDate><guid>https://sourceforge.net5a8d8f379e90c12c2c0a952baf6dfaea3c3c18b2</guid></item><item><title>problem with class_c() and IPv6 addressess</title><link>https://sourceforge.net/p/sqlgrey/bugs/21/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;class_c function has, inside join, call to $splitted[0 .. x] instead @splitted[0 .. x]. First form provides only second element of array (returns 1) instead range form first to x and has impact on connect table (only second block IPv6, ':'-separated block is placed inside).&lt;/p&gt;
&lt;p&gt;This behaviour exists in both 1.6.x a 1.7.x branches. Trivial patch in attachement.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Piotr Meyer</dc:creator><pubDate>Sat, 20 Jun 2009 13:50:01 -0000</pubDate><guid>https://sourceforge.net3dfa2496814bae69048f93d2f67eb0b2d9ec85ca</guid></item><item><title>SqlGrey + MySQL 5.0.72 gives segfault</title><link>https://sourceforge.net/p/sqlgrey/bugs/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I successfully installed the sqlgrey-1.7.6 under gentoo. After the table creation I gave a sefault from sqlgrey to mysql.so and the program quit. Could you help me?&lt;/p&gt;
&lt;p&gt;from logs:&lt;br /&gt;
Nov 30 11:01:58 www /etc/init.d/sqlgrey[25221]: WARNING: sqlgrey has already been started&lt;br /&gt;
Nov 30 11:02:10 www sqlgrey: Process Backgrounded&lt;br /&gt;
Nov 30 11:02:10 www sqlgrey: 2008/11/30-11:02:10 sqlgrey (type Net::Server::Multiplex) starting! pid(25243)&lt;br /&gt;
Nov 30 11:02:10 www sqlgrey: Binding to TCP port 2501 on host 127.0.0.1&lt;br /&gt;
Nov 30 11:02:10 www sqlgrey: Setting gid to "410 410"&lt;br /&gt;
Nov 30 11:02:10 www sqlgrey: Setting uid to "102"&lt;br /&gt;
Nov 30 11:03:03 www postfix/smtpd[25317]: connect from ug-out-1314.google.com[66.249.92.169]&lt;br /&gt;
Nov 30 11:03:04 www sqlgrey[25243]: segfault at 8 ip 00007f13efbfe0ee sp 00007ffffaa38c70 error 4 in mysql.so[7f13efbaf000+13400&lt;br /&gt;
0]&lt;br /&gt;
Nov 30 11:03:04 www sqlgrey: 2008/11/30-11:03:04 CONNECT TCP Peer: "127.0.0.1:53453" Local: "127.0.0.1:2501"&lt;br /&gt;
Nov 30 11:03:04 www sqlgrey: optin: greylisting active for xy@yz.ab&lt;br /&gt;
Nov 30 11:03:05 www postfix/smtpd[25317]: warning: connect to 127.0.0.1:2501: Connection refused&lt;br /&gt;
Nov 30 11:03:05 www postfix/smtpd[25317]: warning: problem talking to server 127.0.0.1:2501: Connection refused&lt;br /&gt;
Nov 30 11:03:05 www postfix/smtpd[25317]: NOQUEUE: reject: RCPT from ug-out-1314.google.com[66.249.92.169]: 451 4.3.5 Server con&lt;br /&gt;
figuration problem; from=&amp;lt;df@ps.dd&amp;gt; to=&amp;lt;xy@yz.ab&amp;gt; proto=ESMTP helo=&amp;lt;ug-out-1314.google.com&amp;gt;&lt;br /&gt;
Nov 30 11:03:05 www postfix/smtpd[25317]: disconnect from ug-out-1314.google.com[66.249.92.169]&lt;/p&gt;
&lt;p&gt;packages:&lt;br /&gt;
&lt;a href="http://gentoo-portage.com/" rel="nofollow"&gt;http://gentoo-portage.com/&lt;/a&gt;&lt;br /&gt;
versions:&lt;br /&gt;
dev-lang/perl-5.8.8-r5&lt;br /&gt;
dev-perl/DBI-1.607&lt;br /&gt;
dev-perl/IO-Multiplex-1.10&lt;br /&gt;
dev-db/mysql-5.0.72-r1&lt;/p&gt;
&lt;p&gt;I running sqlgrey under 64 bit, and perl don't compiled with ithreads support.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 05 Dec 2008 22:50:32 -0000</pubDate><guid>https://sourceforge.netfd2f0501a6b353c1f928b62d838741b533d9ba25</guid></item><item><title>Ipv6 addresses in client_whitelist are ignored</title><link>https://sourceforge.net/p/sqlgrey/bugs/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;IPv6 addresses in client_ip_whitelist and client_ip_whitelist.local are ignored. &lt;/p&gt;
&lt;p&gt;The following patch is against 1.7.6 and does two things:&lt;/p&gt;
&lt;p&gt;1. It changes the regexp to identify IPv6 addresses. Letters in addresses are case-insensitive per the IPv6 specs.&lt;br /&gt;
2. It correctly reads the IPv6 addresses in client_ip_whitelist and client_ip_whitelist.local&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Patrick Vande Walle</dc:creator><pubDate>Tue, 21 Oct 2008 09:41:02 -0000</pubDate><guid>https://sourceforge.netd8470669adb3e5ccd78770ddff7e0ec6c72fd2a3</guid></item><item><title>sqlgrey segfaults after Mysql Timeout</title><link>https://sourceforge.net/p/sqlgrey/bugs/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I think it may be better do open a new issue report for this, even I'd posted this in the closed issue #1965695.&lt;/p&gt;
&lt;p&gt;SQLgrey get's a segfault when not connected to for a longer time:&lt;/p&gt;
&lt;p&gt;kernel: [687872.658710] sqlgrey[3190]: segfault at 4 ip b7b84874 sp bfdbae40 error 4 in libmysqlclient.so.15.0.0[b7b16000+1a4000]&lt;/p&gt;
&lt;p&gt;After some investigation, I can say this:&lt;/p&gt;
&lt;p&gt;The problem is caused by the mysqld connection timeout (wait_timeout parameter). Setting this parameter to somewhat like 600 seconds makes it easy to reproduce.&lt;/p&gt;
&lt;p&gt;If I'm getting this right, sqlgrey starts a connection to mysqld, the first time sqlgrey is accessed by postfix. This connection is kept open by sqlgrey all the time.&lt;br /&gt;
If there's no other connect within 8 hours (the default for wait_timeout) or what ever wait_timeout is set to, sqlgrey will seqfault the next time it gets a connection and tries to use it's (timeouted) mysqlconnection.&lt;/p&gt;
&lt;p&gt;So the problem is, sqlgrey does not detect this timeout right and is not able to reconnect to mysql.&lt;/p&gt;
&lt;p&gt;I don't know if this problem can be resolved by sqlgrey, or if it's a problem in perl DBI, but I guess there should be a way to get this right, even if a timeout of 8 hours may not be reached in most enviroments.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sah</dc:creator><pubDate>Thu, 11 Sep 2008 08:11:48 -0000</pubDate><guid>https://sourceforge.net3c9ba33e5712ca00ffc36b525f15443f3f05f2c8</guid></item></channel></rss>