You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Peter Mikeska (MiKi)" <pe...@gmail.com> on 2007/05/15 19:01:56 UTC

plugin for use of spamc -d

Hello All,


I would like to ask for help ;)
I have relay server which is overloaded already and I have second
server which is powerfull. I want to use spamc -d ... used as plugin
so score which SA get from this (conenct to powerfull server to get
score) will be added to score from relay server.
Basically I have idea of simple plugin which call "spamc -c -d x.x.x.
|cut -d"/" -f 1" which get some number and set it as score for rule
"external_regexp" .

Can anyone help me , or pointing me somewhere ? Im not programmer so
if someone has plugin which is using external script plz let me know.

thnx a lot

ps: I cannot move SA on second machine for various reasons
-- 
Best regards,
 Peter                          mailto:peter.mikeska@gmail.com


Re[2]: plugin for use of spamc -d

Posted by "Peter Mikeska (MiKi)" <pe...@gmail.com>.
Hello JamesDR,

Tuesday, May 15, 2007, 7:08:53 PM, you wrote:

> Peter Mikeska (MiKi) wrote:
>> Hello All,
>> 
>> 
>> I would like to ask for help ;)
>> I have relay server which is overloaded already and I have second
>> server which is powerfull. I want to use spamc -d ... used as plugin
>> so score which SA get from this (conenct to powerfull server to get
>> score) will be added to score from relay server.
>> Basically I have idea of simple plugin which call "spamc -c -d x.x.x.
>> |cut -d"/" -f 1" which get some number and set it as score for rule
>> "external_regexp" .
>> 
>> Can anyone help me , or pointing me somewhere ? Im not programmer so
>> if someone has plugin which is using external script plz let me know.
>> 
>> thnx a lot
>> 
>> ps: I cannot move SA on second machine for various reasons

> If the weaker machine has network access to the more powerful machine,
> then you could run SA on the powerful machine and the weaker machine
> just uses spamc...

> You don't really give any indication as to what mail server software you
> are running, but quite a few people do this very thing you are trying to
> do. Send on what mail software you are running and we can get a better
> picture. You also may want to consult that piece of software's
> documentation and or mailing list for more info. If spamc can not
> connect to the remote spamd server, you may need to examine your spamd
> startup params or firewall settings.


Hi,
ok, so Im running qmail with SA 3.1.8  on rhel
problem is that power machine is in someway blocked to access outside world,
so on relay I can use DCC/rbl/razor ... but machine cannot handle
sufficient bayes and regex queries, so basically relay can connect to
power machine to let it run regex over message and return score, but power machine
cannot connect to outside world as it use for specific purpose, so on
that machine I cannot use network tests.
I need just lower load on relay for some time until it get better
server.

Thnx for reply anyway ;)

-- 
Best regards,
 Peter                            mailto:peter.mikeska@gmail.com


Re: plugin for use of spamc -d

Posted by JamesDR <ja...@trusswood.net>.
Peter Mikeska (MiKi) wrote:
> Hello All,
> 
> 
> I would like to ask for help ;)
> I have relay server which is overloaded already and I have second
> server which is powerfull. I want to use spamc -d ... used as plugin
> so score which SA get from this (conenct to powerfull server to get
> score) will be added to score from relay server.
> Basically I have idea of simple plugin which call "spamc -c -d x.x.x.
> |cut -d"/" -f 1" which get some number and set it as score for rule
> "external_regexp" .
> 
> Can anyone help me , or pointing me somewhere ? Im not programmer so
> if someone has plugin which is using external script plz let me know.
> 
> thnx a lot
> 
> ps: I cannot move SA on second machine for various reasons

If the weaker machine has network access to the more powerful machine,
then you could run SA on the powerful machine and the weaker machine
just uses spamc...

You don't really give any indication as to what mail server software you
are running, but quite a few people do this very thing you are trying to
do. Send on what mail software you are running and we can get a better
picture. You also may want to consult that piece of software's
documentation and or mailing list for more info. If spamc can not
connect to the remote spamd server, you may need to examine your spamd
startup params or firewall settings.

-- 
Thanks,
James


Re: Setting up an email rule for these posts

Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, May 15, 2007 at 07:54:24PM +0200, Chris wrote:
> How do the others here do it please ?

Use the List-Id header (it's actually the standard way to filter lists in
general).

-- 
Randomly Selected Tagline:
Any fool can criticize and complain - and most do.

Re: Setting up an email rule for these posts

Posted by Bob McClure Jr <bo...@bobcatos.com>.
On Tue, May 15, 2007 at 07:54:24PM +0200, Chris wrote:
> Hi all,
> 
> I'm new to this board, so please go easy on me ;-)
> 
> I can see that this forum is an excellent source of
> useful information with some very helpful members, but
> am having a bit of a problem at my end, with organising
> the emails coming in from the forum.
> 
> Been using message boards and forums for about 6 years,
> on all sorts of subjects, and usually setup my email
> program to put posts from certain groups into certain
> folders - normally, there's rules setup in the email
> program to filter to the various folders, based on
> either the from field, or the subject field, but I'm
> noticing that the emails coming in don't have anything
> consistent with them  ;-(
> 
> How do the others here do it please ?
> 
> Is there anyway, that perhaps every email/post that
> goes out, has the word Spamassassin in the subject line
> ?

Turn on full headers and you will see a line:

List-Id: <users.spamassassin.apache.org>

Filter on that.  That works with many lists.

> Any help appreciated.
> 
> Chris.

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
bob@bobcatos.com             http://www.bobcatos.com
Pride only breeds quarrels, but wisdom is found in those who take
advice.  Proverbs 13:10 (NIV)

Re: Setting up an email rule for these posts

Posted by Jerry Durand <jd...@interstellar.com>.
At 10:54 AM 5/15/2007, Chris wrote:
>How do the others here do it please ?

I filter on List-Id: <users.spamassassin.apache.org>

I hate these lists where I have to remember to hit REPLY-ALL instead 
of REPLY, I often wind up having to go send a message again.  The 
only thing worse is one list where I have to use REPLY-ALL and also 
delete my SIG (posting a sig is grounds for being ejected from that 
list).  I know, some of you love this format, to each his/her own.



-- 
Jerry Durand, Durand Interstellar, Inc.  www.interstellar.com
tel: +1 408 356-3886, USA toll free: 1 866 356-3886
Skype:  jerrydurand


Re: Setting up an email rule for these posts

Posted by JamesDR <ja...@trusswood.net>.
Chris wrote:
> Hi all,
> 
> I'm new to this board, so please go easy on me ;-)
> 
> I can see that this forum is an excellent source of
> useful information with some very helpful members, but
> am having a bit of a problem at my end, with organising
> the emails coming in from the forum.
> 
> Been using message boards and forums for about 6 years,
> on all sorts of subjects, and usually setup my email
> program to put posts from certain groups into certain
> folders - normally, there's rules setup in the email
> program to filter to the various folders, based on
> either the from field, or the subject field, but I'm
> noticing that the emails coming in don't have anything
> consistent with them  ;-(
> 
> How do the others here do it please ?
> 
> Is there anyway, that perhaps every email/post that
> goes out, has the word Spamassassin in the subject line
> ?
> 
> Any help appreciated.
> 
> Chris.

List-Id: <users.spamassassin.apache.org>


-- 
Thanks,
James Rallo
Trusswood Inc.
James@Trusswood.Net
www.Trusswood.Net
Tele:  (321) 383-0366
Fax:   (321) 383-0362


Re: Setting up an email rule for these posts

Posted by Matthias Keller <li...@matthias-keller.ch>.
Chris wrote:
> Hi all,
>
> I'm new to this board, so please go easy on me ;-)
>
> I can see that this forum is an excellent source of
> useful information with some very helpful members, but
> am having a bit of a problem at my end, with organising
> the emails coming in from the forum.
>
> Been using message boards and forums for about 6 years,
> on all sorts of subjects, and usually setup my email
> program to put posts from certain groups into certain
> folders - normally, there's rules setup in the email
> program to filter to the various folders, based on
> either the from field, or the subject field, but I'm
> noticing that the emails coming in don't have anything
> consistent with them  ;-(
>
> How do the others here do it please ?
>
> Is there anyway, that perhaps every email/post that
> goes out, has the word Spamassassin in the subject line
> ?
>   
Hi Chris and welcome

Filter by this header:

List-Id: <users.spamassassin.apache.org>


Matt



Setting up an email rule for these posts

Posted by Chris <Ch...@011005.com>.
Hi all,

I'm new to this board, so please go easy on me ;-)

I can see that this forum is an excellent source of
useful information with some very helpful members, but
am having a bit of a problem at my end, with organising
the emails coming in from the forum.

Been using message boards and forums for about 6 years,
on all sorts of subjects, and usually setup my email
program to put posts from certain groups into certain
folders - normally, there's rules setup in the email
program to filter to the various folders, based on
either the from field, or the subject field, but I'm
noticing that the emails coming in don't have anything
consistent with them  ;-(

How do the others here do it please ?

Is there anyway, that perhaps every email/post that
goes out, has the word Spamassassin in the subject line
?

Any help appreciated.

Chris.