Re: AxKit from trunk (rev. 437177) doesn't work

2006-09-18 Thread Matt Sergeant
That, and Alexey's patch both applied. Thanks. On 18-Sep-06, at 9:49 AM, Hansjoerg Pehofer wrote: Dahut! Alexey A. Ukhov [EMAIL PROTECTED] writes: [...] Apache::AxKit::LibXMLCallbacks-input_callbacks() ); -local $Apache::AxKit::LibXMLSupport::provider_cb = +local

Re: Temporary data storage

2006-09-18 Thread Matt Sergeant
On 17 Sep 2006, at 12:26, [EMAIL PROTECTED] wrote: When a request comes in the uri params are encrypted so I have to decrypt them and parse them. eg localhost:8000/emap?rose=encrypted string Where can I put the parameters? Should I 1) Have a my %hash in the plugin? 2) store a hashref in notes

Re: FATAL PLUGIN ERROR

2006-09-18 Thread Matt Sergeant
On 17 Sep 2006, at 07:56, Lars Skjærlund wrote: 10.0.16.50:1235 L3 FATAL PLUGIN ERROR: Can't locate object method new via package XML::LibXML::SAX at /usr/lib/perl5/site_perl/5.8.8/XML/SAX/ParserFactory.pm line 43. XML::Simple uses SAX if it's available. Perhaps you have a bug in your

Re: Temporary data storage

2006-09-18 Thread Matt Sergeant
On 18-Sep-06, at 8:54 AM, [EMAIL PROTECTED] wrote: Well my app is going in the one plugin. The only hook I have (up to now) is xmlresponse. So I want to share it across methods in the plugin. But not between plugins. So you have two options for storage. Both require creating a hash: my

Re: AxKit2 on Windows

2006-09-18 Thread Matt Sergeant
On 18-Sep-06, at 10:47 AM, Andrew Davies wrote: thanks for the earlier advice re porting my AxKit1 stuff... I am going to try AxKit2 behind apache so I can use my Auth:: stuff, and well, I always wanted to rewrite that session stuff anyway! So I fall at the first hurdle- I can't get AxKit2

Re: Request URI

2006-09-16 Thread Matt Sergeant
Lars Skjærlund wrote: Hi list, I've discovered an abnormal behaviour in Ax2: In most respects, uri_to_file does it work. However, in the case of a dirindex file beeing called, $hd-request_uri isn't set to the resolved filename, it's left at the original request format. Example: In my present

Re: continuations

2006-09-14 Thread Matt Sergeant
[EMAIL PROTECTED] wrote: Reading the docs, I've come to the continuation section. Does it only apply to disk stuff or could I write something that handled long database queries, for example? My advice is stay away from the continuations if you don't fully understand asynchronous

Re: Axkit2 Caching

2006-09-14 Thread Matt Sergeant
[EMAIL PROTECTED] wrote: On 13 Sep 2006 at 14:20, Also Sprach Matt Sergeant: [EMAIL PROTECTED] wrote: Is the Cache::Cache stuff in there for us to roll our own caching of html pages or does Axkit2 have that inbuilt? I'm looking for feedback on caching. I got fantastic performance when I

Re: Providers?

2006-09-14 Thread Matt Sergeant
Lars Skjærlund wrote: As you can see, I've tried to handle it directly in my routine, but I've also tried to do it the way you recommended (with a proper change of axkit.conf, of course). No matter what, I get the same error: 10.0.16.50:3220 L3 FATAL PLUGIN ERROR: Entity: line 1: parser error

Re: Providers?

2006-09-14 Thread Matt Sergeant
Lars Skjærlund wrote: Hi Matt, As you can see, I've tried to handle it directly in my routine, but I've also tried to do it the way you recommended (with a proper change of axkit.conf, of course). Have you printed/logged what's in $document? Yep - it _does_ contain the content of

Re: Dynamic configuration

2006-09-14 Thread Matt Sergeant
Lars Skjærlund wrote: Hi list, As my last encounters have shown, I'm working on a plugin to handle OpenDocument files. I hope this might be useful to a lot more people than just us, and I will contribute it in some way when it's finished. We do plan to register with CPAN to make our modules

Re: Is AxKit 2 for me (yet)?

2006-09-13 Thread Matt Sergeant
Sebastian Rahtz wrote: So can anyone give some hints as to what I can expect to just work and what else may involve pain? but it turns out AxKit 2 is nothing to do with Apache at all (do I understand right?), so anything related to apache will have to be rewritten. some care to

Re: Axkit2 Caching

2006-09-13 Thread Matt Sergeant
[EMAIL PROTECTED] wrote: Is the Cache::Cache stuff in there for us to roll our own caching of html pages or does Axkit2 have that inbuilt? I'm looking for feedback on caching. I got fantastic performance when I benchmarked doing XSLT without caching (just caching the stylesheet forever), and

Re: Providers?

2006-09-13 Thread Matt Sergeant
Lars Skjærlund wrote: Hi list, I'm trying to work my way through the new AxKit2 code - but before I figure it out myself, maybe someone would be kind enough to help me: Where's the equivalent of an AxKit1 Provider? We were thinking of whether we should do a hook for this, but instead we made

Re: Is AxKit 2 for me (yet)?

2006-09-13 Thread Matt Sergeant
Jörg Walter wrote: Cookie support could be a bit rough, didn't use it yet (Matt knows the answer). Cookie support rocks. And works well. (no AuthCookie though). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: design patters with mod_perl

2006-09-13 Thread Matt Sergeant
Frank Wiles wrote: What I typically recommend to people is that they use a template engine like Template-Toolkit.org. You simply pass it a Perl data structure and then you have all of the same transformation possibilities as XSLT ( at least as I understand it ). And if you ever need

ANNOUNCE: AxKit2 v1.1

2006-09-09 Thread Matt Sergeant
Obviously, any good leader operates under the assumption that the people being led are astonishingly gullible. This has proven to be a fair assumption throughout history, as demonstrated by the fact that many leaders have not been assassinated. -- Scott Adams The

Re: libxml2 + libxslt versions

2006-09-06 Thread Matt Sergeant
On 6-Sep-06, at 10:12 AM, Christopher H. Laco wrote: [EMAIL PROTECTED] wrote: For AxKit 1.7, that version is fine. If you want/need more up to date features (or have stability issues) you'll need the SVN version of AxKit as XML::LibXML 1.59 broke compatibility. That's the second time I've

Re: prefork and configs

2006-09-06 Thread Matt Sergeant
On 6-Sep-06, at 7:53 AM, Mike Williams wrote: On Wednesday 06 September 2006 11:27, Ask Bjørn Hansen wrote: config_dir attempts to get the config from $name/config, $name being based on $0, but $0 (the process name) is changed in qpsmtpd-prefork for prettyness. It should just store the name

Re: changing $0 was: prefork and configs

2006-09-06 Thread Matt Sergeant
On 6 Sep 2006, at 14:21, Ask Bjørn Hansen wrote: Please note that $0 is read-only on some perls, and thus will cause a run-time exception. Hmn -- is that common? We didn't get any bug reports about it before. :-/ Not sure. I got test failures for pperl with it, so had to modify $0 in

Re: ANNOUNCE: AxKit2 1.0

2006-08-31 Thread Matt Sergeant
On 30 Aug 2006, at 06:53, Lars Skjærlund wrote: With the risc of beeing of-topic [snip] I always love to hear success stories, and that one was absolutely fantastic. Congratulations. It almost makes me wish I was still a contractor so I could help you out :-) Now I just have to work on

Re: Repeated mail from hotmail

2006-08-28 Thread Matt Sergeant
On 28-Aug-06, at 1:05 PM, Robin Bowes wrote: That's my interpretation of what happened - hotmail gives up after a certain period of time and re-tries later. So forkserver needs a SIGPIPE handler?

Re: Opening postmaster and abuse

2006-08-28 Thread Matt Sergeant
On 28-Aug-06, at 4:04 PM, John Peacock wrote: David Nicol wrote: you could block postmaster|abuse|etc with a reply that sends them to an entirely different channel altogether: rcpt to:[EMAIL PROTECTED] 550 please enter legitimate issues at http://rt.example.com/smtp? token=hgfqqx But you'd

Re: Repeated mail from hotmail

2006-08-28 Thread Matt Sergeant
On 28-Aug-06, at 4:18 PM, Robin Bowes wrote: Matt Sergeant wrote: On 28-Aug-06, at 1:05 PM, Robin Bowes wrote: That's my interpretation of what happened - hotmail gives up after a certain period of time and re-tries later. So forkserver needs a SIGPIPE handler? Sorry, I don't understand

Re: Repeated mail from hotmail

2006-08-28 Thread Matt Sergeant
On 28-Aug-06, at 6:45 PM, Peter J. Holzer wrote: On 2006-08-28 18:14:55 -0400, Matt Sergeant wrote: It's kinda nasty, but required, as I've seen this problem before with receiving a large attachment - I've got loads of copies because the client times out while qmail-queue is running, and so I

Re: acceptable memory leaks?

2006-08-21 Thread Matt Sergeant
It does. But you may need: sub DBI::FIRSTKEY {} somewhere in your code. Not sure why. I'll ask Artur. On 21-Aug-06, at 5:48 PM, Jonathan Vanasco wrote: Devel::GC::Helper con: doesn't work with DBI installed

ANNOUNCE: AxKit2 1.0

2006-08-18 Thread Matt Sergeant
forwarded message: From: PAUSE [EMAIL PROTECTED] Date: August 18, 2006 8:37:42 PM EDT (CA) To: Matt Sergeant [EMAIL PROTECTED] Subject: CPAN Upload: M/MS/MSERGEANT/AxKit2-1.0.tar.gz Reply-To: cpan-testers@perl.org The uploaded file AxKit2-1.0.tar.gz has entered CPAN as file: $CPAN/authors

ANNOUNCE: AxKit2 1.0

2006-08-18 Thread Matt Sergeant
forwarded message: From: PAUSE [EMAIL PROTECTED] Date: August 18, 2006 8:37:42 PM EDT (CA) To: Matt Sergeant [EMAIL PROTECTED] Subject: CPAN Upload: M/MS/MSERGEANT/AxKit2-1.0.tar.gz Reply-To: cpan-testers@perl.org The uploaded file AxKit2-1.0.tar.gz has entered CPAN as file: $CPAN/authors

Re: Please vote on doing a beta (alpha?) release.

2006-08-16 Thread Matt Sergeant
On 16-Aug-06, at 8:44 PM, Robin Berjon wrote: kip, darobin, barries, jwalt, mach, nachbaur Not to bring up anything political, but should we reorganise a bit here? Barries, jwalt, and mach have been AWOL for a very long time by now. Don't get me wrong, I love those guys and I would be

Re: Can't use string (XML::LibXSLT) as a HASH ref while strict refs

2006-08-16 Thread Matt Sergeant
Upgrading XML::LibXML to 1.59 breaks AxKit. You can either use AxKit SVN or XML::LibXML 1.58. I recommend the former if you can (some places it breaks corp policy), because there have been a lot of fixes to XML::LibXML. On 16-Aug-06, at 6:23 PM, Tim Hibbard wrote: I'm getting an error in

Status Update: Docs!

2006-08-15 Thread Matt Sergeant
Woot! Ok that's a little cheer because I spent a large chunk of this evening writing docs to get people started with AxKit2. So download (still only from svn) and run: $ cp etc/axkit.conf.sample etc/axkit.conf $ ./axkit (at this point you'll probably have loads of CPAN dependencies to

Re: Dumping / Profiling Memory ?

2006-08-15 Thread Matt Sergeant
On 15-Aug-06, at 4:25 PM, Arshavir Grigorian wrote: I guess I was more interested in type of structures that continuously increase the memory footprint with each request (memory leaks). I've had moderate success with Devel::GC::Helper [*]. It's not mod_perl integrated, but easy enough to add

Re: Q on semacode site using axkit /. effect

2006-08-14 Thread Matt Sergeant
On 13-Aug-06, at 10:14 PM, S. Woodside wrote: On Aug 13, 2006, at 7:33 PM, [EMAIL PROTECTED] wrote: Hi Simon, Oh and if you haven't already seen it in operation, visit my site below or http://semacode.org I was checking out semacode (cool software btw) the other day noticed you had a

AxKit2: Status Update (3)

2006-08-13 Thread Matt Sergeant
XSP, XSLT, TAL working. XSP TaglibHelper working. Haven't tested SimpleTaglib yet, but it's there. XPathScript is there but there appear to be bugs (no transform method found in XML::XPathScript). Console added so you can log in and get stats on your server. Memory leak found and fixed.

Re: AxKit2 - a status update

2006-08-09 Thread Matt Sergeant
On 9-Aug-06, at 8:25 AM, [EMAIL PROTECTED] wrote: This is quite on-topic I think. The answer is it's much faster. There's a huge overhead in forking, and it just doesn't scale. I presume that there is an event loop. When an event happens and the processing of that event takes, for example,

Re: AxKit2 - a status update

2006-08-09 Thread Matt Sergeant
On 9-Aug-06, at 9:47 AM, [EMAIL PROTECTED] wrote: The server sits there listening for a request. This request has to go to a db, retrieve lots of data, generate the xml etc and eventually pass back html. Let's say that the retrieval of data takes about 5 mins. If 100 users put in a request at

Re: AxKit2 - a status update

2006-08-09 Thread Matt Sergeant
On 9-Aug-06, at 5:26 PM, William Ahern wrote: On Wed, Aug 09, 2006 at 05:14:42PM -0400, Matt Sergeant wrote: The best way then to handle this is integrate your current daemon, or re-write one end of that pipe so that Danga::Socket handles the results rather than your current setup

Re: connection notes across TLS?

2006-08-09 Thread Matt Sergeant
On 9-Aug-06, at 7:17 AM, Michael Holzt wrote: I consider TLS beeing implemented by unrecognized_command unclean anyway. Ironically I consider the way AUTH was implemented to be unclean. It's all a matter of perspective.

Re: connection notes across TLS?

2006-08-09 Thread Matt Sergeant
On 9-Aug-06, at 12:47 PM, Michael Holzt wrote: I consider TLS beeing implemented by unrecognized_command unclean anyway. Ironically I consider the way AUTH was implemented to be unclean. It's all a matter of perspective. Oh, i'm sure we can agree that both ways are not too clean. I think the

Re: AxKit2 - a status update

2006-08-08 Thread Matt Sergeant
On 8-Aug-06, at 10:38 AM, [EMAIL PROTECTED] wrote: On 8 Aug 2006 at 9:53, Also Sprach Matt Sergeant: I'm not quite sure what you're looking for here. Personally my use of axkit is for webapps, pure perl using sawa. No taglibs at all. (what drugs induced taglibs?!!) I think the only benefit

Re: AxKit2 - a status update

2006-08-08 Thread Matt Sergeant
On 8-Aug-06, at 10:40 AM, [EMAIL PROTECTED] wrote: On 8 Aug 2006 at 9:45, Also Sprach Matt Sergeant: But also after spending 7 years working with mod_perl I think I've decided I don't like it all that much :-) Why not? Too big and complicated. Ultimately the big win of mod_perl

Re: AxKit2 - a status update

2006-08-08 Thread Matt Sergeant
On 8-Aug-06, at 10:48 AM, Stuart Brown wrote: Is this XSP taglibs? They will work out of the box (only I haven't ported that functionality yet). If they're XSLT-style taglibs yes I'm sure those will work too. The big change will be that you will have to write new config files, and maybe some

Re: AxKit2 - a status update

2006-08-08 Thread Matt Sergeant
On 8-Aug-06, at 12:19 PM, [EMAIL PROTECTED] wrote: What perl libs? Danga::Socket (used by perlbal and qpsmtpd), Why not perlbal? I presume it doesn't do things that you want axkit2 to do, but what? More flexible config, better hooks for http delivery, querystring parsing, the actual

Re: [SVN] [37] Image gallery (and bug fixes required to make that work)

2006-08-06 Thread Matt Sergeant
It looks exactly like http://home.sergeant.org/ (except it probably runs faster :-) On 6-Aug-06, at 9:00 PM, S. Woodside wrote: Is there a live example of this running somewhere? I'd like to look at it without having to install AxKit2... (selfish I know) --simon On Aug 4, 2006, at 12:38

Re: AxKit2 - a status update

2006-08-06 Thread Matt Sergeant
On 6-Aug-06, at 3:28 AM, S. Woodside wrote: But what you're talking about seems like a major divergence. That's cool, because I can't wait to see how it's all going to turn out. I'm sure it will be interesting. But will it be a solution that I'll want to use? I hope so. :-) It seems

Re: AxKit2 - a status update

2006-08-06 Thread Matt Sergeant
On 6-Aug-06, at 8:39 PM, S. Woodside wrote: But with my own stuff on semacode.org I do want to add user logins and interactive features eventually. On the other hand, I don't want to use AxKit for everything, at least for the foreseeable future. For example I've adopted Sympa as my mailing

Re: Re : AxKit2 Status Update

2006-08-05 Thread Matt Sergeant
On 5-Aug-06, at 6:07 PM, Jerome wrote: I'm interested about playing with axkit2. Where can I find it please ? You need SVN to check it out. Then do: $ svn co svn://axkit.org/AxKit2 $ cd AxKit2/trunk $ ./axkit That sets up the server running on port 8000.

AxKit2 Status Update

2006-08-04 Thread Matt Sergeant
Current status: - TAL working (Petal, but using a tal2xslt stylesheet and using LibXSLT to execute) - XPathScript working - XSLT and XSP working - Demo started. Contains examples of XSP, XSLT, TAL and XPathScript. - Gallery added. This is our first real example app - a port of

Re: Improved axkit uri scheme

2006-08-01 Thread Matt Sergeant
On 1-Aug-06, at 5:48 AM, Jerome wrote: I working on an axkit based portal. The main goal is to provide content aggregation. I would like to achieve this using the XSLT document() function and axkit: loopback protocol. The main problem is these URIs don't support query strings. I looked

Re: [SVN] [16] Bug fixes

2006-07-31 Thread Matt Sergeant
On 30-Jul-06, at 2:59 PM, Tom Howe wrote: Hi, I have use axkit and probably will again one day and would like to continue to receive general updates but don't have any need to see subversion commit messages, especially if development ramps up to any degree. Can you filter them out? Maybe we

Re: [SVN] [16] Bug fixes

2006-07-29 Thread Matt Sergeant
On 29-Jul-06, at 6:51 AM, Robin Berjon wrote: Hey Matt, not that I personally mind, being interested and subscribed to both (I think), but shouldn't the commit messages go to -developers? The plan was to disband the -devel list because the project is now so quiet we don't really need

Re: Axkit Hosters

2006-07-28 Thread Matt Sergeant
On 27-Jul-06, at 10:26 AM, [EMAIL PROTECTED] wrote: On 27 Jul 2006 at 9:00, Also Sprach Matt Sergeant: I think you'd have to find a dedicated host. These days lots of places are doing xen based hosting, so it's not that expensive. What is xen based hosting? Shared servers, only you get

Re: Axkit Hosters

2006-07-27 Thread Matt Sergeant
On 26-Jul-06, at 4:33 PM, Tim Hibbard wrote: Does anyone know a web hosting company that will host an AxKit application?? I think you'd have to find a dedicated host. These days lots of places are doing xen based hosting, so it's not that expensive. Matt.

AxKit2 - a status update

2006-07-27 Thread Matt Sergeant
Well every once in a while someone still asks about AxKit 2. I know this project has mostly floundered and people have gone on to other things, but I still find some value in the XML paradigm for web development - specifically in saving me from worrying about XSS errors, but also it looks

Re: ignore load balancer alive checks

2006-07-20 Thread Matt Sergeant
On 20-Jul-06, at 1:00 PM, Jared P Bostic wrote: I'm setting up 0.32 behind a load balancer and noticed that the TCP service checks that it sends are really annoying to sift through in the log files. I would like to use fairly verbose logging for testing, but not have qpsmtpd constantly need to

Spam - Re: Bangalore IT Directory - 2006

2006-07-17 Thread Matt Sergeant
I have no idea how that happened. The address doesn't appear subscribed to the mailing list, so they could have subscribed, posted, and unsubbed. I'll look into it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Syntax for using a remote TCP spamd socket

2006-07-06 Thread Matt Sergeant
On 4-Jul-06, at 5:13 PM, Kjetil Kjernsmo wrote: So, only one thing remains: I couldn't quite figure out the syntax for using a remote spamd socket. I have spamd running on a separate machine, and I tried simply spamassassin munge_subject_threshold 5 reject_threshold 10 spamd_socket

Re: Plugin modules (My::Plugin) / plugins on CPAN

2006-06-28 Thread Matt Sergeant
On 28-Jun-06, at 1:57 AM, Ask Bjørn Hansen wrote: 2) Make load_plugins or Qpsmtpd::Plugin smart enough that we won't need plugin_name in each plugin. That's a trivial change to your patch. Just make line 68 of the patch: + my $eval = require $package;\nsub ${plugin}::plugin_name

Re: Plugin modules (My::Plugin) / plugins on CPAN

2006-06-28 Thread Matt Sergeant
On 28-Jun-06, at 11:43 AM, Andrew Pam wrote: On Wed, Jun 28, 2006 at 10:41:51AM -0400, Matt Sergeant wrote: + my $eval = require $package;\nsub ${plugin}::plugin_name { '$plugin' }; Why the \n? It seems to me that a space would be more readable and have the same effect. Bikeshed

Re: PATCH trunk: add --listen-queue

2006-06-27 Thread Matt Sergeant
On 27-Jun-06, at 4:01 PM, Brian Grossman wrote: This patch adds --listen-queue, in case somebody wants to use something other than SOMAXCONN. It's purely optional. I kind of doubt anyone would ever care. I'm not sure this has any effect on a non-blocking socket. Does anyone know

Re: PATCH trunk optimization for Danga::DNS::Resolver::Query

2006-06-21 Thread Matt Sergeant
On 21-Jun-06, at 2:51 AM, Robert Spier wrote: It also makes the code a bit harder to read. Unless there's actually a tangible performance benefit, I'm not sure it's worth it. It's a rather performance sensitive part of the code, and it reduces the number of ops required (the alternative is

Re: Plugin return codes and SMTP status codes (was: [PATCH] implement preforwarding)

2006-06-19 Thread Matt Sergeant
On 19-Jun-06, at 7:31 AM, Peter J. Holzer wrote: Which reminds me: I think we should move to a more flexible system of return codes We do. $self-qp-respond(CODE, @MESSAGE); return DONE; (that's why we have the DONE return code).

Re: pollserver status?

2006-06-16 Thread Matt Sergeant
On 15-Jun-06, at 3:37 PM, Brian Grossman wrote: Thanks both of you. I'll rebase mine to trunk. Yup. I have a feeling I stumbled across a perl bug or something. I got very strange happenings in my server. I want to try again with a more recent perl at some point, but as with everyone else, no

Re: pollserver status?

2006-06-15 Thread Matt Sergeant
On 14-Jun-06, at 9:28 PM, John Peacock wrote: Brian Grossman wrote: Is it still in trunk? Last I knew it had been merged to trunk, but there had been stability problems so maybe it got put back into branches? All current development has been on /branches/0.3x and /trunk has been

Re: [PATCH] High-performance qpsmtpd daemon

2006-05-31 Thread Matt Sergeant
On 31-May-06, at 2:55 AM, Lars Roland wrote: On 5/31/06, Matt Sergeant [EMAIL PROTECTED] wrote: There's a couple of bugs in your patch (missing disconnect code, so QUIT never works). The following fixes that, and removes the daemonize stuff. Removing the daemonize stuff completely is going

Re: [PATCH] High-performance qpsmtpd daemon

2006-05-30 Thread Matt Sergeant
On 30-May-06, at 9:35 AM, John Peacock wrote: Charlie Brady wrote: I think it should be called qpsmtpd-prefork rather than qpsmtpd- highperf. There are various backtick and system() calls which can be done directly in perl. daemonize() should at least be optional - not required (or

Re: [PATCH] High-performance qpsmtpd daemon

2006-05-28 Thread Matt Sergeant
On 28-May-06, at 1:10 PM, John Peacock wrote: Matt Sergeant wrote: Looks interesting, but I'm not too keen on that patch. I'd much rather see subclasses used for this, since the changes are very particular to your daemon (i.e. catching specific die() strings). Should be very trivial

Re: Danga mailing list is an earlytalker?

2006-05-15 Thread Matt Sergeant
Les Mikesell wrote: On Mon, 2006-05-15 at 12:06, [EMAIL PROTECTED] wrote: Or re-think the social implications of imposing an intentional delay on every delivery to your server. No different than a loaded server having to do DNS lookups and spam checking on the real-time mail stream. I don't

Re: smtp authentication

2006-05-12 Thread Matt Sergeant
On 12-May-06, at 8:37 AM, [EMAIL PROTECTED] wrote: I am thinking about a plugin that acts as a proxy for the smtp authentication that is already being done on my mail server. So when someone is sending mail through my server and it requests authentication before relaying my plugin would

Re: [sqlite] sqlite driven web-site

2006-05-05 Thread Matt Sergeant
FWIW I've created a very high traffic web site (over 2000 tps) that uses SQLite at its core (also uses MS SQL Server, but don't blame me for that). So high traffic isn't a problem with a good design. On 5-May-06, at 11:30 AM, Clark Christensen wrote: I have dynamic apps running on my

Re: [sqlite] sqlite driven web-site

2006-05-05 Thread Matt Sergeant
FWIW I've created a very high traffic web site (over 2000 tps) that uses SQLite at its core (also uses MS SQL Server, but don't blame me for that). So high traffic isn't a problem with a good design. On 5-May-06, at 11:30 AM, Clark Christensen wrote: I have dynamic apps running on my

Re: Sorbs

2006-04-25 Thread Matt Sergeant
On 25-Apr-06, at 7:16 PM, Max Clark wrote: I was surprised not to see either spamhaus or spamcop on your list - I'm assuming there is a reason why not, would you mind sharing your reasons? spamhaus is there. Spamcop sucks :-)

Re: Danga based high performance version?

2006-04-24 Thread Matt Sergeant
On 23-Apr-06, at 9:59 PM, [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: The Danga version is indeed in the trunk now. The 0.3x releases are from the 0.3x branch[1]. The danga version isn't entirely stable yet. We might move it back to a branch and the 0.3x code back to the trunk.

Re: [sqlite] Direct use of SQLite btree functions / performance

2006-04-20 Thread Matt Sergeant
On 20-Apr-06, at 9:10 AM, Jay Sprenkle wrote: Just out of curiosity why is this data in the database? I've seen very few applications where the blob is indexed or operated upon by the database and it's always a pain to deal with it. We always just left binary data in the file system and

Re: google calendar email rejected

2006-04-18 Thread Matt Sergeant
On 18-Apr-06, at 3:42 AM, john habermann wrote: Hi I have just noticed that the check_basicheaders plugin rejects invites from google's new calendar application. I've let my contact at google know - he said it'll get to the right people - expect it to be fixed fairly quickly. Matt.

Re: Plugin Idea

2006-04-16 Thread Matt Sergeant
On 15-Apr-06, at 9:28 PM, Max Clark wrote: As I have been watching my qpsmtpd logs I have noticed that regardless of how high I set the max connections (currently 100 with 5 max from ip) we seem to consistently run steady at the limit. It has made me wonder how many of these connections are

Re: New plugin: auth_ldap

2006-04-12 Thread Matt Sergeant
On 11-Apr-06, at 10:10 PM, Elliot Foster wrote: I guess that means you didn't find any other obvious changes that would be necessary to the plugin? One question I had was whether or not the old school register() method was going away in favour of the init() method. I didn't really give

Re: Caching

2006-04-11 Thread Matt Sergeant
On 11-Apr-06, at 4:17 PM, Aaron Steager wrote: I read through http://axkit.org/wiki/view/AxKit/XSPGuide about caching and everything else. So I put the example code in one of my XSP pages to see if it would give me any improvements and I don't believe it did, probably because I'm not

Re: New plugin: auth_ldap

2006-04-11 Thread Matt Sergeant
On 11-Apr-06, at 2:56 AM, Elliot Foster wrote: I would like to submit another plugin for your consideration. This plugin is different from auth_ldap_bind in that it supports CRAM- MD5 authentication. The two plugins have different applications (mostly due to different security

Re: New plugin: auth_ldap

2006-04-11 Thread Matt Sergeant
On 11-Apr-06, at 12:02 PM, Elliot Foster wrote: Matt Sergeant wrote: On 11-Apr-06, at 2:56 AM, Elliot Foster wrote: I would like to submit another plugin for your consideration. This plugin is different from auth_ldap_bind in that it supports CRAM- MD5 authentication. The two plugins

Re: New plugin: auth_ldap

2006-04-11 Thread Matt Sergeant
On 11-Apr-06, at 12:37 PM, Elliot Foster wrote: Yeah, basically in my experience LDAP is pretty slow for what it does, and anything that can help that performance the better. Interesting. I've found it to be rather good for what it does (scalable flexible information storage optimized

Re: Apache::Qpsmtpd

2006-04-06 Thread Matt Sergeant
On 5-Apr-06, at 8:15 PM, John Peacock wrote: Matt Sergeant wrote: It's all about the connection overhead of forking. Forkserver forks for every connection whereas Apache::Qpsmtpd doesn't. That's bound to be more scalable. Look how much faster Apache is than stock NCSAhttpd. I that's all

Re: Apache::Qpsmtpd

2006-04-05 Thread Matt Sergeant
On 3-Apr-06, at 4:08 PM, Ask Bjørn Hansen wrote: I am not sure there's a significant performance difference between driving qpsmtpd with forkserver or with apache. It's all about the connection overhead of forking. Forkserver forks for every connection whereas Apache::Qpsmtpd doesn't.

Re: Apache::Qpsmtpd

2006-04-02 Thread Matt Sergeant
On 2-Apr-06, at 1:13 AM, John Wang wrote: Also, are there any known problems with Apache::Qpsmtpd aside from not working with check_earlytalker. I've read that apache.org uses Apache::Qpsmtpd so I assume it's reasonably stable. Is this true? The post also indicates that Apache::Qpsmtpd

Re: Danga based high performance version?

2006-04-02 Thread Matt Sergeant
On 2-Apr-06, at 7:09 PM, John Wang wrote: On 4/1/06, Ask Bjørn Hansen wrote: The danga version isn't entirely stable yet. We might move it back to a branch and the 0.3x code back to the trunk. Thanks Ask. Are the stability issues general issues or are they OS/distro-specific? Nobody

Re: Apache::Qpsmtpd

2006-04-02 Thread Matt Sergeant
On 2-Apr-06, at 8:23 PM, Robin Bowes wrote: a) it does work with check_earlytalker - if you find it doesn't please file a bug report. b) it should be significantly faster since there is no fork overhead with Apache. c) there are other management advantages such as the Apache scoreboard.

Re: Migration mail server

2006-03-22 Thread Matt Sergeant
Robin Bowes wrote: Hi, I'm about to do a mail server migration. This is a hardware upgrade, i.e. the software will remain pretty much the same (qmail,vpopmail,bincimap,qpsmtpd, etc). I'm thinking about how best to do the cutover between mail servers. At some stage, I want to stop mail being

Re: [sqlite] File locking additions

2006-03-16 Thread Matt Sergeant
On 7-Mar-06, at 7:06 PM, Adam Swift wrote: In order to provide locking support for database files mounted from remote file systems (NFS, SMB, AFP, etc) as well as provide compatible locking support between database clients both local and remote, I would like to propose some additions to

Re: [sqlite] File locking additions

2006-03-16 Thread Matt Sergeant
On 7-Mar-06, at 7:06 PM, Adam Swift wrote: In order to provide locking support for database files mounted from remote file systems (NFS, SMB, AFP, etc) as well as provide compatible locking support between database clients both local and remote, I would like to propose some additions to

Re: dnsbl or spamhaus occassionally blocks wrong IP

2006-03-15 Thread Matt Sergeant
On 14-Mar-06, at 5:50 PM, Peter J. Holzer wrote: There is code in trunk to deal with this specific issue, around line 124 of ~/qpsmtpd, where the _fork subroutine is defined. You are right. But I don't understand it: # cope with different versions of Net::DNS eval {

Re: status of trunk ?

2006-03-10 Thread Matt Sergeant
On 10-Mar-06, at 2:03 PM, David Sparks wrote: I have been running it for a while however I don't have good news. I lose mail. I have no idea why yet and I haven't had chance to debug it. I'm pretty frustrated by this issue. It seems to work fine for a while and eventually start failing in

Split plugins dir

2006-03-08 Thread Matt Sergeant
In thinking about upgrading a qpsmtpd installation I once again ran across the issue that I can't just copy the plugins dir over my old one, as I have plugins that I have modified, and my own plugins. We got around this with config by creating config.sample/ So here's a proposal. Create a

Re: status of trunk ?

2006-02-23 Thread Matt Sergeant
On 23-Feb-06, at 3:48 AM, Robert Gomezi wrote: Hi, What is the status of trunk ? Is anybody using the event driven server in production/semi-production environment. Are there any gotchas in terms of which plugins won't work or things to look out for when writing plugins I have been running it

Re: hook_reset_transaction firing three times for one msg

2006-02-23 Thread Matt Sergeant
On 23-Feb-06, at 4:27 PM, Robin Bowes wrote: My preferred approach would be to apply the following simple patch to qmail-queue to return DECLINED instead of OK following successful queueing of the msg: --- qmail-queue 2006-02-23 02:04:42.0 + +++ qmail-queue.patched 2006-02-23

Re: Mail submisstion - second instance of qpsmtpd vs stunnel

2006-02-18 Thread Matt Sergeant
On 18-Feb-06, at 9:19 PM, Bob Dodds wrote: Les is a bit slow to recognize on his own, in lieu of hearing me at any time, that mimedefang and milters are qpsmtpd assets--NOT exclusively sendmail assets. Shall we iterate one more loop of in-my-face denial, Les? How many more loops of in-my-face

Re: Add PERL_NO_GET_CONTEXT to DBI.xs

2006-02-14 Thread Matt Sergeant
On 6-Feb-06, at 5:10 PM, Tim Bunce wrote: On Mon, Feb 06, 2006 at 05:53:18AM -0800, Gisle Aas wrote: Tim Bunce [EMAIL PROTECTED] writes: I agree. Any chance yould you patch lib/DBI/DBD.pm to add in a section describing what driver authors need to do? Is this enough? That's great. I

Re: Add PERL_NO_GET_CONTEXT to DBI.xs

2006-02-14 Thread Matt Sergeant
On 14-Feb-06, at 6:20 PM, Gisle Aas wrote: There isn't currently a DBI_VERSION to test against. DBIXS.h does define DBIXS_VERSION and this could have been incremented, but PERL_NO_GET_CONTEXT need to be defined before this file is included. If DBIXS_VERSION was moved to a different header file

Re: [sqlite] DBD::SQLite bug number 17292 - bounty!

2006-01-28 Thread Matt Sergeant
On 28 Jan 2006, at 01:09, Randy J. Ray wrote: Although - now that I've said all that - does the dbd interface actually use sqlite3, or just version 2? DBD::SQLite uses sqlite3. Correct. There's DBD::SQLite2 for those who have to use sqlite2 for legacy purposes, but I'm pretty sure it

Re: [sqlite] DBD::SQLite bug number 17292 - bounty!

2006-01-28 Thread Matt Sergeant
On 28 Jan 2006, at 01:09, Randy J. Ray wrote: Although - now that I've said all that - does the dbd interface actually use sqlite3, or just version 2? DBD::SQLite uses sqlite3. Correct. There's DBD::SQLite2 for those who have to use sqlite2 for legacy purposes, but I'm pretty sure it

Re: [svn:qpsmtpd] r607 - in trunk: lib/Qpsmtpd plugins/auth

2006-01-27 Thread Matt Sergeant
On 27 Jan 2006, at 12:16, [EMAIL PROTECTED] wrote: -my $dbh = DBI-connect( $connect, $dbuser, $dbpasswd ); -$dbh-{ShowErrorStatement} = 1; +my $dbh = DBI-connect( $connect, $dbuser, $dbpasswd, + { PrintError = 0, } ) + or return DECLINED; That doesn't seem like the

<    1   2   3   4   5   6   7   8   9   10   >