Spamassasin and relay client

2008-09-26 Thread julien
Hello, I'd like to disable spamassassin check for mail coming from relay clients. Is there a way to do that with the config file /etc/qpsmtpd/plugins without modifying the plugin code ? So far, I added the following lines to the spamassasin plugin code in the hook_data_post function : # no s

Re: Spamassasin and relay client

2008-09-26 Thread Hanno Hecker
Hi Julien, On Fri, 26 Sep 2008 12:00:36 +0200 [EMAIL PROTECTED] wrote: > I'd like to disable spamassassin check for mail coming from relay > clients. Is there a way to do that with the config file > /etc/qpsmtpd/plugins without modifying the plugin code ? Not with a/the config file, but with a sim

RE: FIXED -- high CPU on "lost" processes with forkserver

2008-09-26 Thread Ed McLain
Just an fyi for the group. I've been running this patch for several days now and my stuck processes are completely gone and no sign of any problems arising from the changes. Has anyone else had a chance to look over the changes I made yet? Also, the load on my boxes has dropped dramatically.

Re: Spamassasin and relay client

2008-09-26 Thread julien
Thanks for your reply ! I'm using the etch version 0.32-6. I have been using the 0.40 version before (on some server). I recently install debian version (on other server) for the simplicity of installation. So I write my own wrapper plugin called "sa_norelay" with the following code : -

RE: FIXED -- high CPU on "lost" processes with forkserver

2008-09-26 Thread Matt Sergeant
I've applied this, but without using a global for the client as that seems unnecessary. Please check this version works. (I've also made the relevant change to -forkserver too). On Fri, 26 Sep 2008 11:59:57 -0500, Ed McLain wrote: > Just an fyi for the group. I've been running this patch for se

EnemiesList plugin

2008-09-26 Thread Matt Sergeant
People who follow the SVN commits list will have seen that I posted an enemies_list plugin in contrib. EnemiesList is a database of regular expressions that map to dynamic-looking hosts. It's non-free, which is why I've posted it in the contrib directory. In the EL contrib directory (on their

Re: Spamassasin and relay client

2008-09-26 Thread Hanno Hecker
On Fri, 26 Sep 2008 19:10:42 +0200 [EMAIL PROTECTED] wrote: > So I write my own wrapper plugin called "sa_norelay" with the following code : [...] > Then I replace the spamassin call in config/plugins file by > sa_norelay, and switch to the 0.40 version or newer. > > Am I right ? Yes, if it work

[qpsmtpd] Is there an orderly restart?

2008-09-26 Thread b-sub-96e3ab9a984935f
I find that when I am creating or changing plugins, I end up restarting qpsmtpd regularly. However, this simply amounts to doing "svc -h" and then cleaning up a few outstanding connections (killing their PIDs), which stops the subsequent log entries: Creating TCP socket 0:465: Address already in u

Re: Spamassasin and relay client

2008-09-26 Thread Robert Spier
Hanno Hecker wrote: > > On Fri, 26 Sep 2008 19:10:42 +0200 > [EMAIL PROTECTED] wrote: > > So I write my own wrapper plugin called "sa_norelay" with the following > > code : > [...] > > Then I replace the spamassin call in config/plugins file by > > sa_norelay, and switch to the 0.40 version o