Re: CPAN: Ownership of the XML-XPathScript modules

2020-07-27 Thread Matt Sergeant
Yeah totally fine by me. Do I need to do anything in pause? > On Jul 24, 2020, at 5:57 PM, Chris Prather wrote: > >  > I talked to Matt via Facebook about handing over his XML modules > (Specifically XML::Parser) which is why I have first come I suspect now. I > wanted to make sure that they

Giving danga::socket to pause id: NML

2018-06-29 Thread Matt Sergeant
I’m only a comaint on the module. Happy to wait a bit for Brad to get back to someone about it. But I suspect he’s moved on too.

Re: [nodejs] error writing binary data to TCP socket.

2018-01-07 Thread Matt Sergeant
This has been fixed since. I don't know when. I have Node 9.3 and it produces a Buffer. On Tue, Jan 2, 2018 at 4:18 PM, Stephen James wrote: > Using electron I am trying to write out some bytes on a TCP socket. I am > using Buffer.from to convert to buffer before calling

Re: qpsmtpd-async weird ParaDNS lookup problem + code fix

2014-08-07 Thread Matt Sergeant
% Matt. On Fri, 1 Aug 2014, David Favor wrote: Matt Sergeant wrote: Do you have ParaDNS::XS installed? If not, try installing it. It's generally likely to be better than plain ParaDNS (and will be used automatically if it's installed). There is no ParaDNS::XS on cpan... At least nothing

Re: qpsmtpd-async weird ParaDNS lookup problem

2014-07-22 Thread Matt Sergeant
Do you have ParaDNS::XS installed? If not, try installing it. It's generally likely to be better than plain ParaDNS (and will be used automatically if it's installed). On Thu, 17 Jul 2014, David Favor wrote: I've been running qpsmtpd-async for years on all sorts of servers. Likely I have

Re: [nodejs] Re: file system API race conditions

2014-02-26 Thread Matt Sergeant
There is no performance downside in the failure mode. But obviously in the success mode there's two function calls vs one. But realistically the overhead of file system operations on spinning disks will far outweigh the extra API calls. On Feb 26, 2014, at 7:40 PM, Alex Kocharin

Re: [Swftools-common] Building PDF2SWF only

2012-08-14 Thread Matt Sergeant
After configure it looks like you should be able to drop into the src directory and do make pdf2swf. Matt. On Mon, Aug 13, 2012 at 11:05 AM, Pablo Beltran pbeltr...@gmail.com wrote: Hi, SWFTools is a collection of programs. How can I build the *pdf2swf*program only? Thanks, Pablo

Re: [Swftools-common] Building PDF2SWF only

2012-08-14 Thread Matt Sergeant
' failed make: *** [pdf2swf] Error 2 What is libbase.a? 2012/8/14 Matt Sergeant m...@hubdoc.com After configure it looks like you should be able to drop into the src directory and do make pdf2swf. Matt. On Mon, Aug 13, 2012 at 11:05 AM, Pablo Beltran pbeltr...@gmail.comwrote: Hi, SWFTools

Re: [Swftools-common] PDF2SWF Error: Couldn't create temporary font file (swftools 0.9.2)

2012-06-16 Thread Matt Sergeant
Well let's not be naive here. Lots of people are using swftools on the server. If they are having trouble with temporary files there's a large potential for security issues. Basically always use known secure systems for creating temporary files. Don't invent your own. On 2012-06-16, at 5:47 PM,

Re: [Swftools-common] pdf2swf - different size swf on different platforms

2012-06-09 Thread Matt Sergeant
On Sat, Jun 9, 2012 at 11:28 AM, Pablo Rodríguez oi...@web.de wrote: Hi Matt, I'm afraid that the Linux binary might not use compression for the output PDF. I experienced that before with swfc (not sure with pdf2swf [I can't remember it]). Which Linux distribution are you using? Did you

Re: [Swftools-common] pdf2swf - different size swf on different platforms

2012-06-09 Thread Matt Sergeant
On Sat, Jun 9, 2012 at 2:10 PM, List_Subs list_s...@mavdns.net wrote: Sure, but I think the dots is the problem, and so I'd like to know how to get the same results as the Mac produced, otherwise I'm going to have to switch to an ImageMagick/convert version for this app and use images.

[Swftools-common] pdf2swf - different size swf on different platforms

2012-06-08 Thread Matt Sergeant
I've been trying to debug why an 80KB PDF generates a 500KB SWF file. If I run pdf2swf on a Linux box that's the size I get. If I run it on a Mac I get a SWF file slightly smaller than the PDF. I thought maybe this was a font issue so I copied all my fonts from the Mac to the Linux box (after

Re: [Swftools-common] pdf2swf - different size swf on different platforms

2012-06-08 Thread Matt Sergeant
On Fri, Jun 8, 2012 at 11:45 AM, List_Subs list_s...@mavdns.net wrote: On Fri, 8 Jun 2012 11:08:37 -0400 Matt Sergeant m...@hubdoc.com wrote: I've been trying to debug why an 80KB PDF generates a 500KB SWF file. If I run pdf2swf on a Linux box that's the size I get. If I run

Re: Qpsmtpd vs Haraka performance

2011-09-14 Thread Matt Sergeant
Aleksandar Lazic wrote: Hi Matt, On Die 13.09.2011 11:10, Matt Sergeant wrote: I just benchmarked Qpsmtpd vs Haraka and thought some here might find the results interesting: http://baudehlo.wordpress.com/2011/09/13/node-js-is-fast/ (not meant as inflammatory, obviously I still have love

Qpsmtpd vs Haraka performance

2011-09-13 Thread Matt Sergeant
I just benchmarked Qpsmtpd vs Haraka and thought some here might find the results interesting: http://baudehlo.wordpress.com/2011/09/13/node-js-is-fast/ (not meant as inflammatory, obviously I still have love for Qpsmtpd) Matt. FYI: Qpsmtpd plugins were: logging/warn, rcpt_all_ok[1],

Re: qpsmtp-async forwarder

2011-08-26 Thread Matt Sergeant
The forwarders (I supply both forwarder, after DATA, and full proxy) in Haraka is fully async. Maybe time to learn some _javascript_ :) Alister WestAugust 25, 2011 9:10 PM Hi qpsmtpd,I came across an entry in the mail-archive link where Chris Lewismentions he has customised

Re: [PATCH] tweak QP's header handling for messages with no body

2011-08-17 Thread Matt Sergeant
Matt Sergeant mailto:m...@sergeant.org August 16, 2011 11:28 AM Yup there's a lot of this going around right now. Just to be explicit though, the header lines end in \r\r\n. Worth rejecting the bloody lot, frankly

Re: [PATCH] tweak QP's header handling for messages with no body

2011-08-16 Thread Matt Sergeant
Yup there's a lot of this going around right now. Just to be explicit though, the header lines end in \r\r\n. Worth rejecting the bloody lot, frankly :) Chris LewisAugust 15, 2011 4:21 PM As a FYI, I've been seeing bot-emitted spam that appears to have extra \r at the end of

Re: [PATCH] tweak QP's header handling for messages with no body

2011-08-16 Thread Matt Sergeant
That line of code doesn't look at the headers though, just at the final dot at the end-of-data. Jared JohnsonAugust 16, 2011 3:00 PM There's already a special case for something similar to this:# Reject messages that have either bare LF or CR. rjkaes noticed a# lot of spam

Re: thoughts about a new module called check_spammer_connect

2011-07-27 Thread Matt Sergeant
On Wed, 27 Jul 2011, Jared Johnson wrote: That sounds like a pretty sweet configuration! [Note if you are running qpsmtpd-async, as we do, it's not really possible to route DNS queries differently for DNSBLs versus other DNS queries qpsmtpd does. ParaDNS doesn't handle paralleled DNS queries

Re: thoughts about a new module called check_spammer_connect

2011-07-27 Thread Matt Sergeant
On Wed, 27 Jul 2011, David Nicol wrote: On Wed, Jul 27, 2011 at 2:05 PM, Matt Sergeant m...@sergeant.org wrote: However I'm unlikely to maintain much on Qpsmtpd now that Haraka has taken off. Matt. how about a plugin adapter, so Haraka can use Qpsmtpd plugins or v/v? That probably implies

Re: mutt

2011-07-25 Thread Matt Sergeant
Peter Corlett mailto:ab...@cabal.org.uk July 25, 2011 5:55 AM On Sun, Jul 24, 2011 at 11:00:13PM +0100, James Laver wrote: [...] It's quite shameful for RIM, given their devices are basically designed as email terminals with a few other features added on as an afterthought. The iOS

Re: Fwd: Failed: PAUSE indexer report KMCGRAIL/Mail-SpamAssassin-3.3.2.tar.gz

2011-06-23 Thread Matt Sergeant
Done. I passed primary maintainership to you, so you can sort it out from there. I also did the other ones I had: Made KMCGRAIL primary maintainer of Mail::SpamAssassin::EncappedMIME. Made KMCGRAIL primary maintainer of Mail::SpamAssassin::HTML. Made KMCGRAIL primary maintainer of

Re: Someone needs to take jwz aside...

2011-06-10 Thread Matt Sergeant
Simon Wistow wrote: On Wed, Jun 08, 2011 at 10:57:56AM -0400, Matt Sergeant said: I'm actually liking it more than CPAN for publishing and installing stuff. The only weak area is lack of search.cpan.org. My problem with npm is that it either tries to install stuff in some random

Re: Someone needs to take jwz aside...

2011-06-08 Thread Matt Sergeant
Hakim Cassimally wrote: While Javascript-the-language is lovely (as you say, better in some respects, worse in others, than Perl), that's only one part of the story. I've not followed Javascript-the-platform that closely (i.e. anything much beyond jQuery) - what's your experience been like,

Re: Someone needs to take jwz aside...

2011-06-08 Thread Matt Sergeant
David Cantrell wrote: It's the lack of a CPAN-a-like for any other language that keeps me coming back to perl. Of course, it's possible that the Comprehensive Python Archive Network or similar for ruby/javascript/java/C/whatever does exist but I just can't find it. But then, if I can't find

Re: [Fwd: Re: [Fwd: STARTTLS vulnerabilty and qmail-spamcontrol ucspi-ssl qpsmtpd]]

2011-06-07 Thread Matt Sergeant
Jared Johnson wrote: I ... disagree. From my reading of plugins/tls, it looks like there is no problem at all, in the non-async code path. It resets STDIN and STDOUT to a socket created from scratch by the IO::Socket::SSL module. I haven't looked at IO::Socket::SSL to see if it has this sort

Re: Speed v Version

2011-06-07 Thread Matt Sergeant
Dave Hodgkinson wrote: My BBC sandbox is sane at least: $ uname -p x86_64 Shouldn't a BBC report 6502? ;-) __ This email has been scanned by the MessageLabs Email Security System. For more information please visit

Re: Someone needs to take jwz aside...

2011-06-07 Thread Matt Sergeant
Simon Cozens wrote: On 02/06/2011 21:50, gvim wrote: Considering the amount of development you've done on Perl web frameworks over the years isn't this tantamount to having given up on Perl, at least for web development? Yes and no. I've moved from being more of a developer to

Re: messagelabs.com contact - SMTP-side domaincheck checks IPv4 only, rejects domains with first MX on IPv6

2011-06-05 Thread Matt Sergeant
I'll get someone to contact Ford and see what they are running. From google it looks like Exchange. Is this a known bug with Exchange? If so I think there's bigger problems than messagelabs :) Jeroen Massar wrote: As the subject states, mailer-dae...@messagelabs.com: @ford.com:

Re: [Fwd: STARTTLS vulnerabilty and qmail-spamcontrol ucspi-ssl qpsmtpd]

2011-06-04 Thread Matt Sergeant
No takers? I do consider the bug fairly minor (it's not like a remote root or anything)... But still? Matt Sergeant wrote: I'm forwarding this to the list since I didn't get a response from Ask... The problem here is when someone sends the following packet: STARTTLS\nSOME_COMMAND\n

[Fwd: STARTTLS vulnerabilty and qmail-spamcontrol ucspi-ssl qpsmtpd]

2011-06-02 Thread Matt Sergeant
, ga...@freebsd.org, Matt Sergeant m...@sergeant.org Hi I'm a user of the qpsmtpd and qmail-spamcontrol ports on FreeBSD (ga...@freebsd.org is the qmail-spamcontrol port maintainer), thanks to you all for making qmail even more excellent by integrating all the patches and making it easy to build

Re: smtp proxy to external smtp server

2011-05-19 Thread Matt Sergeant
What do you mean by signed? Do you mean like adding a banner to the text parts of the email? If so, that's a really hard problem (I mean it's doable in simple situations, but breaks very very easily). Mike Korizek wrote: On 05/17/2011 04:24 PM, Matt Sergeant wrote: It can be done

Re: smtp proxy to external smtp server

2011-05-17 Thread Matt Sergeant
Aleksandar Lazic wrote: Just for my curiosity, why don't you use qpsmtpd::smtp-forward =Any MTA Setup (postfix,courier,qmail, ...)? It's not sender dependent, and doesn't pass on AUTH. (but would be easily hackable to do that).

Re: Xcode 4.0.2 and XS modules

2011-04-26 Thread Matt Sergeant
Nicholas Clark wrote: Would they care more if they got lots of polite bug reports from registered developers who care about Apple's SNAFU, encouraging Apple to re-instate the PPC assembler for XCode 4? Is XCode 4*supposed* to support the PPC-enabled OS X versions? Or is it Lion only? It's

Re: Someone needs to take jwz aside...

2011-04-20 Thread Matt Sergeant
Abigail wrote: On Wed, Apr 20, 2011 at 06:43:48PM +0200, Lars Thegler wrote: On Wed, Apr 20, 2011 at 10:40 AM, Dave Hodgkinsondaveh...@gmail.com wrote: http://www.jwz.org/blog/2011/04/a-badge-for-the-software-industrys-failures/ Or does he have a point? No, code reuse is a

Announce: Haraka

2011-03-12 Thread Matt Sergeant
Some of you may be interested in this... I decided I wanted to hack on node.js to see what all the fuss is about. So to do that I have basically ported Qpsmtpd to Node.js (and given it a decent name while doing so!). It's still early days - there are no plugins to speak of yet (i.e. no

Re: Announce: Haraka

2011-03-12 Thread Matt Sergeant
Guy Hulbert wrote: https://github.com/baudehlo/Haraka Had a look. I recognize bits. Do you have any feeling for how easy it is to code versus perl Once you get used to the idiosyncrasies of Javascript, just as easy really. Took me a while to understand the object model, but

Re: check_badrcptto, to prevent backscatter

2011-03-10 Thread Matt Sergeant
Should we have plugins/qmail and plugins/postfix dirs? Todd Brunhoff wrote: Tim's view seems appropriate. His script is centered on qmail, and mine is centered on postfix (or more specifically, on /etc/aliases). Both scripts are probably best in their current form with appropriate

Re: rolling uribl and rbl plugins into a single plugin

2011-01-27 Thread Matt Sergeant
Jared Johnson wrote: So our organization is planning doing some big changes to the rbl plugin and it dawned on us that it seems a lot easier to just add an earlier hook to the existing uribl plugin (and rename it to rbl? or bl? or something?). But of course I still have in mind that someday

Re: rctpto rejection based on smtp verify?

2011-01-14 Thread Matt Sergeant
Charlie Brady wrote: On Fri, 14 Jan 2011, Nicholas Lee wrote: Is there a plugin that will check rcpt addresses against a back end smtp server? I presume you intend to eventually deliver to the same smtp backend, via the smtp-forward plugin. I've long argued that the smtp-forward

Re: Recommendation for simple Web Frameworks

2011-01-10 Thread Matt Sergeant
Eden Cardim wrote: Simon == Simon Wistowsi...@thegestalt.org writes: Simon In short - I don't really need the CRUD stuff from a Simon framework, I really just need the url based dispatch. I Simon played around with Catalyst (which I'm familiar with from 6A) Simon but

Re: sudden low spam levels?

2011-01-03 Thread Matt Sergeant
Ken Chase wrote: I have two independent mailservers, and two other customers that run their own servers, all largely unrelated infrastructures and target domains, suddenly experiencing low levels of spam. Total emails/day dropping from some 175,000-250,000ish to 50-75,000ish (legit mail in the

Re: AnyEvent mode?

2010-12-07 Thread Matt Sergeant
Aleksandar Lazic wrote: On Mon 06.12.2010 16:34, Matt Sergeant wrote: Aleksandar Lazic wrote: Do you have benchmarked it with smtpstone from postfix or some other tools? I just threw it on our spamtrap which does approx 50m emails/day. Do you really mean 50 Million? Yes. Wow that's

Re: AnyEvent mode?

2010-12-06 Thread Matt Sergeant
Aleksandar Lazic wrote: Do you have benchmarked it with smtpstone from postfix or some other tools? I just threw it on our spamtrap which does approx 50m emails/day.

Re: AnyEvent mode?

2010-12-03 Thread Matt Sergeant
On Thu, 2 Dec 2010, Aleksandar Lazic wrote: On Don 02.12.2010 19:04, Matt Sergeant wrote: On Thu, 2 Dec 2010, Ask Bjørn Hansen wrote: On Dec 2, 2010, at 10:37, Aleksandar Lazic wrote: Maybe we can make another benchmark AnyEvent vs Danga::Socket due to the fact that AnyEvent with EV

Re: Exim alternatives?

2010-09-14 Thread Matt Sergeant
I once wrote a very simple perl module which basically did outbound mail queueing for very simple needs... But then I discovered my needs were a bit more complex. LOL... I second Ask's question - what's wrong with using exim? David Favor wrote: I'm looking for a simple alternative to exim,

Re: Exim alternatives?

2010-09-14 Thread Matt Sergeant
On Tue, 14 Sep 2010, David Favor wrote: The problem is two fold. 1) I could never get a straight answer about the correct configuration from the exim folks. 2) The config I have works for weeks to months, then develops odd (bitrot) challenges which seem to relate to DNS MX server

Re: [Bug 6483] request to use RE2 in place of RE2C step

2010-08-18 Thread Matt Sergeant
bugzilla-dae...@issues.apache.org wrote: https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6483 --- Comment #2 from Mark Martinecmark.marti...@ijs.si 2010-08-18 10:46:44 UTC --- Is there a mature perl wrapper for RE2? http://github.com/dgl/re-engine-RE2 (it's pretty fresh,

Re: Rewritten URIBL plugin

2010-07-29 Thread Matt Sergeant
Jared Johnson wrote: sub parse_mime { That works, only this should be called parsed_mime because you're asking for the parsed bit, not telling it to parse (every time). Matt.

Re: Rewritten URIBL plugin

2010-07-27 Thread Matt Sergeant
On Sun, 25 Jul 2010, Jared Johnson wrote: The plugin has the following advantages over the original: - Uses MIME::Parser to unpack message text so that we can look for URI's in base64-encoded data, etc., and _not_ look for URI's in noise. I think we should probably consider putting support

Re: SPF +all

2010-07-05 Thread Matt Sergeant
FWIW we've told Nationwide about this. They are including include:messagelabs.com which should be spf.messagelabs.com. PEBCAK. John Hardin wrote: There's a thread that's currently on the users list about Nationwide Bank in UK publishing an SPF record that includes messagelabs, and

Re: Sanity check - DateTime on Perl 5.12.1

2010-06-09 Thread Matt Sergeant
Toby Wintermute wrote: Hi, I wondered if anyone else running Perl 5.12.1 (and 12.0 would be interesting too) could quickly check if they can build DateTime 0.5x and pass the unit tests? I have them failing on two machines, but they're very similar and I am worried I might have screwed something

Re: Redirecting email

2010-05-13 Thread Matt Sergeant
Chris Lewis wrote: The version I've derived from Steve's works during hook_rcpt. Yes, but assigning to $_[0] is a horrible way to do it. We should have a supported and cleaner way to modify the email address at RCPT TO time... Ah, we do have a supported way... a hook called rcpt_pre which

spool files not temp?

2010-04-14 Thread Matt Sergeant
Hi, Can anyone remember the reason that the spool files aren't proper temp files (deleted upon open)? We often end up with a hard restart of qpsmtpd and having these files left around is annoying... Matt.

Re: I am probably doing something wrong

2010-04-05 Thread Matt Sergeant
Steve wrote: Note that qpsmtpd probably should reject the message as invalid format. If it doesn't do that in the core, at least a standard plugin should do that validation. The message is not rejected. Anyway... what plugin is doing the validation? Can you point me to the

Re: New plugin: smtptls-forward

2010-03-30 Thread Matt Sergeant
On Tue, 30 Mar 2010, Charlie Brady wrote: On Thu, 25 Mar 2010, Jason Mills wrote: I wrote this plugin to help me with my local debugging. Basically a heavily modified version of smtp-foward. I'd recommend you search the archives and find some earlier comments by me about smtp-forward. It

ParaDNS 2.0 - now does dns0x20

2010-02-26 Thread Matt Sergeant
dns0x20 protects against things like the Kaminsky DNS attack by vastly increasing the size of the keyspace for DNS requests. It's enabled by default in ParaDNS 2.0. You can disable with an env var. Matt.

Re: Release soon

2010-02-16 Thread Matt Sergeant
On Fri, 12 Feb 2010, Ask Bjørn Hansen wrote: Hi everyone, I'm going to make a release soon, so if you have patches that aren't merged into my branch yet that you think should be, be sure to speak up! I just merged the RPM packaging stuff Peter Holzer and Robin Bowes made (over the last 5

Re: Founding a Perlmongers group

2010-02-16 Thread Matt Sergeant
James Laver wrote: As I shall shortly be leaving london for somewhere with no PM group, I thought it might be nice to create one. How do I go about it? http://www.pm.org/start/index.html __ This email has been scanned by

Re: 2 depend or not 2 depend

2010-02-07 Thread Matt Sergeant
Nicholas Clark wrote: It does if you have a second machine to test on. It doesn't if you have a shared development server, and the installed packages are common to all developers. Then the owners of those boxes need to learn about xen. And fast.

Re: 2 depend or not 2 depend

2010-02-04 Thread Matt Sergeant
Ash Berlin wrote: Use your OS's package management system. Which is pretty much guaranteed to not have the exact versions they currently have installed if they've been using `cpan` et al. to install it . I don't mean get them from the OS distributor. I mean build RPMs (or debs or

Bug#567364: Copyright and license for Perl module XML::Filter::XSLT

2010-01-31 Thread Matt Sergeant
I can confirm the license. If I ever get to updating the module I'll add the claim. Ansgar Burchardt wrote: Hi, the Debian package for XML::Filter::XSLT claims that the module is distributed under the same terms as perl (ie. Artistic License and General Public License), but this is not

Bug#567364: Copyright and license for Perl module XML::Filter::XSLT

2010-01-31 Thread Matt Sergeant
I can confirm the license. If I ever get to updating the module I'll add the claim. Ansgar Burchardt wrote: Hi, the Debian package for XML::Filter::XSLT claims that the module is distributed under the same terms as perl (ie. Artistic License and General Public License), but this is not

Re: badmailfrom per domain

2010-01-22 Thread Matt Sergeant
Johan Almqvist wrote: On 21. jan. 2010, at 16.57, Christian Herndler wrote: I get a lot of spam where the sender uses a whole /24 Subnet as mail relay, the helo uses the pattern mx{last-octet-of-ip}.domainname.net so it could be blocked using the check_spamhelo plugin, but to do

Re: Domain acquisition

2009-12-15 Thread Matt Sergeant
Jurgen Pletinckx wrote: Hm. But that really only holds for domains you're actually using, or have plans for, right? Can I actually find out which other domains the proprietors hold? A reverse whois, so to say. There are some services which can do this - they do it by downloading the .com zone

ParaDNS 1.9 out

2009-12-14 Thread Matt Sergeant
This fixes a major bug when under high load causing overly quick timeouts for some requests. Recommended upgrade. (only used by those using -async) Matt.

Re: Perl Christmas Quiz 2009

2009-12-01 Thread Matt Sergeant
On Mon, 30 Nov 2009 18:24:12 +, Chris Jack wrote: 1) Without running it to check, what does the following program output? my %a = (3,2,1,0); for my $b (sort values %a) { $b += 4; } print $a{1} . \n; Bizarrely enough, on both my Snow Leopard machines (default perl

Re: Perl Christmas Quiz 2009

2009-12-01 Thread Matt Sergeant
On Tue, 1 Dec 2009 11:23:09 -0500, Matt Sergeant wrote: On Mon, 30 Nov 2009 18:24:12 +, Chris Jack wrote: 1) Without running it to check, what does the following program output? my %a = (3,2,1,0); for my $b (sort values %a) { $b += 4; } print $a{1} . \n; Bizarrely

Re: Perl Christmas Quiz 2009

2009-12-01 Thread Matt Sergeant
On Tue, 01 Dec 2009 08:47:55 -0800, Randal L. Schwartz wrote: Lemme guess. You did this: $ perl ... type program in here ... ^D (control D) The D is from your control D. Common misconception. Yes. Though oddly enough it doesn't show up in the same terminal when ssh'd into a Linux

Re: AnyEvent mode?

2009-11-24 Thread Matt Sergeant
OK, here's the files as they currently stand. The big note on this is that I have done very little testing, and most importantly I have NOT updated any of the plugins (see the async/* dir for those that need re-written to use AnyEvent, mostly to use AnyEvent::DNS. Also the tls plugin would

AnyEvent mode?

2009-11-23 Thread Matt Sergeant
Is anyone interested in an AnyEvent mode Qpsmtpd? I have the code written (mostly hacked right now, but should work). In theory it might be faster than the Danga::Socket based one, and AnyEvent seems to receive regular updates more than Danga::Socket these days. Matt.

Re: AnyEvent mode?

2009-11-23 Thread Matt Sergeant
On Mon, 23 Nov 2009, Ask Bjørn Hansen wrote: On Nov 23, 2009, at 11:41, Matt Sergeant wrote: Is anyone interested in an AnyEvent mode Qpsmtpd? I have the code written (mostly hacked right now, but should work). In theory it might be faster than the Danga::Socket based one, and AnyEvent

Re: [sqlite] Get Max Samples

2009-11-10 Thread Matt Sergeant
On Tue, 10 Nov 2009 15:28:30 -0500, Pavel Ivanov wrote: > You're right about max() and group_concat() will not help you either. > You need something like this: > > select max(cnt) > from (select count(*) as cnt from table_name group by SampleNum) That'll give you the count of the largest set.

Re: [sqlite] Get Max Samples

2009-11-10 Thread Matt Sergeant
On Tue, 10 Nov 2009 15:28:30 -0500, Pavel Ivanov wrote: You're right about max() and group_concat() will not help you either. You need something like this: select max(cnt) from (select count(*) as cnt from table_name group by SampleNum) That'll give you the count of the largest set. But not

Re: Language detection?

2009-11-09 Thread Matt Sergeant
On Sat, 7 Nov 2009, Johan Almqvist wrote: Hi On 5. nov. 2009, at 16.33, Matt Sergeant wrote: Anyone got a language detection plugin? I get a lot of spam slipping through in spanish, and I'd like to just whack it on the head. There's http://spamassassin.apache.org/full/3.1.x/doc

Re: [Bug 6155] generate new scores for 3.3.0 release

2009-10-22 Thread Matt Sergeant
On Thu, 22 Oct 2009 09:34:13 -0700, Michael Peddemors wrote: I am curious to the large HAM rate.. Again, I think the testing of this rule against a corpus might be affecting this.. I tend to agree. AOL announced wholesale blocking of anyone with NXDOMAIN rDNS a few years back now, and

Re: keyboards/RSI/switching costs (was Looking for a secondhand Datahand Pro II)

2009-10-21 Thread Matt Sergeant
On Wed, 21 Oct 2009 13:05:28 +0100, James Laver wrote: On Wed, Oct 21, 2009 at 12:31 PM, Chris Jack chris_j...@msn.com wrote: Before you switch keyboards, I think there is an important question about how often you are obliged to use a standard qwerty keyboard. I worked all over Europe for a

Re: keyboards/RSI/switching costs (was Looking for a secondhand Datahand Pro II)

2009-10-21 Thread Matt Sergeant
On Wed, 21 Oct 2009 10:32:46 -0400, jesse wrote: Problem then comes with people who need to help you on your computer. I often help a tester here who has a Natural split keyboard, and find it tough, but doable (I used to use a natural years ago, the problem is using a Natural from a

Re: keyboards/RSI/switching costs (was Looking for a secondhand Datahand Pro II)

2009-10-21 Thread Matt Sergeant
On Wed, 21 Oct 2009 16:32:15 +0100, James Laver wrote: On Wed, Oct 21, 2009 at 4:02 PM, Matt Sergeant mserge...@messagelabs.com wrote: True-ish. If you occasionally glance at the keys it really screws you over though :) Well unless you're buying labels to stick on the keys you aren't

Re: [PATCH] Log even when we aren't in a transaction

2009-08-24 Thread Matt Sergeant
On Mon, 24 Aug 2009 09:55:52 -0500, Jared Johnson wrote: On 08/23/2009 04:03 PM, Matt Sergeant wrote: On Thu, 20 Aug 2009 10:18:39 -0500, Jared Johnson wrote: It looks like logging/file doesn't like the empty hashref returned by Qpsmtpd::transaction(). I never understood why it did

Re: [PATCH] Log even when we aren't in a transaction

2009-08-23 Thread Matt Sergeant
On Thu, 20 Aug 2009 10:18:39 -0500, Jared Johnson wrote: It looks like logging/file doesn't like the empty hashref returned by Qpsmtpd::transaction(). I never understood why it did that. Any reason it can't return either undef or (preferably) a new Transaction object?

Re: [sqlite] Does PRAGMA synchronous=OFF ensure that no synching is done for the entire session?

2009-08-17 Thread Matt Sergeant
On Mon, 17 Aug 2009 10:47:23 -0400, Angus March wrote: >> Because yes, that's what synchronous=OFF means. It stops SQLite from >> issuing fflush calls (effectively). >> > Right, and this is implied by the documentation, but I was concerned > that the documentation might be playing fast and

Re: [sqlite] Does PRAGMA synchronous=OFF ensure that no synching is done for the entire session?

2009-08-17 Thread Matt Sergeant
On Mon, 17 Aug 2009 10:47:23 -0400, Angus March wrote: Because yes, that's what synchronous=OFF means. It stops SQLite from issuing fflush calls (effectively). Right, and this is implied by the documentation, but I was concerned that the documentation might be playing fast and loose,

Re: [sqlite] Does PRAGMA synchronous=OFF ensure that no synching is done for the entire session?

2009-08-14 Thread Matt Sergeant
On Fri, 14 Aug 2009 12:33:30 -0400, Angus March wrote: > I want my INSERT done right away, I just don't want it to be flushed > from the filesystem's write-behind cache until the kernel decides, not > when SQLite decides. Did you mean you do "want it to be flushed from the filesystem's

Re: [sqlite] Does PRAGMA synchronous=OFF ensure that no synching is done for the entire session?

2009-08-14 Thread Matt Sergeant
On Fri, 14 Aug 2009 12:33:30 -0400, Angus March wrote: I want my INSERT done right away, I just don't want it to be flushed from the filesystem's write-behind cache until the kernel decides, not when SQLite decides. Did you mean you do want it to be flushed from the filesystem's

Re: testing Malware Patrol rules?

2009-07-24 Thread Matt Sergeant
On Fri, 24 Jul 2009 16:09:46 +0300, Henrik Krohns wrote: On Fri, Jul 24, 2009 at 09:45:42AM +, Justin Mason wrote: hi Andre -- A SpamAssassin user mentioned this ruleset today: http://malware.hiperlinks.com.br/cgi/submit?action=list_sa it looks good! Would you mind if I added a

Re: [sqlite] SQLite3 immune from injection attacks if file is readonly?

2009-07-20 Thread Matt Sergeant
On Sat, 18 Jul 2009 10:17:14 -0700, Kelly Jones wrote: > On a website, I want to take a user's query "as is", save it to a > userquery.txt, and then do: > > sqlite3 /path/to/mydb < userquery.txt > > where /path/to/mydb is a *read-only* file. > > Is there *any* risk of an injection attack here?

Re: [sqlite] SQLite3 immune from injection attacks if file is readonly?

2009-07-20 Thread Matt Sergeant
On Sat, 18 Jul 2009 10:17:14 -0700, Kelly Jones wrote: On a website, I want to take a user's query as is, save it to a userquery.txt, and then do: sqlite3 /path/to/mydb userquery.txt where /path/to/mydb is a *read-only* file. Is there *any* risk of an injection attack here? Yes.

Re: [sqlite] Performance against huge datasets

2009-06-23 Thread Matt Sergeant
On Tue, 23 Jun 2009 22:01:26 +0200, Misza wrote: > I wonder if anyone used SQLite extensively with big datasets and could > provide some insight into performance? > In a nutshell, I am writing an ETL framework and need a good (read: > performing) engine for the "T"ransform part. > I suppose I

Re: [sqlite] Performance against huge datasets

2009-06-23 Thread Matt Sergeant
On Tue, 23 Jun 2009 22:01:26 +0200, Misza wrote: I wonder if anyone used SQLite extensively with big datasets and could provide some insight into performance? In a nutshell, I am writing an ETL framework and need a good (read: performing) engine for the Transform part. I suppose I could use

Re: qpsmtpd-async authenticated relaying direction request

2009-05-31 Thread Matt Sergeant
On Sat, 30 May 2009, Baltasar Cevc wrote: On May 28, 2009, at 4:37 PM, Matt Sergeant wrote: Seems a little fragile. There aren't many bounces that quote all headers. You'd be better off just rejecting all bounces in qpsmtpd, then you only see legit bounces where the remote end issued

Re: qpsmtpd-async authenticated relaying direction request

2009-05-28 Thread Matt Sergeant
On Wed, 27 May 2009 09:18:32 -0500, David Favor wrote: I'm currently running qpsmtpd-async. I host many domains and I'd like to protect them all against backscatter using something like this: http://psg.com/~brian/software/authbounce/configure-authbounce.txt to add a bounce key to

Re: qpsmtpd-async authenticated relaying direction request

2009-05-28 Thread Matt Sergeant
On Thu, 28 May 2009 12:04:27 -0400 (EDT), Charlie Brady wrote: On Thu, 28 May 2009, Matt Sergeant wrote: years. So my qpsmtpd runs a no_bounces plugin, which I believe I've posted here before. Google seems not to have heard of it. Ah. OK. It basically just does this: if ($transaction

Re: Feature request to disable CONTROL_PORT

2009-05-27 Thread Matt Sergeant
On Wed, 27 May 2009, David Favor wrote: Having qpsmtpd listen on an additional control port creates serious complexity when running multiple copies of qpsmtpd, as each copy has to somehow figure out which control port to use, hope it's free and then connect. I usually just strip this code out

Re: [qpsmtpd] Still looking: tcpserver startup for qpsmtpd-prefork 0.81

2009-05-21 Thread Matt Sergeant
On Thu, 21 May 2009, Devin Carraway wrote: On Wed, May 20, 2009 at 09:40:21PM -0400, Charlie Brady wrote: I think the -T *should* be there on the command line, but there are some bugs in qpsmtpd and/or your plugins which need to be fixed before it will work. forkserver has used -T since

Re: [qpsmtpd] Still looking: tcpserver startup for qpsmtpd-prefork 0.81

2009-05-20 Thread Matt Sergeant
On Wed, 20 May 2009, J wrote: I compared the run file with other run files (i.e. djbdns and qmail) and I think the problem is with the trailing ' \' on the 2nd line (the first exec). Indeed. That shouldn't be there. When I remove that (and installed a missing Math::BigInt package from

Re: [qpsmtpd] Still looking: tcpserver startup for qpsmtpd-prefork 0.81

2009-05-20 Thread Matt Sergeant
On Wed, 20 May 2009, Charlie Brady wrote: Though it is probably a bug, I'm guessing we don't test with taint on. Perl taint mode is an underutilised gem. It is, but it's also buggy and annoying. (there's a completely ignored bug in perl with -T and hash keys which I filed months ago)

Re: [qpsmtpd] Still looking: tcpserver startup for qpsmtpd-prefork 0.81

2009-05-20 Thread Matt Sergeant
On Wed, 20 May 2009, David Nicol wrote: On Wed, May 20, 2009 at 10:28 PM, Matt Sergeant m...@sergeant.org wrote: (there's a completely ignored bug in perl with -T and hash keys which I filed months ago) that hash keys are never tainted is documented, if that's your bug. It allows

Re: Tokyo Cabinet as a BayesStore

2009-04-23 Thread Matt Sergeant
On Thu, 23 Apr 2009 10:32:13 +, Justin Mason wrote: http://anyall.org/blog/2009/04/performance-comparison-keyvalue-stores-for-language-model-counts/ highlight: a Tokyo Cabinet hashtable performed at 1400 ops/sec compared to BerkeleyDB's 340 (via python bindings), over 4 times faster.

  1   2   3   4   5   6   7   8   9   10   >