Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [AMaViS-user] amavisd-new-2.6.0-pre3 pre-release is available

From: Mark Martinec <Mark.Martinec+amavis(at)ijs.si>
Date: Sun Dec 30 2007 - 06:05:43 EST


> There are some incompatibilities with 2.5.3 (mainly affecting SQL
> logging/quarantining tables), please see release notes.

Should a need arise to switch from 2.6.0 back to 2.5.3 after adding a field 'partition_tag' to SQL tables and adjusting the UNIQUE constraint with its index on table maddr, the following patch to 2.5.3 (or 2.5.2) is needed, otherwise a SELECT on maddr can be very slow in the absence of an index:

  • amavisd-2.5.3~ Wed Dec 12 12:33:54 2007 +++ amavisd-2.5.3 Wed Dec 12 12:36:29 2007 @@ -900,5 +900,5 @@ 'sel_wblist' => \$sql_select_white_black_list, 'sel_adr' => - 'SELECT id FROM maddr WHERE email=?', + 'SELECT id FROM maddr WHERE partition_tag=0 AND email=?', 'ins_adr' => 'INSERT INTO maddr (email, domain) VALUES (?,?)',

Mark



This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ Received on Sun Dec 30 06:06:16 2007

This archive was generated by hypermail 2.1.8 : Tue Jul 15 2008 - 14:03:18 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library