public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Spamassassin
@ 2006-03-16 21:37 Steve [Gentoo]
  0 siblings, 0 replies; 8+ messages in thread
From: Steve [Gentoo] @ 2006-03-16 21:37 UTC (permalink / raw
  To: gentoo-user

I have (the latest) spamassassin 3.1.0 (on Perl 5.8.7) installed on my 
not-extremely-powerful small-scale Gentoo server (P2-450 with 256Mb RAM 
and 500Mb swap - not running X) and I'm experiencing a recurring 
fault... I'm running spamd and using the spamassassin client to 
re-direct email to it from my systemwide procmail setup (using the 
recommended | /usr/bin/spamc -f approach with a size limiter to avoid 
over-burdening spamassassin with any massive emails.)

Everything seems to work well for a fair while, then the spamd process 
gets "wedged" - and in spite of there being a near-0 load, and dozens 
and dozens of messages reported by mailq, none of my mail gets processed 
in a hurry - and after a long while (maybe every half-an-hour, say) an 
email is delivered from the head of my mail queue - which has not passed 
through spamd (according to the headers) - and has no spam-score attached.

I read some suggestions a long while ago which said that "--round-robin" 
as an option was a work-around for a bug with the same consequences.  
My  /etc/conf.d/spamd currently has the options:

SPAMD_OPTS="-m 5 -c -H -l --round-robin"

However, I still get this problem.  I thought that it was related to the 
length of time the spamd process had been running - so I set a cron job 
to re-start the server at an unusual time early every morning... but 
this hasn't been an successful work around either.  It now seems that to 
be triggered by an increased system load - today I ran

# emerge apache squirrelmail

then left... when I returned the emerge had long-since completed by my 
spamd remained "stuck."

Is this a problem everyone is having?  I had no problem like this with 
the elder (3.0.4) version of spamassassin I had installed previously on 
the same hardware.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Spamassassin
@ 2007-07-04  7:19 Gentoo Voyager
  2007-07-04  7:25 ` [gentoo-user] Spamassassin Xavier Parizet
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Gentoo Voyager @ 2007-07-04  7:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 147 bytes --]

how do i confirm whether my spamassassin woking or no. i'm using
qmail,qmail-scanner & spammassassin in gentoo..


-- 
"Try to  be a Buddhist..!!"

[-- Attachment #2: Type: text/html, Size: 199 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: Spamassassin
  2007-07-04  7:19 [gentoo-user] Spamassassin Gentoo Voyager
@ 2007-07-04  7:25 ` Xavier Parizet
  2007-07-04  8:29 ` [gentoo-user] Spamassassin Paul Waring
  2007-07-05 20:55 ` Dan Farrell
  2 siblings, 0 replies; 8+ messages in thread
From: Xavier Parizet @ 2007-07-04  7:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

On Wednesday 04 July 2007 09:19:23, "Gentoo Voyager" <gentoovoyager@gmail.com> wrote :
> how do i confirm whether my spamassassin woking or no. i'm using
> qmail,qmail-scanner & spammassassin in gentoo..
There is a pattern[1] you can put into an email to trigger spammassassin.
> 

Regards,
Xavier Parizet

[1] http://gentoo-wiki.com/HOWTO_Email:_A_Complete_Virtual_System_-_Installing_Amavisd_and_SpamAssassin#Some_Real_Testing

--
http://www.linuxant.fr 

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Spamassassin
  2007-07-04  7:19 [gentoo-user] Spamassassin Gentoo Voyager
  2007-07-04  7:25 ` [gentoo-user] Spamassassin Xavier Parizet
@ 2007-07-04  8:29 ` Paul Waring
  2007-07-05 20:55 ` Dan Farrell
  2 siblings, 0 replies; 8+ messages in thread
From: Paul Waring @ 2007-07-04  8:29 UTC (permalink / raw
  To: gentoo-user

On Wed, Jul 04, 2007 at 12:49:23PM +0530, Gentoo Voyager wrote:
>    how do i confirm whether my spamassassin woking or no. i'm using
>    qmail,qmail-scanner & spammassassin in gentoo..

Check the headers of your incoming emails, there should be some headers
there set my SpamAssassin, such as X-Spam-Score. If those aren't
present, SpamAssassin isn't processing your mail.

Paul
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Spamassassin
  2007-07-04  7:19 [gentoo-user] Spamassassin Gentoo Voyager
  2007-07-04  7:25 ` [gentoo-user] Spamassassin Xavier Parizet
  2007-07-04  8:29 ` [gentoo-user] Spamassassin Paul Waring
@ 2007-07-05 20:55 ` Dan Farrell
  2 siblings, 0 replies; 8+ messages in thread
From: Dan Farrell @ 2007-07-05 20:55 UTC (permalink / raw
  To: gentoo-user

On Wed, 4 Jul 2007 12:49:23 +0530
"Gentoo Voyager" <gentoovoyager@gmail.com> wrote:

> how do i confirm whether my spamassassin woking or no. i'm using
> qmail,qmail-scanner & spammassassin in gentoo..
> 
> 
I typed up some notes while setting up SA enhancements.  Maybe they'd
prove useful to you:

 http://spore.ath.cx/~dan/spamd_add_razor.html
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Spamassassin
@ 2011-01-26 18:25 meino.cramer
  2011-01-26 19:50 ` kashani
  2011-01-26 19:51 ` Michael Orlitzky
  0 siblings, 2 replies; 8+ messages in thread
From: meino.cramer @ 2011-01-26 18:25 UTC (permalink / raw
  To: Gentoo


Hi,

is it possible to configure Spamassassin to filter out spam-mail,
if the mail contains certain keywords and/or the subject line match
a certain pattern without diving too deep into the source and the
ruleset of spamassassin?

Thank you very much in advance for any help!
Best regards,
mcc 





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Spamassassin
  2011-01-26 18:25 meino.cramer
@ 2011-01-26 19:50 ` kashani
  2011-01-26 19:51 ` Michael Orlitzky
  1 sibling, 0 replies; 8+ messages in thread
From: kashani @ 2011-01-26 19:50 UTC (permalink / raw
  To: gentoo-user

On 1/26/2011 10:25 AM, meino.cramer@gmx.de wrote:
>
> Hi,
>
> is it possible to configure Spamassassin to filter out spam-mail,
> if the mail contains certain keywords and/or the subject line match
> a certain pattern without diving too deep into the source and the
> ruleset of spamassassin?

	I'd consider handling that at the MTA level. In Postfix you would use 
header_check to build rules like that. There is also the added benefit 
of being able to REJECT the mail before it enters your system rather 
than accepting the mail, sending to spamassassin, attempting to bounce 
mail, etc.

This site has a number of good examples
http://www.posluns.com/guides/hedchek.html

kashani



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Spamassassin
  2011-01-26 18:25 meino.cramer
  2011-01-26 19:50 ` kashani
@ 2011-01-26 19:51 ` Michael Orlitzky
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Orlitzky @ 2011-01-26 19:51 UTC (permalink / raw
  To: gentoo-user

On 01/26/2011 01:25 PM, meino.cramer@gmx.de wrote:
> 
> Hi,
> 
> is it possible to configure Spamassassin to filter out spam-mail,
> if the mail contains certain keywords and/or the subject line match
> a certain pattern without diving too deep into the source and the
> ruleset of spamassassin?

The rules are generally just regular expressions. From 20_phrases.cf:

  body GUARANTEED_100_PERCENT     /100% GUARANTEED/i

and from 72_active.cf:

  header DRUGS_HDIA       Subject =~ /\bhoodia\b/i

Once you have rules defined, you give them a score. From 50_scores.cf:

  score DRUGS_HDIA 0

You can add descriptions too if you want, just copy whatever the S.A.
signatures do. You can stick them in any (loaded) cf file.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-01-26 20:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04  7:19 [gentoo-user] Spamassassin Gentoo Voyager
2007-07-04  7:25 ` [gentoo-user] Spamassassin Xavier Parizet
2007-07-04  8:29 ` [gentoo-user] Spamassassin Paul Waring
2007-07-05 20:55 ` Dan Farrell
  -- strict thread matches above, loose matches on Subject: below --
2011-01-26 18:25 meino.cramer
2011-01-26 19:50 ` kashani
2011-01-26 19:51 ` Michael Orlitzky
2006-03-16 21:37 Steve [Gentoo]

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox