New plugin: reaper

2012-06-01 Thread Matt Simerson
Introducing zombies and a reaper. 24184 Accepted connection 0/15 from 64.185.226.20 / mx.snipolnews.com 24184 Connection from mx.snipolnews.com [64.185.226.20] 24184 (connect) ident::geoip: US, United States 24184 (connect) ident::p0f: Windows 7 or 8 24184 (connect) karma: fail, ZOMBIFIED, 1

Re: New plugin: reaper

2012-06-01 Thread Steve Kemp
On Fri Jun 01, 2012 at 15:17:51 -0700, Matt Simerson wrote: Introducing zombies and a reaper. Cute names.. Notice the bolded lines. Instead of rejecting the message early, plugins like dnsbl and karma can zombify it. To increase efficiency, other plugins detect the zombie state and skip

Re: New plugin: reaper

2012-06-01 Thread Matt Simerson
On Jun 1, 2012, at 3:30 PM, Steve Kemp wrote: On Fri Jun 01, 2012 at 15:17:51 -0700, Matt Simerson wrote: Introducing zombies and a reaper. Cute names.. Thanks. Notice the bolded lines. Instead of rejecting the message early, plugins like dnsbl and karma can zombify it. To increase

connection notes

2012-06-01 Thread Matt Simerson
Which is preferred within a plugin? $self-qp-connection-notes or $self-connection-notes The code in lib uses only the latter. Code in plugins uses a mixture, but mostly the former. Because I'm mildly obsessed with consistency, I'd like to make them all the same. Matt

Re: connection notes

2012-06-01 Thread Ask Bjørn Hansen
On Jun 1, 2012, at 20:25, Matt Simerson m...@tnpi.net wrote: Which is preferred within a plugin? $self-qp-connection-notes or $self-connection-notes Assuming the second method is just a proxy for the first, then use the shorter version. Ask

Re: connection notes

2012-06-01 Thread Matt Simerson
https://github.com/smtpd/qpsmtpd/pull/18 Matt On Jun 1, 2012, at 8:34 PM, Ask Bjørn Hansen wrote: On Jun 1, 2012, at 20:25, Matt Simerson m...@tnpi.net wrote: Which is preferred within a plugin? $self-qp-connection-notes or $self-connection-notes Assuming the second method is