Re: SMTP AUTH in trunk

2006-01-26 Thread Matt Sergeant
On 25 Jan 2006, at 22:47, John Peacock wrote: As you might remember, I have been pounding my head against the Danga::* pollserver implementation with reference to the use of AUTH in trunk. Matt gave me some ideas, but I was not able to figure out how to use the CONTINUATION to get the next

Re: Problem forwarding with plugins/queue/smtp-forward

2006-01-24 Thread Matt Sergeant
On 20 Jan 2006, at 19:44, Ovid wrote: What appears to be the relevant part of the error message from qpsmtpd is this: 10797 trying to get config for me 10797 FATAL PLUGIN ERROR: Invalid argument at ./plugins/queue/smtp-forward line 49, STDIN line 13. 10797 451 Queuing declined or

Re: queue plugins and DECLINED question

2006-01-16 Thread Matt Sergeant
On 16 Jan 2006, at 16:56, Jeff Macdonald wrote: I have my own queue directory structure that I call minutedir. I took the maildir plugin to get an idea of what to do and I've created my own working plugin. However, I'm curious why folks return a DECLINED vs a DENYSOFT when an error happens. I

Re: Support for RFC 1893 - Enhanced Mail System Status Codes

2006-01-12 Thread Matt Sergeant
On 12 Jan 2006, at 08:01, John Peacock wrote: Hanno Hecker wrote: That was on Matt's wishlist before it can be included That's interesting, since I was thinking last night it would make the most sense to add this whole block of code to Qpsmtpd::Plugin and you could just do

Re: smtp-forward plugin

2006-01-12 Thread Matt Sergeant
On 12 Jan 2006, at 07:49, Allan Joergensen wrote: Hi, shouldn't the smtp-forward plugin issue the same errorcode to the connection server as it gets from the backend smtp server? ie. if the backend server says 550 address: Recipient address rejected: User unknown qpsmtpd issues softdeny

Re: virus alert to recipient

2006-01-12 Thread Matt Sergeant
On 12 Jan 2006, at 05:53, rik wrote: Thanks to everybody for your precious help. Matt is it possible to use your code/plugin? I don't have one unfortunately. I think the group would be interested in whatever you come up with though.

Re: SpeedyCGI doesn't work with qpsmtpd on a 64bit OS

2006-01-11 Thread Matt Sergeant
On 11 Jan 2006, at 10:57, Mark Powell wrote: Hi, Been quiet for sometime, because I've not had to touch my FreeBSD5S+qpsmtpd+SpeedyCGI setup since my flurry of activity 18months ago. However, now I'm moving the relays onto Dell Poweredge 2850's with the 64bit amd64 version of FreeBSD 6.

Re: SpeedyCGI doesn't work with qpsmtpd on a 64bit OS

2006-01-11 Thread Matt Sergeant
On 11 Jan 2006, at 18:24, Mark Powell wrote: On Wed, 11 Jan 2006, Matt Sergeant wrote: On 11 Jan 2006, at 10:57, Mark Powell wrote: The speedycgi code is kind of complex (it embeds the perl interpreter in its own server code) - have you tried pperl? I wrote pperl because of the complexity

Re: virus alert to recipient

2006-01-11 Thread Matt Sergeant
On 11 Jan 2006, at 18:18, rik wrote: Hi all, I'm testing Qpsmtpd as a front-end mx for my mail hosting system and I think i'ts great. I've a question for you.. I'd to know if this is possibile without coding my own plugin. If one of my user receive a virus, is it possibile to send an alert

Re: check_validrcptto_cdb plugin

2006-01-10 Thread Matt Sergeant
On 10 Jan 2006, at 05:44, Robin Bowes wrote: # cdb file containing valid local email addresses my $validrcptto_file = 'config/validrcptto.cdb'; # don't check if file not readable return (DECLINED) if ( ! -f $validrcptto_file ); # Open the cdb file and tie to hash tie

Re: check_validrcptto_cdb plugin

2006-01-10 Thread Matt Sergeant
On 10 Jan 2006, at 10:42, Robin Bowes wrote: What am I doing wrong? Got it. Several things really... 1. Use $validrcptto not %validrcptto 2. Don't specify the .cdb extension (can someone confirm how this works? Does the code take the filename and append .cdb ? Yes. It's a bit strange,

Re: Help with qpsmtpd trunk code

2006-01-06 Thread Matt Sergeant
On 5 Jan 2006, at 15:33, John Peacock wrote: I've attached a segment of the server log, as well as the complete swaks session. As you can see, it looks like cram-md5 code is not able to read the client input at line lib/Qpsmtpd/Auth.pm:280, so it gets passed as an unrecognized command.

Re: transmitting before SMTP greeting error?

2006-01-06 Thread Matt Sergeant
On 6 Jan 2006, at 13:58, Les Mikesell wrote: I'm running an ancient network monitoring tool called 'spong' and it's test for a working smtp service is to connect to the port, send 'quit' and parse what it receives for a '220'. With qpsmtpd as set up in the SMEserver beta, it is reporting a

Re: Fix for tls problems

2006-01-04 Thread Matt Sergeant
On 4 Jan 2006, at 12:19, John Peacock wrote: John Peacock wrote: I'm going to work on some other changes and apply them to the 0.3x branch (and then merge back to trunk), since it is odd that Qpsmtpd::Connection-new() doesn't do anything with any initializing parameters passed in (there is

Re: Thank You for qpsmtpd ... and a deployment note....

2006-01-03 Thread Matt Sergeant
On 3 Jan 2006, at 07:35, Robin Bowes wrote: Robin Bowes said the following on 03/01/2006 00:20: 1. a softlimit value of 3500 works for me on x86_64 (qpsmtpd process is ~30M) I just enabled the tls plugin and memory usage jumped to ~45M! 7086 qpsmtpd 15 0 44112 12m 2788 S 0.0

Re: [OT] swaks patch

2006-01-03 Thread Matt Sergeant
On 3 Jan 2006, at 12:00, John Peacock wrote: I needed a simple way to send lots of messages (for testing the trunk code) so I patched swaks: http://jetmore.org/john/code/#swaks to send multiple identical messages at once (via fork). Please see the attached patch. Remember if you

Re: go crazy with me

2005-12-21 Thread Matt Sergeant
On 20 Dec 2005, at 12:00, Ken Simpson wrote: Not sure what you mean by it not scaling - can you elaborate? Sure it uses more ram than multiplexing, but even for a high traffic mail server like apache.org's the mail-in-apache2 model works well (apache.org uses Apache::Qpsmtpd for email). I'm

Re: go crazy with me

2005-12-20 Thread Matt Sergeant
On 19 Dec 2005, at 14:33, Stas Bekman wrote: JT Smith wrote: Yup, I've actually already done it that way with both Parallel::ForkManager in one instance and Proc::Queue as an alternative. I added in event handling with both Event and Event::Lib as seperate trials. All those implementations

Re: Catalyst w/ AxKit

2005-12-16 Thread Matt Sergeant
I guess there's probably not much of AxKit you'd be using, so might be easier to just use an XSLT transformer inside Catalyst... Alternatively if there's bits of AxKit you want to use (stylechoosers, etc) then a Catalyst Provider would be a good idea. On 16 Dec 2005, at 07:37, [EMAIL

Re: clamav plugin: Return DENYSOFT when clamd not available

2005-12-16 Thread Matt Sergeant
On 16 Dec 2005, at 06:31, Filippo Carletti wrote: If clamdscan cannot connect to clamd, clamdscan plugin returns DECLINED and the virus is delivered to the user. A safer option would be to return DENYSOFT when clamd is not reachable. I agree with the patch. I'm sure some idiots will turn on

Re: XMLBeans help requested

2005-12-15 Thread Matt Sergeant
On 15 Dec 2005, at 10:33, javan (sent by Nabble.com) wrote: I am glad this worked for you. Please have a practice of rating any response you get or read so that it's helpful for other people searching for same issue resolution. Err, I'm not sure what's going on here, but this is a mailing

Re: Body rewrite

2005-12-14 Thread Matt Sergeant
On 14 Dec 2005, at 11:25, Oscar Retana wrote: Let's say a plugin finds something really bad inside an email (an exe attachment). I want to DENY that email, but I also want to notify the recipient[*]. I was thinking of creating a new e-mail from scratch and send it to the recipients... but

Re: SMTP store and forward requires DSN for integrity

2005-12-12 Thread Matt Sergeant
On 10 Dec 2005, at 16:54, Douglas Otis wrote: The BATV is a few lines of code that adds a private tag with a time limit set in days. BATV helps dramatically by eliminating the DATA phase and all that is involved in handling messages. In addition, once BATV becomes more widely deployed, the

Re: SMTP store and forward requires DSN for integrity

2005-12-12 Thread Matt Sergeant
On 12 Dec 2005, at 15:50, John Levine wrote: And BATV will never be widely deployed because it breaks every single system out there that keys off the return path. And there are a lot of these systems. I keep hearing that, but other than a few ezmlm lists and the occasional tired fax gateway,

Re: [sqlite] problem with blobs (perl code)

2005-12-05 Thread Matt Sergeant
On 5 Dec 2005, at 13:23, [EMAIL PROTECTED] wrote: I added a test case (check-in [2798]) that checks to make sure that sqlite3_result_text is able to deal with embedded '\000' characters in a string. I appears to work fine. I cannot reproduce the problem Can you suggest other ways of

Re: [sqlite] problem with blobs (perl code)

2005-12-05 Thread Matt Sergeant
On 2 Dec 2005, at 13:07, [EMAIL PROTECTED] wrote: Right. So it's retreival that's the issue when this occurs, because I do: int col_type = sqlite3_column_type(stmt, i); and it returns SQLITE_TEXT, so I then do: val = (char*)sqlite3_column_text(stmt, i); which doesn't return a length

Re: [sqlite] problem with blobs (perl code)

2005-12-05 Thread Matt Sergeant
On 2 Dec 2005, at 13:07, [EMAIL PROTECTED] wrote: Right. So it's retreival that's the issue when this occurs, because I do: int col_type = sqlite3_column_type(stmt, i); and it returns SQLITE_TEXT, so I then do: val = (char*)sqlite3_column_text(stmt, i); which doesn't return a length

Re: [sqlite] problem with blobs (perl code)

2005-12-05 Thread Matt Sergeant
On 5 Dec 2005, at 13:23, [EMAIL PROTECTED] wrote: I added a test case (check-in [2798]) that checks to make sure that sqlite3_result_text is able to deal with embedded '\000' characters in a string. I appears to work fine. I cannot reproduce the problem Can you suggest other ways of

Re: [sqlite] problem with blobs (perl code)

2005-12-02 Thread Matt Sergeant
On 2 Dec 2005, at 08:07, [EMAIL PROTECTED] wrote: Would sqlite3_column_bytes() return the right length there rather than me doing strlen() on the resulting data? yes it will. Doh! In that case then 1.11 will head to CPAN with blobs working transparently.

Re: [sqlite] problem with blobs (perl code)

2005-12-02 Thread Matt Sergeant
On 1 Dec 2005, at 21:52, [EMAIL PROTECTED] wrote: SQLite does has a separate BLOB type. But for TEXT types, SQLite still works like Perl and carries around a length so that the string can have embedded '\000' characters. I just added a test to the test suite to verify that this works.

Re: [sqlite] problem with blobs (perl code)

2005-12-02 Thread Matt Sergeant
On 1 Dec 2005, at 21:52, [EMAIL PROTECTED] wrote: SQLite does has a separate BLOB type. But for TEXT types, SQLite still works like Perl and carries around a length so that the string can have embedded '\000' characters. I just added a test to the test suite to verify that this works.

Re: [sqlite] problem with blobs (perl code)

2005-12-02 Thread Matt Sergeant
On 2 Dec 2005, at 08:07, [EMAIL PROTECTED] wrote: Would sqlite3_column_bytes() return the right length there rather than me doing strlen() on the resulting data? yes it will. Doh! In that case then 1.11 will head to CPAN with blobs working transparently.

Re: [sqlite] problem with blobs (perl code)

2005-12-01 Thread Matt Sergeant
On 1 Dec 2005, at 15:10, [EMAIL PROTECTED] wrote: So in the example of $sth->execute($blob), if $blob contains an integer, use sqlite3_bind_int64(), or if $blob contains a string use sqlite3_bind_text(), or if $blob contains a blob, then use sqlite3_bind_blob(), and so forth. Is there

Re: [sqlite] problem with blobs (perl code)

2005-12-01 Thread Matt Sergeant
On Thu, 1 Dec 2005, Matt Sergeant wrote: > > Looking now at the DBI documentation, I see that values bound using > > execute are 'usually treated as "SQL_VARCHAR" types unless the driver > > can determine the correct type (which is rare)'. Because it is simple > &g

Re: [sqlite] problem with blobs (perl code)

2005-12-01 Thread Matt Sergeant
On Thu, 1 Dec 2005, Matt Sergeant wrote: Looking now at the DBI documentation, I see that values bound using execute are 'usually treated as SQL_VARCHAR types unless the driver can determine the correct type (which is rare)'. Because it is simple to scan the string for NUL's, I guess I

Re: [sqlite] problem with blobs (perl code)

2005-12-01 Thread Matt Sergeant
On 1 Dec 2005, at 15:10, [EMAIL PROTECTED] wrote: So in the example of $sth-execute($blob), if $blob contains an integer, use sqlite3_bind_int64(), or if $blob contains a string use sqlite3_bind_text(), or if $blob contains a blob, then use sqlite3_bind_blob(), and so forth. Is there something

Re: Time::localtime under mod_perl2 showing output in client-side time zones

2005-12-01 Thread Matt Sergeant
On 6 Nov 2005, at 10:12, Richard N. Fogle wrote: We've tried the script with CGI(), I currently have it posted without. Same results. We've tried placing the time functions in a subroutine with private variables with the same results. Tried using Thread::Semaphore with the same results.

Re: Problem sending

2005-11-30 Thread Matt Sergeant
On 30 Nov 2005, at 14:17, John Peacock wrote: [EMAIL PROTECTED] wrote: I think the point was he's sending to me (and I'm running the trunk). Ah, I missed that part of the equation... Unfortunately I'm now up to about 200k spams a day on that machine, so finding his disconnect in the log of

Re: Problem sending

2005-11-30 Thread Matt Sergeant
On 30 Nov 2005, at 15:17, John Peacock wrote: Matt Sergeant wrote: I still need to do some work on the logging - it currently only logs the fd# with the lines to distinguish them. So you have to find the connecting IP, and find the fd# and grep out lines for that fd#. Kind of a pain to say

Re: pperl? high_perf?

2005-11-29 Thread Matt Sergeant
On 28 Nov 2005, at 21:41, John Peacock wrote: Is it worth me trying the high_perf branch? The high_perf branch was merged to trunk and currently doesn't function as a complete system (like tags/0.31 does) since not all of the plugins have been rewritten to use the new code. I'd like

Re: Amavisd-new to qpsmtpd

2005-11-29 Thread Matt Sergeant
On 28 Nov 2005, at 18:03, David Beveridge wrote: No, the external postfix process opens up a real time connection to qpsmtpd. So when you are talking to port 25 (postfix) it is proxying it through to qpsmtpd, Kind of like how http requests are proxied through squid. That is why 550 errors

Re: forkserver: when to drop privileges

2005-11-21 Thread Matt Sergeant
On 21 Nov 2005, at 20:07, Robert Spier wrote: Since I want to include this logging plugin in my qpsmtpd-0.31.1 RPMs to get rid of the dependency on an external timestamping tool, I'm asking if anybody relies on qpsmtpd-forkserver loading the plugins as root. I hope not. (Although the

Re: Segmentation Fault

2005-11-18 Thread Matt Sergeant
On 18 Nov 2005, at 12:27, Lars Skjærlund wrote: Hi list, I'm running AxKit 1.62 - and all of a sudden, my kit has stopped working. Instead, I get loads of 'Segmentation fault (11)' in the logfile. Googling a little around, I see this is a wellknown phenomena, however, most hits are rather

Re: Rate limiting invalid address senders?

2005-11-17 Thread Matt Sergeant
On 16 Nov 2005, at 19:35, [EMAIL PROTECTED] wrote: So, I finally got qpsmtpd working, it was actually very easy. Now I'm going to make my sysadmin actually install it for the company spam filtering. One of the ideas he had for filtering was to throttle people who sent more than two or three

Re: AxKit SVN repos

2005-11-16 Thread Matt Sergeant
On 13 Nov 2005, at 17:39, Matt Sergeant wrote: OK guys, AxKit is ready to be migrated to SVN, and the process has started. Could you please all take a quick look at http://svn.apache.org/repos/test/xml/axkit/ - this is the standard migration style, and looks right to me, but maybe I've

AxKit SVN repos

2005-11-13 Thread Matt Sergeant
OK guys, AxKit is ready to be migrated to SVN, and the process has started. Could you please all take a quick look at http://svn.apache.org/repos/test/xml/axkit/ - this is the standard migration style, and looks right to me, but maybe I've missed something - if so let me know ASAP. If all

Fwd: Thanks

2005-11-13 Thread Matt Sergeant
Does anyone know of an answer to this question? Begin forwarded message: From: Dillip Kandy [EMAIL PROTECTED] Date: 12 November 2005 05:46:17 GMT-05:00 To: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: Thanks Hi Matt Thanks for writing such an wonderful article on qpsmtpd on oreillynet

Re: multi-valued dns lookups in lib/Danga/DNS?

2005-11-11 Thread Matt Sergeant
On 11 Nov 2005, at 09:24, Matt Sergeant wrote: On 10 Nov 2005, at 18:55, Brian Grossman wrote: I think so. Net::DNS::Resolver::send() returns either a Packet object or undef, so it seems reasonable to assume there will be only one packet even when using the asyncronous interface (bgsend

Re: multi-valued dns lookups in lib/Danga/DNS?

2005-11-11 Thread Matt Sergeant
On 11 Nov 2005, at 16:09, Brian Grossman wrote: A plugin can emit several unrelated queries before calling for a CONTINUATION (mine does), so I think changing the Danga::DNS callback API will be necessary. Actually I don't think it's that hard. Patch coming. Does that work for you?

Re: multi-valued dns lookups in lib/Danga/DNS?

2005-11-10 Thread Matt Sergeant
On 9 Nov 2005, at 23:06, Brian Grossman wrote: I was thinking about implementing dnsbl return codes and a brief perusal of lib/Danga/DNS/Resolver.pm makes me think that resolver is a bit hostile to the idea of multiple returns to a lookup. Why? You should just get the callback called twice.

Re: To, CC Bcc

2005-11-06 Thread Matt Sergeant
On 5 Nov 2005, at 09:25, Anilkumar wrote: Dear Matt, I found the command for getting all the e-mail id from mail. my @recipients = $transaction-recipients; foreach my $recip (@recipients) { $user = $user . , . $recip-address; } $user = substr($user,2); This is easier as:

Re: To, CC Bcc

2005-11-05 Thread Matt Sergeant
On 4 Nov 2005, at 19:01, Bob Dodds wrote: If I hand off a list of recipients to qmail using the same method as qmail-queue, the recipient's source will show To: undisclosed recipients if there is a bcc. qmail must be doing something with the bcc header, because I passed it a simple string of

Re: To, CC Bcc

2005-11-05 Thread Matt Sergeant
On 5 Nov 2005, at 05:46, Anilkumar wrote: what will i get my @recipients = $transaction-recipients ; suppose i am sending mail with 2 id in To: field 3 id in Cc: field and 4 id in Bcc: field i want some logic to get the answer 9 and all the e-mail id. Have you tried it yet? This will work,

Re: multi-valued dns lookups in lib/Danga/DNS?

2005-11-05 Thread Matt Sergeant
On 4 Nov 2005, at 20:02, Brian Grossman wrote: I was thinking about implementing dnsbl return codes and a brief perusal of lib/Danga/DNS/Resolver.pm makes me think that resolver is a bit hostile to the idea of multiple returns to a lookup. Why? You should just get the callback called twice.

ANNOUNCE: AxKit 1.7

2005-11-04 Thread Matt Sergeant
It really has been a long time, hasn't it... Well AxKit 1.7 is finally out. The core developers have been very busy getting on with real life, so it took a long time to make a release - sorry about that. The focus now is on porting to Apache2, for what will be called AxKit 2. While we had

Re: To, CC Bcc

2005-11-04 Thread Matt Sergeant
On 4 Nov 2005, at 13:11, Anilkumar wrote: Deal All John, Now i am again struck. No i need list of E-mail id in To, CC, and BCC. if i get a single list then its good, individual list is also okay. i also need subject of mail from plugin. please give me variable name for finding out these and

Re: [sqlite] Request for comment: Proposed SQLite API changes

2005-11-03 Thread Matt Sergeant
On 3 Nov 2005, at 08:18, [EMAIL PROTECTED] wrote: As currently implemented, when an error occurs during sqlite3_step(), the function returns SQLITE_ERROR. Then you have to call either sqlite3_reset() or sqlite3_finalize() to find the actual error code. Suppose this where to change in version

Re: Worm Blowback Storm

2005-11-03 Thread Matt Sergeant
On 3 Nov 2005, at 11:51, John Peacock wrote: Guillaume Filion wrote: Remember that once you start VERPing your outgoing mail, you should wait for some time (I'd say one week) before rejecting bounces that aren't VERPed. That way, you can receive bounces to the mails that were sent when you

Re: [sqlite] Request for comment: Proposed SQLite API changes

2005-11-03 Thread Matt Sergeant
On 3 Nov 2005, at 08:18, [EMAIL PROTECTED] wrote: As currently implemented, when an error occurs during sqlite3_step(), the function returns SQLITE_ERROR. Then you have to call either sqlite3_reset() or sqlite3_finalize() to find the actual error code. Suppose this where to change in version

Re: Qpsmtpd::Address POD and tests

2005-11-02 Thread Matt Sergeant
On 2 Nov 2005, at 13:52, John Peacock wrote: I just committed some preliminary POD describing the available methods in Qpsmtpd::Address. I also threw in a simple test of the overloaded comparison method. Thanks. I assigned the copyright to Peter, since he started it, but I wonder if we

Re: [svn:qpsmtpd] r557 - branches/0.31/lib/Qpsmtpd

2005-11-01 Thread Matt Sergeant
On 31 Oct 2005, at 12:51, [EMAIL PROTECTED] wrote: +'=' = \spaceship, Is this wise? cmp yes, but spaceship?

Re: [svn:qpsmtpd] r557 - branches/0.31/lib/Qpsmtpd

2005-11-01 Thread Matt Sergeant
On 1 Nov 2005, at 10:15, John Peacock wrote: I guess I'll just remove the '=' binding and rename the sub to addr_cmp instead. See what you think of the next commit... Yeah I like it. I hate to be a pain in the ass but I'd love to see you add something to t/qpsmtpd-address.t too :-)

Re: turning off the cache iin a plugin

2005-10-26 Thread Matt Sergeant
On 26 Oct 2005, at 13:33, Ken Neighbors wrote: By the way, I'm curious, what method are you using to generate the content on the fly? I'm using XSP and the problem I'm working around is that it always turns *off* AxKit's caching for the final output (PDF in my case) even when I say

A competitor

2005-10-25 Thread Matt Sergeant
http://svn.apache.org/repos/asf/httpd/mod_smtpd/trunk/ It's actually turned out fairly interesting looking.

AxKit 1.7 Final RC

2005-10-24 Thread Matt Sergeant
OK, there's a final release candidate of 1.7 up at http://axkit.org/download/AxKit-1.7.tar.gz If there are no test failures within 24 hours we'll make this 1.7 final. Only test failure fixes will make it into CVS.

Re: Qsmtpd::Address design question

2005-10-10 Thread Matt Sergeant
On 10 Oct 2005, at 17:29, Brian Grossman wrote: Forkserver's going to be miserable whether it's array or hash. I was thinking in terms of PollServer and Matt's (I think it was Matt's) claim of concurrency 10,000 in his spamtrap. Of course, there's so many hashes running around already,

Re: Qsmtpd::Address design question

2005-10-10 Thread Matt Sergeant
On 10 Oct 2005, at 18:48, Peter Eisch wrote: On 10/10/05 4:58 PM, Matt Sergeant [EMAIL PROTECTED] wrote: Indeed. We run about 160M handling a peak of 3000 concurrent connections. So just multiply by 4 to get 10k. Do you run spamassassin on these systems? If so, how do you get around

Re: Qsmtpd::Address design question

2005-10-07 Thread Matt Sergeant
On 7 Oct 2005, at 15:13, John Peacock wrote: What was it that bothered you? Should we convert that fat block of BNF into much more readable POD? We could also use extended regex's and document the various bits inline rather than having to go back up to figure out the BNF... new() vs

Re: deja vu ... axkit: URIs don't support query parameters

2005-10-04 Thread Matt Sergeant
On 19 Sep 2005, at 02:31, S. Woodside wrote: So, is axkit: supposed to support query parameters / it would be nice! It's kind of on the todo list. The thing is axkit: URIs run in the current request's process space, and so we need to find a way of temporarily replacing the request's idea of

Re: TaglibHelper -unwanted tags

2005-10-04 Thread Matt Sergeant
On 3 Oct 2005, at 17:06, Chuck Phillips wrote: Am I oversimplying the modifications needed to add this functionallity? Is there something that I'm missing? No, that should work just fine. Not sure if we want to do it though - the whole plural thing scares me as it puts us in the realms of

Re: Use of Auth.pm not working in 0.31-dev

2005-10-04 Thread Matt Sergeant
On 4 Oct 2005, at 03:56, Rusty Conover wrote: I'm working with a SVN checkout of 0.31-dev from 2 days ago. Make sure you're not running trunk, as there are still unresolved issues there - use the branch instead.

Qpsmtpd Article

2005-09-15 Thread Matt Sergeant
Tell all your friends: http://www.oreillynet.com/pub/a/sysadmin/2005/09/15/qpsmtpd.html

Re: a faster html::template?

2005-09-09 Thread Matt Sergeant
On 8 Sep 2005, at 14:18, Perrin Harkins wrote: Not sure why you say certainly not. XSLT is very fast and easy to optimise (because it's assignment free) and the C implementations are very quick. Remember that an XSLT transform is executing all its tight loops in C-space, not in perl-space.

Re: a faster html::template?

2005-09-09 Thread Matt Sergeant
On 9 Sep 2005, at 12:12, Perrin Harkins wrote: HTML::Template (or HTML::Template::JIT, to compare C code to C code) has a *very* limited set of logical operations (not Turing complete by any stretch) that operates directly on Perl variables. By comparison, XSP will be making method calls to

Re: strange

2005-09-07 Thread Matt Sergeant
On 7 Sep 2005, at 04:38, Pascal Dreissen wrote: John Peacock wrote: Pascal Dreissen wrote: Depending on your distro, there may be several different ways to change which character set is used. Choose one that doesn't include Unicode characters (for example, I use en_US). You can see what

Re: Does TaglibHelper support element attributes?

2005-09-06 Thread Matt Sergeant
On 25 Aug 2005, at 14:41, Chuck Phillips wrote: Does TaglibHelper have the ability to return XML elements that have attributes? No it doesn't. What I would like to do is create a taglib that returns XML much like this: someElement someAttribute=value blah blah /someElement Is there any

Re: milter interface?

2005-08-27 Thread Matt Sergeant
On 25 Aug 2005, at 16:10, Les Mikesell wrote: Oops - no... I spent a couple of minutes looking through the available addon plugins but hadn't downloaded the base package to see that it is built in. Moving on to the next question: has anyone tried it with MimeDefang? If you haven't seen

Re: Preliminary design proposal for charset normalization support in SpamAssassin

2005-08-24 Thread Matt Sergeant
On 23 Aug 2005, at 14:51, John Gardiner Myers wrote: Matt Sergeant wrote: Wasn't there unicode normalisation in the original email parser that I submitted to the project (that Theo turned into the current parser) ? Certainly it would make sense to use that if you could. It works very well

Re: Style chooser working for firefox not for IE6

2005-08-23 Thread Matt Sergeant
On 23 Aug 2005, at 06:22, David Holden wrote: It works fine for both if I remove the HTML version but I'm not sure why one browser/server combination would behave differently for this though, any idea? I'm confused as to how it works at all. What is mapping the non-suffix version to the .xml

Re: Preliminary design proposal for charset normalization support in SpamAssassin

2005-08-23 Thread Matt Sergeant
On 22 Aug 2005, at 21:38, Justin Mason wrote: looking at http://cvs.sourceforge.net/viewcvs.py/spamassassin/spamassassin3/lib/ Mail/SpamAssassin/Message/Parser.pm?rev=1.2view=markup it appears to be Text::Iconv. Yeah, later iterations of that use Encode. Does SA now require 5.8.0 so

Re: Integrating seperate taglibs

2005-08-22 Thread Matt Sergeant
On 16 Aug 2005, at 19:52, Christopher H. Laco wrote: Is there a way in the api to add namespaces on the fly? So loading: xmlns:checkout=http://today.icantfocus.com/CPAN/AxKit/XSP/Handel/ Checkout would automatically add xmlns:order=http://today.icantfocus.com/CPAN/AxKit/XSP/Handel/Order;

Re: baffled by intermittant failure to correctly apply xslt

2005-08-22 Thread Matt Sergeant
On 19 Aug 2005, at 07:08, Gilbert Laycock wrote: I'm hoping that somebody can suggest where I should start looking. Previously when I've had odd issues like this it is due to XSLT trying to load the w3c HTML DTD. Try using an XML Catalog containing that DTD. Matt.

Re: PassiveTeX Questions

2005-08-22 Thread Matt Sergeant
On 19 Aug 2005, at 13:22, Aaron Steager wrote: Is PassiveTeX the tool I should use or is the something else that is better suited? Most people prefer HTMLDoc because the input is HTML 3.2, which they can generate very easily. However you definitely have more control of the output via XSL-FO

Re: 0.31 release candidate 2

2005-08-22 Thread Matt Sergeant
On 22 Aug 2005, at 03:57, Peter J. Holzer wrote: Note this is why I implemented $Include. Maybe my cold is addling my brain, but I don't see how $Include can be used to load plugins from different locations. In my RPM, qpsmtpd and qpsmtpd-forkserver are in /usr/bin (they probably should be

Re: Preliminary design proposal for charset normalization support in SpamAssassin

2005-08-22 Thread Matt Sergeant
Wasn't there unicode normalisation in the original email parser that I submitted to the project (that Theo turned into the current parser) ? Certainly it would make sense to use that if you could. It works very well on a very large set of test data. Matt.

Re: 0.31 release candidate 2

2005-08-21 Thread Matt Sergeant
On 21 Aug 2005, at 05:22, Peter J. Holzer wrote: On 2005-08-20 20:59:10 -0700, Devin Carraway wrote: On Sat, Aug 20, 2005 at 07:38:24PM +0200, Peter J. Holzer wrote: * My patch for a configurable plugin_dir (needed for the RPMs directory structure). I ship a similar patch with Debian's

Re: Reverse SRS plugin?

2005-08-18 Thread Matt Sergeant
On 18 Aug 2005, at 03:30, Gavin Carr wrote: On Thu, Aug 18, 2005 at 11:44:06AM +1000, Gavin Carr wrote: Just wondering if anyone has written a Reverse SRS plugin? I think this would just be a recipient plugin that rewrites SRS recipient addresses early during RCPT? (before rcpt checks,

Re: Out of memory! ?

2005-08-13 Thread Matt Sergeant
On 13 Aug 2005, at 09:40, Pascal Dreissen wrote: Robert Spier wrote: What does your run script look like? #!/bin/sh QMAILDUID=`id -u smtpd` NOFILESGID=`id -g smtpd` exec /usr/bin/softlimit -m 2500 \ /usr/bin/tcpserver -c 10 -v -R -p \ -u $QMAILDUID -g $NOFILESGID `head -1 config/IP`

Towards 1.7

2005-08-05 Thread Matt Sergeant
OK, so we've been dragging our feet for some time now, but I've finally gotten around to doing *something*, so I'm hoping I can encourage others to do the same... I've released XML::LibXSLT 1.58 to CPAN. This *should* fix the axkit: URI stuff. AxKit CVS now passes make test. So what do I

Re: bad name error in TagLibHelper

2005-08-04 Thread Matt Sergeant
On 3 Aug 2005, at 16:03, ahg wrote: The site used to work fine. Any ideas? This rather cryptic error message bad name is caused when you try and create an XML element with invalid characters in it. I'm not sure why that might be happening here because you don't show anything else. What

Re: UDP Protocol Handler?

2005-08-02 Thread Matt Sergeant
On 20 Jul 2005, at 10:40, Dan Sully wrote: Has anyone written a protocol handler for UDP? If so - could you share any examples? I haven't, but IIRC there is/was a talk at YAPC::EU about using mod_perl as a DNS server... I think it is by mock, who did the mod_perl as a mail server in

Re: UDP Protocol Handler?

2005-08-02 Thread Matt Sergeant
On 2 Aug 2005, at 13:27, Ken Simpson wrote: BTW Matt: Have you released the super-caching DNS query system that you were discussing a few months back? The one that works way better than Net::DNS for doing nasty things like lots of SPF checks? Sort of. There's code as part of Qpsmtpd that will

Re: TLS+relay problem

2005-07-29 Thread Matt Sergeant
On 20 Jul 2005, at 14:13, Marco Aurelio Monteiro wrote: I found a problem related to TLS and check_relay plugins. After the starttls command the server responds relaying denied. Check_relay plugin is configured properly. Check_relay plugin sets to 1 a variable of $connection called

Re: Seeking *non* thread-friendly DBD

2005-07-29 Thread Matt Sergeant
On 22 Jul 2005, at 12:30, Dean Arnold wrote: Hoping someone can point me at a DBD thats known to be non-thread-friendly (ie, hasn't implemented the clone() methods). However, its underlying client libs and XS subs (if any) do need to be thread-capable (ie, no writing to process-global variables

Re: qpsmtpd in Debian

2005-07-28 Thread Matt Sergeant
On 28 Jul 2005, at 17:13, Devin Carraway wrote: For anyone who's into that sort of thing: http://packages.debian.org/unstable/mail/qpsmtpd This is 0.30, which mercifully held still for the packaging effort. The only plugins included are those in qpsmtpd svn, plus my own logging and

Re: Seeking *non* thread-friendly DBD

2005-07-28 Thread Matt Sergeant
On 22 Jul 2005, at 12:30, Dean Arnold wrote: Hoping someone can point me at a DBD thats known to be non-thread-friendly (ie, hasn't implemented the clone() methods). However, its underlying client libs and XS subs (if any) do need to be thread-capable (ie, no writing to process-global variables

Re: PerMsgStatus

2005-07-28 Thread Matt Sergeant
[Lots of stuff snipped] You know, it'd be nice if Daniel, or anyone else, checked in my optimised PMS.pm [*] in as a branch. That way it can be worked on easily by multiple people. An optimisation branch would mean you can continue with the current release work, while others work on

Re: Mailing List Detection

2005-07-27 Thread Matt Sergeant
On 27 Jul 2005, at 02:52, Mark Fowler wrote: So, as part of my mission to replace (most) of my hacked together procmail and pperl mail filtering solution with something that can reject mail at SMTP time, I realised I needed a list detection plugin. Which I thought I might share here: use

Re: perl 5.005

2005-07-19 Thread Matt Sergeant
On 19 Jul 2005, at 09:01, John Peacock wrote: [EMAIL PROTECTED] wrote: I'm all for dropping support of 5.5. Move up to 5.8. For a pure Perl module (I don't even think any of our dependencies require XS), if we can maintain compatibility without too much trouble, I think we should. There

Make capabilities more core?

2005-07-19 Thread Matt Sergeant
Currently I think the only thing that uses the capabilities notes field is the new tls plugin. My suggestion is to make this not a notes field any more, but an integral part of the $transaction object. The reason being that currently we have a horrible hoop jump with it being in notes. Things

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