First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 71535
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lionel Bouton <lionel-dev@bouton.name>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
sqlgrey-1.3.1.ebuild ebuild for sqlgrey-1.3.1 text/plain Lionel Bouton 2004-11-17 08:01 0000 787 bytes Details
sqlgrey-1.3.2.ebuild ebuild for 1.3.2 text/plain Lionel Bouton 2004-11-18 00:08 0000 788 bytes Details
sqlgrey-1.4.0.ebuild New ebuild for 1.4.0 release text/plain Lionel Bouton 2004-12-10 13:15 0000 787 bytes Details
sqlgrey-1.4.7.ebuild ebuild for 1.4.7 application/octet-stream Lionel Bouton 2005-02-18 02:52 0000 788 bytes Details
sqlgrey-1.4.7-r1.ebuild Fix to 1.4.7 ebuild application/octet-stream Lionel Bouton 2005-02-20 13:55 0000 858 bytes Details
sqlgrey-1.5.1.ebuild New ebuild with pkg_config application/octet-stream Lionel Bouton 2005-03-01 17:47 0000 8.35 KB Details
sqlgrey.ebuild 1.5.5+ ebuild application/octet-stream Lionel Bouton 2005-04-27 10:43 0000 8.42 KB Details
sqlgrey-1.5.6.ebuild Ebuild for 1.5.6 application/octet-stream Ray Booysen 2005-05-02 02:35 0000 8.41 KB Details
sqlgrey-1.6.0.ebuild Ebuild for 1.6.0 application/octet-stream Ray Booysen 2005-06-17 05:32 0000 8.43 KB Details
sqlgrey-1.6.1.ebuild SQLGrey Ebuild for 1.6.1 application/octet-stream Ray Booysen 2005-06-24 08:01 0000 8.43 KB Details
sqlgrey-1.6.3.ebuild Ebuild for version 1.6.3 text/plain Ray Booysen 2005-07-08 06:57 0000 8.43 KB Details
sqlgrey-1.6.6.ebuild SQLGrey Ebuild for 1.6.6 text/plain Ray Booysen 2005-09-15 01:09 0000 8.43 KB Details
sqlgrey-1.7.3.ebuild mail-filter/sqlgrey-1.7.3.ebuild text/plain steveb 2006-01-10 17:12 0000 8.39 KB Details
sqlgrey.ebuild ebuild for 1.6.7 and 1.7.3 text/plain Lionel Bouton 2006-01-14 13:41 0000 8.34 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 71535 depends on: Show dependency tree
Show dependency graph
Bug 71535 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-17 08:00 0000
Hi,

You'll find an ebuild attached for SQLgrey

SQLgrey is a Postfix policy service implementing a grey-listing policy.
SQLgrey is a fork of postgrey, it is written in Perl and uses DBI to access an SQL database. Grey-listing stops 50 to 90 % junk mails (spam and virus) before they reach the Postfix server mailqueues (saves bandwidth, user time and CPU time).

I suggest mail-filter/sqlgrey, it depends on dev-lang/perl, dev-perl/DBI, dev-perl/net-server and dev-perl/IO-Multiplex.
In fact it doesn't really depend on dev-perl/net-server but net-server lacks a dependency on dev-perl/IO-Multiplex although Net::Server::Multiplex depends on it (I'll open a separate bug for this).

Lionel.

------- Comment #1 From Lionel Bouton 2004-11-17 08:01:20 0000 -------
Created an attachment (id=44162) [edit]
ebuild for sqlgrey-1.3.1

------- Comment #2 From Lionel Bouton 2004-11-17 08:02:43 0000 -------
Typo :
"doesn't really depend on dev-perl/net-server"
 should read :
"doesn't really depend on dev-perl/IO-Multiplex"

------- Comment #3 From Lionel Bouton 2004-11-18 00:08:41 0000 -------
Created an attachment (id=44205) [edit]
ebuild for 1.3.2

1.3.2 is a bugfix release

------- Comment #4 From Lionel Bouton 2004-11-27 08:34:42 0000 -------
latest version is now 1.3.5 (just rename the provided ebuild as
sqlgrey-1.3.5.ebuild).

It adds numerous enhancements and bugfixes (fix for a database unavailable
related crash, support for plaintext files for whitelists on IP and FQDN,
change on these files are applied on the fly, a X-Greylist header can be added,
prepared statements are used for better performance, ...)

------- Comment #5 From Lionel Bouton 2004-12-10 13:15:43 0000 -------
Created an attachment (id=45696) [edit]
New ebuild for 1.4.0 release

1.4.0 is out and considered stable. x86 arch is now marked stable in the
ebuild, other archs should be ok (pure perl script) but weren't tested.

------- Comment #6 From Lionel Bouton 2005-02-18 02:52:57 0000 -------
Created an attachment (id=51500) [edit]
ebuild for 1.4.6

Various cleanups, after re-reading ebuild docs. But I'm sure it would be best
if a Gentoo dev would look at it...

------- Comment #7 From Lionel Bouton 2005-02-20 13:55:09 0000 -------
Created an attachment (id=51717) [edit]
Fix to 1.4.7 ebuild

Just realised that old ebuilds didn't install documentation...

------- Comment #8 From Lionel Bouton 2005-02-20 13:57:19 0000 -------
Changed summary

------- Comment #9 From Lionel Bouton 2005-03-01 17:47:19 0000 -------
Created an attachment (id=52427) [edit]
New ebuild with pkg_config

This is a new ebuild with input from another Gentoo user. There's now a
pkg_config intended to help users set up their database and their SQLgrey
config file.

This is for the latest development release but works with the latest stable
release (1.4.8) too.

------- Comment #10 From steveb 2005-03-01 18:02:59 0000 -------
I can confirm that this ebuild works without any problem with SQLgrey 1.5.0 in
Gentoo.

Is there any reason why this is not in portage yet? What is holding this ebuild
from beeing pushed into production?

cheers

SteveB

------- Comment #11 From steveb 2005-03-15 20:01:21 0000 -------
ebuild works perfectly for SQLgrey 1.5.1, SQLgrey 1.5.2, SQLgrey 1.5.3 and
SQLgrey 1.5.4 (just save/rename the ebuild with the correct version number)

------- Comment #12 From Ray Booysen 2005-03-22 06:55:10 0000 -------
1.5.4 Ebuild works on my system: 

2.6.9-gentoo-r12
Athlon XP

------- Comment #13 From Lionel Bouton 2005-04-27 10:43:01 0000 -------
Created an attachment (id=57408) [edit]
1.5.5+ ebuild

New ebuild for 1.5.5, the previous one should be used until 1.5.4.

Is there anything holding back its Portage entry?

------- Comment #14 From steveb 2005-04-28 03:09:04 0000 -------
@Lionel: We would need a Gentoo developer who wants to be responsable and the
maintainer for the ebuild. That's all. Technicaly I think there is no reason
for holding this ebuild back. But time is shure a big issue for the Gentoo
development team. They just can't take every ebuild here in Bugzilla and push
it to the portage CVS. They need a developer to take the responsability for the
ebuild. And you can imagine that the Gentoo developers have thousend other
things to do.

As long as no developer is willing to take this responsability, the ebuild will
probably stay here in Bugzilla and will not be pushed to portage CVS.

That's the way it works with custom Gentoo ebuilds.

cheers

SteveB

------- Comment #15 From Ray Booysen 2005-04-28 03:36:16 0000 -------
I modified the log output to:  log_override = whitelist:1,grey:2

This is what I get when starting sqlgrey:
 * Shutting down SQLgrey...
Use of uninitialized value in substitution (s///) at /usr/sbin/sqlgrey line 1722.
Use of uninitialized value in substitution (s///) at /usr/sbin/sqlgrey line 1723.
Use of uninitialized value in substitution (s///) at /usr/sbin/sqlgrey line 1722.
Use of uninitialized value in substitution (s///) at /usr/sbin/sqlgrey line 1723.                                      [ ok ]
 * Starting SQLgrey...
Use of uninitialized value in substitution (s///) at /usr/sbin/sqlgrey line 1722.
Use of uninitialized value in substitution (s///) at /usr/sbin/sqlgrey line 1723.
Use of uninitialized value in substitution (s///) at /usr/sbin/sqlgrey line 1722.
Use of uninitialized value in substitution (s///) at /usr/sbin/sqlgrey line 1723. 

------- Comment #16 From Lionel Bouton 2005-04-28 05:13:50 0000 -------
Thanks for the bug report. These warnings are harmless in your case, but
there's a bug when spaces are used around "," and ":" in log_override. This is
now fixed in my tree and will be in 1.5.6.
As this is the dev branch, I'll delay the fix a bit until I finish the
optin/optout support.

If there is a need for another Gentoo developper, I'd be glad to help (in fact
I already requested cvs access for the GWN French translation). I've several
other interests in the mail-* ebuilds anyway. I can even test my own ebuilds on
sparc64 now :-)

------- Comment #17 From steveb 2005-04-28 05:41:10 0000 -------
@Linonel: I think developers are always good. I would like as well to join the
developer team. But my request send by E-Mail is still not answered. I hope to
get soon a replay. Anyway... I would definatly recommend you as a Gentoo
developer (if I could). Good luck.

cheers

SteveB

------- Comment #18 From Ray Booysen 2005-05-02 02:35:11 0000 -------
Created an attachment (id=57802) [edit]
Ebuild for 1.5.6

Ebuild for version 1.5.6 of sqlgrey.

------- Comment #19 From Ray Booysen 2005-05-02 02:36:01 0000 -------
Version 1.5.6 WFM on my machine.
Bug in Comment 15 has been fixed.

Thanks Lionel!

------- Comment #20 From steveb 2005-05-02 03:52:26 0000 -------
SQLgrey 1.5.6 is runing here since this morning (02.05.2002) around 02:00
(after I got a notification from freshmeat.net), without any problems.

The new introduced optin/optout possibility is nice. I have to take a closer
look at it and maybe replace my current Postfix policy for SQLgrey with the new
optin/optout mechanism.

Anyway... I just wish that I would have a central place where I could maintain
that kind of settings. Currently every service (anti-virus, anti-spam,
greylisting, etc) has his own way and place to store information for mail
users. All this starts to be a big maintenance issue.

cheers

SteveB

------- Comment #21 From Ray Booysen 2005-06-17 05:32:40 0000 -------
Created an attachment (id=61384) [edit]
Ebuild for 1.6.0

Ebuild for 1.6.0

------- Comment #22 From Ray Booysen 2005-06-17 05:33:05 0000 -------
1.6.0 installed and working as needed.

------- Comment #23 From steveb 2005-06-17 07:52:19 0000 -------
ebuild 1.6.0 works perfectly on my system. 
 
thanks 

------- Comment #24 From Ray Booysen 2005-06-24 08:01:57 0000 -------
Created an attachment (id=61842) [edit]
SQLGrey Ebuild for 1.6.1

Ebuild for version 1.6.1

------- Comment #25 From Ray Booysen 2005-07-08 06:57:58 0000 -------
Created an attachment (id=62928) [edit]
Ebuild for version 1.6.3

------- Comment #26 From Wolfram Schlich 2005-07-09 04:19:02 0000 -------
Any schedule on having this ebuild added to Portage?
If no one from the net-mail herd is willing to
add it, I'm going to add it myself I guess :)

------- Comment #27 From Andrej Kacian (RETIRED) 2005-07-09 04:42:47 0000 -------
(From update of attachment 62928 [edit])
Please, set correct mime type for text attachments.

------- Comment #28 From Andrej Kacian (RETIRED) 2005-07-09 04:46:25 0000 -------
Wolfram, if you're going to add it, make sure its initscript contains "provide
postfix_greylist" in depend(), just like gld or postgrey.

Also, be sure to add net-mail as herd into metadata.xml, in addition to you as a
maintainer.

Thanks for caring for this package, I don't have setup to add and reliably
maintain it.

------- Comment #29 From steveb 2005-07-09 12:46:01 0000 -------
(In reply to comment #26)  
> Any schedule on having this ebuild added to Portage?  
> If no one from the net-mail herd is willing to  
> add it, I'm going to add it myself I guess :)  
  
Wolfram! Thank you very much for taking care of this ebuild. Thank you, thank 
you, thank you. 
 
 
Kind Regards 
 
SteveB 

------- Comment #30 From Ray Booysen 2005-09-15 01:09:55 0000 -------
Created an attachment (id=68491) [edit]
SQLGrey Ebuild for 1.6.6

------- Comment #31 From Ray Booysen 2005-09-15 01:12:37 0000 -------
SQLGrey 1.6.6 working perfectly on my system.

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"

------- Comment #32 From Ɓukasz Mierzwa 2005-09-18 13:37:39 0000 -------
It's doing just perfect on my x86 gentoo-hardened box. I would love to see it
in portage.

------- Comment #33 From AngelKnight 2005-10-22 18:11:03 0000 -------
Just a ping regarding sqlgrey-1.6.6:

Using portage sync from 2005/10/22, ran into one snag that's not directly
sqlgrey's fault.

Took me quite by surprise when starting the sqlgrey initscript resulted in a
"Can't call method "do" on an undefined value at /usr/sbin/sqlgrey line 298." a
few seconds later.

It depends on DBD-SQLite if sqlite support is expected.  Only problem is that
this Perl build doesn't actually pull sqlite itself as a dependency.

Might be worth mentioning in documentation that the sqlite dependencies need to
be emerged by hand.

------- Comment #34 From Lionel Bouton 2005-10-23 17:43:35 0000 -------
Without a local sqlite, I can't see any purpose for DBD-SQLite... Shouldn't
this
be filed as a DBD-SQLite bug?

------- Comment #35 From Gudleik Rasch 2005-10-25 14:28:53 0000 -------
sqlgrey-1.6.6.ebuild works for me. thank you.

------- Comment #36 From Ramin Khatibi 2006-01-10 15:10:11 0000 -------
had an issues installing 1.6.6 this week. It would error out with an error when
trying to create the username. I changed the following and the ebuild worked.

pkg_setup() {
        has_version dev-perl/IO-Multiplex || die "IO-Multiplex needed. Please
emerge it or run g-cpan.pl IO::Multiplex"
        id sqlgrey 2>/dev/null || enewgroup sqlgrey
        id sqlgrey 2>/dev/null || enewuser sqlgrey -1 /bin/false
/var/spool/sqlgrey sqlgrey
}

to 

pkg_setup() {
        has_version dev-perl/IO-Multiplex || die "IO-Multiplex needed. Please
emerge it or run g-cpa
n.pl IO::Multiplex"
        enewgroup ${PN}
        enewuser ${PN} -1 -1 /var/spool/sqlgrey ${PN}
}

kashani

------- Comment #37 From steveb 2006-01-10 17:12:37 0000 -------
Created an attachment (id=76791) [edit]
mail-filter/sqlgrey-1.7.3.ebuild

Fixed the enewuser stuff and changed the config stuff to:
emerge --config ${PF}

------- Comment #38 From Lionel Bouton 2006-01-14 13:41:28 0000 -------
Created an attachment (id=77107) [edit]
Latest ebuild (for both 1.6.7 and 1.7.3 versions)

Based on steve's ebuild, only removed the "id sqlgrey 2>/dev/null ||" checks.
They aren't needed. enewuser and enewgroup from eutils.class make the proper
checks themselves.

------- Comment #39 From Ramin Khatibi 2006-02-28 16:42:14 0000 -------
This format does not not work and fails with lots of errors.
emerge --config sqlgrey-1.7.3

nms01 sqlgrey # emerge --config sqlgrey-1.7.3

Traceback (most recent call last):
  File "/usr/bin/emerge", line 2817, in ?
    pkgs = portage.db[portage.root]["vartree"].dbapi.match(myfiles[0])
  File "/usr/lib/portage/pym/portage.py", line 4842, in match
    mymatch=match_from_list(mydep,self.cp_list(mykey,use_cache=use_cache))
  File "/usr/lib/portage/pym/portage.py", line 4134, in match_from_list
    raise KeyError, "Specific key requires an operator (%s) (try adding an
'=')" % (mydep)
KeyError: "Specific key requires an operator (mail-filter/sqlgrey-1.7.3) (try
adding an '=')"

whereas this format works fine
emerge --config sqlgrey

sqlgrey also doesn't work by with Mysql 5.0 because of the whole latin1 vs utf8
thing. I dumped the schema from a Mysql 4.0 install and changed TYPE=MyISAM to
TYPE=MyISAM, DEFAULT CHARACTER SET latin1. I'm not sure where that should go in
the ebuild or code.

Ramin

------- Comment #40 From steveb 2006-02-28 17:33:02 0000 -------
(In reply to comment #39)
> sqlgrey also doesn't work by with Mysql 5.0 because of the whole latin1 vs utf8
> thing.
>

Well. I can't confirm this. SQLGrey 1.7.3 is runing here on MySQL 5.0.18
without any problems.

BTW: This is my DB definition:
-- phpMyAdmin SQL Dump
-- version 2.7.0-pl2
-- http://www.phpmyadmin.net
-- 
-- Host: localhost
-- Generation Time: Mar 01, 2006 at 02:28 AM
-- Server version: 5.0.18
-- PHP Version: 5.0.5-pl5-gentoo

SET FOREIGN_KEY_CHECKS=0;

SET AUTOCOMMIT=0;
START TRANSACTION;

-- 
-- Database: `sqlgrey`
-- 

-- --------------------------------------------------------

-- 
-- Table structure for table `config`
-- 

DROP TABLE IF EXISTS `config`;
CREATE TABLE IF NOT EXISTS `config` (
  `parameter` varchar(255) NOT NULL,
  `value` varchar(255) default NULL,
  PRIMARY KEY  (`parameter`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

-- 
-- Table structure for table `connect`
-- 

DROP TABLE IF EXISTS `connect`;
CREATE TABLE IF NOT EXISTS `connect` (
  `sender_name` varchar(64) NOT NULL,
  `sender_domain` varchar(64) NOT NULL,
  `src` varchar(64) NOT NULL,
  `rcpt` varchar(64) NOT NULL,
  `first_seen` timestamp NOT NULL default CURRENT_TIMESTAMP on update
CURRENT_TIMESTAMP,
  KEY `connect_idx` (`src`,`sender_domain`,`sender_name`),
  KEY `connect_fseen` (`first_seen`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

-- 
-- Table structure for table `domain_awl`
-- 

DROP TABLE IF EXISTS `domain_awl`;
CREATE TABLE IF NOT EXISTS `domain_awl` (
  `sender_domain` varchar(255) NOT NULL,
  `src` varchar(39) NOT NULL,
  `first_seen` timestamp NOT NULL default CURRENT_TIMESTAMP on update
CURRENT_TIMESTAMP,
  `last_seen` timestamp NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY  (`src`,`sender_domain`),
  KEY `domain_awl_lseen` (`last_seen`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

-- 
-- Table structure for table `from_awl`
-- 

DROP TABLE IF EXISTS `from_awl`;
CREATE TABLE IF NOT EXISTS `from_awl` (
  `sender_name` varchar(64) NOT NULL,
  `sender_domain` varchar(255) NOT NULL,
  `src` varchar(39) character set latin1 NOT NULL default '',
  `first_seen` timestamp NOT NULL default CURRENT_TIMESTAMP on update
CURRENT_TIMESTAMP,
  `last_seen` timestamp NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY  (`src`,`sender_domain`,`sender_name`),
  KEY `from_awl_lseen` (`last_seen`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

-- 
-- Table structure for table `optin_domain`
-- 

DROP TABLE IF EXISTS `optin_domain`;
CREATE TABLE IF NOT EXISTS `optin_domain` (
  `domain` varchar(255) NOT NULL,
  PRIMARY KEY  (`domain`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

-- 
-- Table structure for table `optin_email`
-- 

DROP TABLE IF EXISTS `optin_email`;
CREATE TABLE IF NOT EXISTS `optin_email` (
  `email` varchar(255) NOT NULL,
  PRIMARY KEY  (`email`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

-- 
-- Table structure for table `optout_domain`
-- 

DROP TABLE IF EXISTS `optout_domain`;
CREATE TABLE IF NOT EXISTS `optout_domain` (
  `domain` varchar(255) NOT NULL,
  PRIMARY KEY  (`domain`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

-- 
-- Table structure for table `optout_email`
-- 

DROP TABLE IF EXISTS `optout_email`;
CREATE TABLE IF NOT EXISTS `optout_email` (
  `email` varchar(255) NOT NULL,
  PRIMARY KEY  (`email`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

SET FOREIGN_KEY_CHECKS=1;

COMMIT;

------- Comment #41 From Francesco R. (RETIRED) 2006-10-04 04:03:26 0000 -------
The ebuild work for me both on x86 and amd64 using mysql use-flag.
Added to the tree, with net-mail herd.

Thanks all and bug me if it broke.

------- Comment #42 From Juan 2006-11-18 15:37:52 0000 -------
While sqlgrey is greylisting fine, I get this when I restart the service:

shadow mail # /etc/init.d/sqlgrey restart
 * Shutting down SQLgrey ...
Name "DBIx::DBCluster::DEBUG" used only once: possible typo at
/usr/sbin/sqlgrey line 2413.
Name "DBIx::DBCluster::WRITE_HOSTS_NEVER_READ" used only once: possible typo at
/usr/sbin/sqlgrey line 827.
Name "DBIx::DBCluster::CLUSTERS" used only once: possible typo at
/usr/sbin/sqlgrey line 818.                   [ ok ]
 * Starting SQLgrey ...
Name "DBIx::DBCluster::DEBUG" used only once: possible typo at
/usr/sbin/sqlgrey line 2413.
Name "DBIx::DBCluster::WRITE_HOSTS_NEVER_READ" used only once: possible typo at
/usr/sbin/sqlgrey line 827.
Name "DBIx::DBCluster::CLUSTERS" used only once: possible typo at
/usr/sbin/sqlgrey line 818.                   [ ok ]

My logs show all is good. Not sure why I get this error but it apparently isn't
hurting anything... or is it? =)

------- Comment #43 From Juan 2006-11-18 15:38:35 0000 -------
My bad. Using the 1.7.3 ebuild.

------- Comment #44 From Juan 2006-11-19 00:37:05 0000 -------
well, since I don't have a clustered SQL, I commented out the offending lines
from /usr/sbin/sqlgrey and the error is gone. Leaving db_cluster commented out
or setting it to off had no effect (sqlgrey.conf).

------- Comment #45 From Mike Crawford 2007-02-22 14:54:21 0000 -------
I was just reviewing my mailserver config preparing to move the pg database to
a new quad woodcrest with a terabyte of raid5 and 8 gigs of ram when I noticed
the database schema for amavisd-new had changed from the listed example on
gentoo-wiki located at
http://gentoo-wiki.com/HOWTO_Email:_A_Complete_Virtual_System 
which I've contributed to on a few occasions.

Since this server is mission critical I started looking around for an upstream
published/recommended pgsql schema for sqlgrey and found none. Perhaps upstream
could publish and or include database schemas for pgsql/mysql/sqlite in docs or
contrib for systems admins to make use of. The sql schema offered at
http://gentoo-wiki.com/HOWTO_Email:_A_Complete_Virtual_System_-_GreyListing may
be unmaintained or incompatible in current and future releases. Often schema
changes in cooperating mta applications can be difficult to backtrace if the
sql schema isn't published by the developers. Many thanks to Lionel Bouton if
he could advise where to find upstream supported sql schemas and if he could
add them to docs/contrib in future releases. 

------- Comment #46 From Lionel Bouton 2007-02-22 15:34:28 0000 -------
(In reply to comment #45)
> 
> [...] Perhaps upstream
> could publish and or include database schemas for pgsql/mysql/sqlite in docs or
> contrib for systems admins to make use of. The sql schema offered at
> http://gentoo-wiki.com/HOWTO_Email:_A_Complete_Virtual_System_-_GreyListing may
> be unmaintained or incompatible in current and future releases. Often schema
> changes in cooperating mta applications can be difficult to backtrace if the
> sql schema isn't published by the developers. Many thanks to Lionel Bouton if
> he could advise where to find upstream supported sql schemas and if he could
> add them to docs/contrib in future releases. 
> 

I'm so aware of database schema problems that I built database schema
migrations in SQLgrey itself from the start. You shouldn't ever need to create
or update a schema as SQLgrey detects the version of the schema and
automatically upgrades it at startup time if it needs to.

I like my softs to ask the bare minimum it needs from its users: less
maintenance for them, less support to do for me...

------- Comment #47 From Lionel Bouton 2007-02-22 15:36:29 0000 -------
(In reply to comment #44)
> well, since I don't have a clustered SQL, I commented out the offending lines
> from /usr/sbin/sqlgrey and the error is gone. Leaving db_cluster commented out
> or setting it to off had no effect (sqlgrey.conf).
> 

This is fixed in 1.7.5 and was only cosmetic: no harm done.

First Last Prev Next    No search results available      Search page      Enter new bug