Re: plugins for plugins?

2006-09-12 Thread Ask Bjørn Hansen
On Sep 12, 2006, at 13:44, David Muir Sharnoff wrote: I'm writing a plugin that needs fairly high-level control and idealy would use the results from other plugins. Are there hooks for qpsmtpd plugins to have plugins? Yup, look at the very bottom of README.plugins. It's not exactly what

plugins for plugins?

2006-09-12 Thread David Muir Sharnoff
I'm writing a plugin that needs fairly high-level control and idealy would use the results from other plugins. Are there hooks for qpsmtpd plugins to have plugins? How can I package my module so that other can use it? How do I go about distributing it? Here's what I'm doing: I run several ISP

Re: More preforking patches

2006-09-12 Thread Leonardo Helman
I've sent another mail to Lars, but it didn't get to the list. Now, to the list If you have a auth login, and then an rset the rset (inside Qpsmtp::SMTP) the connection is reseted, but the _auth no, so there is an "already auth" error. I've added a delete $self->{_auth} in reset_transaction (or

Re: More preforking patches

2006-09-12 Thread Lars Roland
On 9/12/06, Leonardo Helman <[EMAIL PROTECTED]> wrote: Setting $0 = 'qpsmtpd child'; is not a good idea, it doesnt work as intended in all *NIX flavours (maybe this is not a patch for all, but it's commented out in all of the other files) This was already discussed, and is a needed featur

Re: More preforking patches

2006-09-12 Thread John Peacock
Unknown Sender wrote: * plugins/count_unrecognized_commands only resets it's internal counter on init (this can't work well in preforking, I've seen a couple of other plugins broken for prefork, like the "delete $ENV{RELAYCLIENT};" in plugins/check_norelay) I'm sending patches only for co

Re: Warning: something's wrong at ./qpsmtpd-prefork line 611.

2006-09-12 Thread Mike Williams
On Thursday 07 September 2006 16:41, Mike Williams wrote: > Occasionally the next connection will be closed remotely without doing > anything. Almost like one of the children crashes. This was down to count_unrecognized_commands not resetting it's counter. Leonardos' patch fixes it. -- Mike Will

More preforking patches

2006-09-12 Thread Leonardo Helman
h connection for filtering purposes and it seems to work very well. When I have something I'll post it here. (I've posted BerkeleyDB filtering plugins to the wiki once, but this seems to work better than the bdb version) diff --exclude CVS --exclude .svn -ur 0.3x.20060912/lib/Qpsmtpd/SMTP/