header->add wierdness

2008-10-20 Thread Chris Lewis
I'm running qpsmtpd head (or thereabouts) async. Both Linux and Solaris. The behaviour I am reporting has _always_ been present through many previous iterations of qpsmtpd and "stock" spamassassin plugin. I'm only now trying to figure out how to get it swatted. I'm not sure at this point where

Re: header->add wierdness

2008-10-20 Thread Hanno Hecker
On Mon, 20 Oct 2008 10:42:17 -0400 "Chris Lewis" <[EMAIL PROTECTED]> wrote: > For some reason, SpamAssassin insists on inserting its headers at the > _beginning_ of the header block, whereas all the others insert theirs at > the end. Obviously, I'd prefer they all did it at the end. Only the spam

Re: header->add wierdness

2008-10-20 Thread Chris Lewis
Hanno Hecker wrote: > On Mon, 20 Oct 2008 10:42:17 -0400 > "Chris Lewis" <[EMAIL PROTECTED]> wrote: > >> For some reason, SpamAssassin insists on inserting its headers at the >> _beginning_ of the header block, whereas all the others insert theirs at >> the end. Obviously, I'd prefer they all did

hook_quit

2008-10-20 Thread Larry Nedry
I'm using qpsmtpd-forkserver 4.0 and am trying to figure out how to use hook_quit in a plugin. I've distilled my test plugin down to almost nothing and get this error message: "FATAL PLUGIN ERROR: Can't call method "log" without a package or object reference at ./plugins/check_quit line 4, line

Re: hook_quit

2008-10-20 Thread Steve Kemp
On Mon Oct 20, 2008 at 18:01:43 -0500, Larry Nedry wrote: > sub hook_quit { > my $self = @_; > Any suggestions on how this should work? A working example would be great. For a working example see the "quit_fortune" plugin included in qpsmtpd release. Here it is online: http://s