[gentoo-user] Spamassassin
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
Re: [gentoo-user] Spamassassin
On 01/26/2011 01:25 PM, meino.cra...@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.
Re: [gentoo-user] Spamassassin
On 1/26/2011 10:25 AM, meino.cra...@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
Re: [gentoo-user] spamassassin error
Hi don't know if this helps, but here you can see my use flags and it worls on my system: [I] mail-filter/spamassassin Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres qmail sqlite ssl tools} Installed versions: 3.2.1-r1(06:48:52 27.08.2009)(berkdb mysql sqlite ssl -doc -ipv6 -ldap -postgres -qmail -tools) Homepage:http://spamassassin.apache.org/ Description: SpamAssassin is an extensible email filter which is used to identify spam. problably the perl-core/DB_File needs the berkdb flag... and maybe you should start it with -D so you get an better error message. cheers Arnau Bria schrieb: Hi all, I've a cron which trains my spamassassin and it has sttoped working: /usr/bin/sa-learn --spam /home/arnau/Mail/SPAM/ ERROR: the Bayes learn function returned an error, please re-run with -D for more information the problem comes because there's a missing package: perl-core/DB_File but seems that emerge doesn't want to install it, and I'm wondering what use I'm missing: [I] mail-filter/spamassassin Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres qmail sqlite ssl tools} Installed versions: 3.2.1-r1(06:15:05 PM 11/11/2009)(ssl -berkdb -doc -ipv6 -ldap -mysql -postgres -qmail -sqlite -tools) or what I'm doing wrong :-) do I have to add DB_File to world? cause if I install the package with oneshot option, depclean wants to remove it. Anyone faced same problem? Cheers,
Re: [gentoo-user] spamassassin error
On Tue, 01 Dec 2009 16:06:04 -0500 David David wrote: [...] Looking at the ebuild looks like berkdb pulls it in; spamassassin/spamassassin-3.2.1-r1.ebuild berkdb? ( virtual/perl-DB_File virtual/perl-DB_File/perl-DB_File-1.813.ebuild DESCRIPTION=Virtual for DB_File RDEPEND=~perl-core/DB_File-${PV} thanks, that's it. missing flag. but it's not in: http://www.gentoo.org/dyn/use-index.xml :-( thanks, I have to start looking into ebuilds. Cheers! -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity
[gentoo-user] spamassassin error
Hi all, I've a cron which trains my spamassassin and it has sttoped working: /usr/bin/sa-learn --spam /home/arnau/Mail/SPAM/ ERROR: the Bayes learn function returned an error, please re-run with -D for more information the problem comes because there's a missing package: perl-core/DB_File but seems that emerge doesn't want to install it, and I'm wondering what use I'm missing: [I] mail-filter/spamassassin Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres qmail sqlite ssl tools} Installed versions: 3.2.1-r1(06:15:05 PM 11/11/2009)(ssl -berkdb -doc -ipv6 -ldap -mysql -postgres -qmail -sqlite -tools) or what I'm doing wrong :-) do I have to add DB_File to world? cause if I install the package with oneshot option, depclean wants to remove it. Anyone faced same problem? Cheers, -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity
Re: [gentoo-user] spamassassin error
So the package needs another package and it's not in DEPENDS. Of course --depclean will remove it if you emerge it with -1, what else would you expect to happen? So add it to world of course On Dec 1, 2009 6:33 PM, Arnau Bria ar...@emergetux.net wrote: Hi all, I've a cron which trains my spamassassin and it has sttoped working: /usr/bin/sa-learn --spam /home/arnau/Mail/SPAM/ ERROR: the Bayes learn function returned an error, please re-run with -D for more information the problem comes because there's a missing package: perl-core/DB_File but seems that emerge doesn't want to install it, and I'm wondering what use I'm missing: [I] mail-filter/spamassassin Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres qmail sqlite ssl tools} Installed versions: 3.2.1-r1(06:15:05 PM 11/11/2009)(ssl -berkdb -doc -ipv6 -ldap -mysql -postgres -qmail -sqlite -tools) or what I'm doing wrong :-) do I have to add DB_File to world? cause if I install the package with oneshot option, depclean wants to remove it. Anyone faced same problem? Cheers, -- Arnau Bria http://blog.emergetux.net Bombing for peace is like fucking for virginity
Re: [gentoo-user] spamassassin error
On 1 Dec 2009, at 16:30, Arnau Bria wrote: ... the problem comes because there's a missing package: perl-core/DB_File ... do I have to add DB_File to world? cause if I install the package with oneshot option, depclean wants to remove it. `emerge -1 perl-core/DB_File` and file a bug. Stroller.
Re: [gentoo-user] spamassassin error
Arnau Bria wrote: Hi all, I've a cron which trains my spamassassin and it has sttoped working: /usr/bin/sa-learn --spam /home/arnau/Mail/SPAM/ ERROR: the Bayes learn function returned an error, please re-run with -D for more information the problem comes because there's a missing package: perl-core/DB_File but seems that emerge doesn't want to install it, and I'm wondering what use I'm missing: [I] mail-filter/spamassassin Available versions: 3.1.8 3.1.8-r1 ~3.2.0 ~3.2.0-r1 ~3.2.1 3.2.1-r1 ~3.2.2 ~3.2.3 ~3.2.4 ~3.2.5 ~3.2.5-r1 {berkdb doc ipv6 ldap mysql postgres qmail sqlite ssl tools} Installed versions: 3.2.1-r1(06:15:05 PM 11/11/2009)(ssl -berkdb -doc -ipv6 -ldap -mysql -postgres -qmail -sqlite -tools) or what I'm doing wrong :-) do I have to add DB_File to world? cause if I install the package with oneshot option, depclean wants to remove it. Anyone faced same problem? Cheers, Looking at the ebuild looks like berkdb pulls it in; spamassassin/spamassassin-3.2.1-r1.ebuild berkdb? ( virtual/perl-DB_File virtual/perl-DB_File/perl-DB_File-1.813.ebuild DESCRIPTION=Virtual for DB_File RDEPEND=~perl-core/DB_File-${PV}
Re: [gentoo-user] spamassassin-3.2.1-r1 emerge failure
On Sun, Jul 6, 2008 at 9:19 AM, Kevin O'Gorman [EMAIL PROTECTED] wrote: For reasons discussed elsewhere, I've got to get serious about spam. But my first 3 attempts to emerge spamassassin have failed. (on x86). For one thing, there's a detection process near the beginning that is failing to detect Perl modules that are actually present, and from portage not CPAN. First it was Digest-SHA1. Re-emerging it fixed that, so maybe there was bitrot somewhere. But now it's doing the same thing with Mail::DKIM, but that's fortunately not a show-stopper like SHA1, but it's still worrisome. Now the show-stopper is some access violations that make no sense to me. It says it could not 'mkdir /usr/share/spamassassin', but I could do it from the command line (as root). Having done it, it still complained but proceeded to report an access violation on an attempt to 'chmod 0644 something'. I could also do that one from the command-line. G. Has anyone seen this, and know of a workaround? Use mail-filter/bogofilter? It uses bayesian techniques too, and I *think* it's compatible with SpamAssassin (I use Evolution, and it lets you choose among both of them). -- Fred Allen - Television is a medium because anything well done is rare. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] spamassassin-3.2.1-r1 emerge failure
For reasons discussed elsewhere, I've got to get serious about spam. But my first 3 attempts to emerge spamassassin have failed. (on x86). For one thing, there's a detection process near the beginning that is failing to detect Perl modules that are actually present, and from portage not CPAN. First it was Digest-SHA1. Re-emerging it fixed that, so maybe there was bitrot somewhere. But now it's doing the same thing with Mail::DKIM, but that's fortunately not a show-stopper like SHA1, but it's still worrisome. Now the show-stopper is some access violations that make no sense to me. It says it could not 'mkdir /usr/share/spamassassin', but I could do it from the command line (as root). Having done it, it still complained but proceeded to report an access violation on an attempt to 'chmod 0644 something'. I could also do that one from the command-line. G. Has anyone seen this, and know of a workaround? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Spamassassin
On Wed, 4 Jul 2007 12:49:23 +0530 Gentoo Voyager [EMAIL PROTECTED] 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 -- [EMAIL PROTECTED] mailing list
[gentoo-user] Spamassassin
how do i confirm whether my spamassassin woking or no. i'm using qmail,qmail-scanner spammassassin in gentoo.. -- Try to be a Buddhist..!!
Re: [gentoo-user] Spamassassin
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 -- [EMAIL PROTECTED] mailing list
[gentoo-user] Spamassassin OCR plugin
Hi! I'd like to know if you have got some experience with those OCR plugins. According to this list [1] there are several such plugins. However, there is only one in portage and it's masked. [1] http://wiki.apache.org/spamassassin/CustomPlugins Thanks in advance Florian Philipp pgpZC0PKPIrxe.pgp Description: PGP signature
Re: [gentoo-user] Spamassassin 3.1.8: sa-update
Thomas Rösner wrote: Dan Farrell schrieb: I'm surprised to find that sa-update now doesn't work for me. [snip] Is there some obvious bit of configuration I'm overlooking? perl-cleaner? I'd not thought of that but... perl-cleaner all has not made any difference... I still get: -- Can't locate object method finish via package Mail::SpamAssassin::Timeout at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PluginHandler.pm line 187. -- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Spamassassin 3.1.8: sa-update
I've used portage to upgrade from Spamassassin 3.1.4 to 3.1.8, and I'm surprised to find that sa-update now doesn't work for me. # whoami root # sa-update Can't locate object method finish via package Mail::SpamAssassin::Timeout at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PluginHandler.pm line 187. # equery list spamassassin [ Searching for package 'spamassassin' in all categories among: ] * installed packages [I--] [ ] mail-filter/spamassassin-3.1.8 (0) [I--] [ ~] mail-filter/spamassassin-fuzzyocr-2.3b (0) [I--] [ ] mail-filter/spamassassin-ruledujour-20051123 (0) $ Is there some obvious bit of configuration I'm overlooking? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Spamassassin 3.1.8: sa-update
On Fri, 09 Mar 2007 09:35:27 + Steve [Gentoo] [EMAIL PROTECTED] wrote: I've used portage to upgrade from Spamassassin 3.1.4 to 3.1.8, and I'm surprised to find that sa-update now doesn't work for me. # whoami root # sa-update Can't locate object method finish via package Mail::SpamAssassin::Timeout at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/PluginHandler.pm line 187. # equery list spamassassin [ Searching for package 'spamassassin' in all categories among: ] * installed packages [I--] [ ] mail-filter/spamassassin-3.1.8 (0) [I--] [ ~] mail-filter/spamassassin-fuzzyocr-2.3b (0) [I--] [ ] mail-filter/spamassassin-ruledujour-20051123 (0) $ Is there some obvious bit of configuration I'm overlooking? I don't use sa-update myself but spamassassin-ruledujour _may_ have replaced it's functionality. ruledujour sets up new spam matchings to keep up with the spammers -- I'm guessing it's someting like sa-update. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Spamassassin 3.1.8: sa-update
Dan Farrell schrieb: On Fri, 09 Mar 2007 09:35:27 + Steve [Gentoo] [EMAIL PROTECTED] wrote: I've used portage to upgrade from Spamassassin 3.1.4 to 3.1.8, and I'm surprised to find that sa-update now doesn't work for me. [snip] Is there some obvious bit of configuration I'm overlooking? perl-cleaner? I don't use sa-update myself but spamassassin-ruledujour _may_ have replaced it's functionality. ruledujour sets up new spam matchings to keep up with the spammers -- I'm guessing it's someting like sa-update. It's not. sa-update can update all kinds of rulesets (I use it for sa's internal rules and SARE), ruledujour is just another rule set. Regards, Thomas -- gentoo-user@gentoo.org mailing list
[gentoo-user] spamassassin-ruledujour failing...
I'm getting these three emails every day from ruledujour... I'm using the latest stable ebuild of each i.e.: mail-filter/spamassassin-3.1.8 mail-filter/spamassassin-ruledujour-20051123 Does everyone who has ruledujour execute daily get these faults reported? -- Subject: RulesDuJour/gifu: Matt Kettler's AntiDrug RuleSet has been updated Matt Kettler's AntiDrug has changed on gifu. Version line: # rev 0.65 10/01/2006 - updated URL, etc -- Subject: RulesDuJour/gifu: Catch German language spam. Maintained by Michael Monnerie RuleSet has been updated Catch German language spam. Maintained by Michael Monnerie has changed on gifu. Version line: # Version: 01.21.08 # Anti Raucher Gesetze SPA -- -- -- Subject: RulesDuJour/gifu: lint failed. Updates rolled back. ***WARNING***: spamassassin --lint failed. Rolling configuration files back, not restarting SpamAssassin. Rollback command is: mv -f /etc/spamassassin/antidrug.cf /etc/spamassassin/RulesDuJour/antidrug.cf.2; mv -f /etc/spamassassin/RulesDuJour/antidrug.cf.20070221-0313 /etc/spamassassin/antidrug.cf; mv -f /etc/spamassassin/70_zmi_german.cf /etc/spamassassin/RulesDuJour/70_zmi_german.cf.2; mv -f /etc/spamassassin/RulesDuJour/70_zmi_german.cf.20070221-0313 /etc/spamassassin/70_zmi_german.cf; Lint output: [22610] warn: config: unparseable chars in 'if you are running SA 3.0.0 or higher, you already have antidrug and this file': '3.0.0' [22610] warn: lint: 1 issues detected, please rerun with debug enabled for more information -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] spamassassin-ruledujour failing...
Steve [Gentoo] wrote: Does everyone who has ruledujour execute daily get these faults reported? Nope. But I've disabled AntiDrug in /etc/rulesdujour/config because for a few days, I was getting a warning about antidrug's maintainer losing it's domain/host/isp or something like that. And BTW: Lint output: [22610] warn: config: unparseable chars in 'if you are running SA 3.0.0 or higher, you already have antidrug and this file': '3.0.0' ^ ;-) Regards, Norberto pgpl1euQ1CAjE.pgp Description: PGP signature
Re: [gentoo-user] spamassassin-ruledujour failing...
Norberto Bensa wrote: Steve [Gentoo] wrote: Does everyone who has ruledujour execute daily get these faults reported? Nope. But I've disabled AntiDrug in /etc/rulesdujour/config because for a few days, I was getting a warning about antidrug's maintainer losing it's domain/host/isp or something like that. And BTW: I've followed your lead... much more pleasant. :-) Lint output: [22610] warn: config: unparseable chars in 'if you are running SA 3.0.0 or higher, you already have antidrug and this file': '3.0.0' ^ ;-) Yes... but... I'd have hoped that the default configuration would not generate errors like this. If the error is caused by my specific configuration... then I'd understand that it is all my fault... (as they say) - but it seems a bad idea to have a broken rule-set included in the defaults... (which, to me, it appears to be.) Steve -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] spamassassin + razor - learning
Graham Murray wrote: Thomas Rösner [EMAIL PROTECTED] writes: Spamassassin has an autolearn hook, but I don't know if the razor/pyzor/etc. plugins use it, or if it's only used by the bayes engine. I'd like to know, though, so why don't you ask on a Spamassassin ML and report back here? ^^ Autolearn only affects the Bayes engine. To report to Razor (and Pyzor, DCC and Spamcop if configured) you have to use 'spamassassin --report' (for spam) or 'spamassassin --revoke' (to report as Ham messages which Razor has marked as spam). These also update Bayes. Ah, that easy. For completeness, spamc has an equivalent option: -L learn type Send message to spamd for learning. The learn type can be either spam, ham or forget. Must have missed it when setting it all up. Thanks Regards, T. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] spamassassin + razor - learning
Thomas Rösner wrote: Graham Murray wrote: Thomas Rösner [EMAIL PROTECTED] writes: Spamassassin has an autolearn hook, but I don't know if the razor/pyzor/etc. plugins use it, or if it's only used by the bayes engine. I'd like to know, though, so why don't you ask on a Spamassassin ML and report back here? ^^ Autolearn only affects the Bayes engine. To report to Razor (and Pyzor, DCC and Spamcop if configured) you have to use 'spamassassin --report' (for spam) or 'spamassassin --revoke' (to report as Ham messages which Razor has marked as spam). These also update Bayes. Ah, that easy. For completeness, spamc has an equivalent option: -L learn type To correct myself: -C report type Report or revoke a message to one of the configured collaborative filtering databases. Regards, T. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] spamassassin + razor - learning
Enrico Weigelt wrote: Hi folks, I've set up spamassassin + razor on one host, which is accessed from some other host via spamc. Is it possible to learn/report-to razor via spamc, too ? Spamassassin has an autolearn hook, but I don't know if the razor/pyzor/etc. plugins use it, or if it's only used by the bayes engine. I'd like to know, though, so why don't you ask on a Spamassassin ML and report back here? ^^ Regards, T. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] spamassassin + razor - learning
Thomas Rösner [EMAIL PROTECTED] writes: Spamassassin has an autolearn hook, but I don't know if the razor/pyzor/etc. plugins use it, or if it's only used by the bayes engine. I'd like to know, though, so why don't you ask on a Spamassassin ML and report back here? ^^ Autolearn only affects the Bayes engine. To report to Razor (and Pyzor, DCC and Spamcop if configured) you have to use 'spamassassin --report' (for spam) or 'spamassassin --revoke' (to report as Ham messages which Razor has marked as spam). These also update Bayes. -- gentoo-user@gentoo.org mailing list
[gentoo-user] spamassassin + razor - learning
Hi folks, I've set up spamassassin + razor on one host, which is accessed from some other host via spamc. Is it possible to learn/report-to razor via spamc, too ? cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@gentoo.org mailing list
[gentoo-user] Spamassassin / fcron / RulesDuJour
Last night my default gentoo RulesDuJour for Spamassassin acquired new Adult and General rule-sets from SARE. Thereafter spamd refused all connections and subsequently received mail was not spam filtered. Issuing '/etc/init.d/spamd restart' as root resolved the situation... but I don't want to have to do this every time a rule-set is automatically updated overnight. This is a (sanitised) extract from /var/log/messages : -- Nov 15 03:20:00 svr fcron[5328]: process already running: root's /usr/bin/test -x /usr/sbin/run-crons /usr/sbin/run-crons Nov 15 03:20:14 svr postfix/pickup[11065]: ...: uid=0 from=root Nov 15 03:20:14 svr postfix/cleanup[11232]: ...: message-id=... Nov 15 03:20:15 svr spamd[7808]: spamd: connection from localhost [127.0.0.1] at port 1125 Nov 15 03:20:15 svr spamd[7808]: spamd: setuid to foouser succeeded Nov 15 03:20:15 svr spamd[7808]: spamd: processing message .. for foouser:1000 Nov 15 03:20:18 svr spamd[7808]: spamd: clean message (-2.9/5.0) for foouser:1000 in 3.1 seconds, 647 bytes. Nov 15 03:20:18 svr spamd[7808]: spamd: result: . -2 - AWL,BAYES_00 scantime=3.1,size=647,user=foouser,... Nov 15 03:20:18 svr postfix/local[11237]: ... Nov 15 03:20:18 svr postfix/qmgr[5607]: ...: removed Nov 15 03:20:19 svr spamd[5462]: prefork: child states: II Nov 15 03:20:26 svr postfix/pickup[11065]: ...: uid=0 from=root Nov 15 03:20:26 svr postfix/cleanup[11232]: ... Nov 15 03:20:27 svr spamd[7808]: spamd: setuid to foouser succeeded Nov 15 03:20:27 svr spamd[7808]: spamd: processing message ... for foouser:1000 Nov 15 03:20:29 svr spamd[7808]: spamd: clean message (-2.2/5.0) for foouser:1000 in 2.7 seconds, 612 bytes. Nov 15 03:20:29 svr spamd[7808]: spamd: result: . -2 - AWL,BAYES_05 scantime=2.7,size=612,user=foouser,uid=1000,... Nov 15 03:20:29 svr postfix/local[11237]: EEA5F3B945: to=[EMAIL PROTECTED], orig_to=root, relay=local, delay=3, status=sent (delivered to command: /usr/bin/proc Nov 15 03:20:29 svr postfix/qmgr[5607]: EEA5F3B945: removed Nov 15 03:20:30 svr spamd[5462]: prefork: child states: II Nov 15 03:21:05 svr spamd[5462]: spamd: server killed by SIGTERM, shutting down Nov 15 03:21:11 svr rc-scripts: Failed to stop spamd Nov 15 03:30:00 svr fcron[5328]: process already running: root's /usr/bin/test -x /usr/sbin/run-crons /usr/sbin/run-crons Nov 15 03:40:00 svr fcron[11746]: Job /usr/bin/test -x /usr/sbin/run-crons /usr/sbin/run-crons started for user root (pid 11747) Nov 15 03:50:00 svr fcron[11759]: Job /usr/bin/test -x /usr/sbin/run-crons /usr/sbin/run-crons started for user root (pid 11760) Nov 15 03:50:24 svr postfix/smtpd[11772]: connect from localhost[127.0.0.1] Nov 15 03:50:24 svr postfix/smtpd[11772]: ...: client=localhost[127.0.0.1] Nov 15 03:50:24 svr postfix/cleanup[11775]: ...: message-id=... Nov 15 03:50:24 svr postfix/qmgr[5607]: 73FAA3B4FB: from=... Nov 15 03:50:24 svr postfix/smtpd[11772]: disconnect from localhost[127.0.0.1] Nov 15 03:50:24 svr spamc[11779]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused Nov 15 03:50:25 svr spamc[11779]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused -- Does anyone else have this problem? Can it be attributed to Fcron or RulesDuJour or something peculiar to my setup? I don't understand the process already running messages from fcron - my cron jobs all seem to be executed normally. -- gentoo-user@gentoo.org mailing list
[gentoo-user] SpamAssassin 3.1.5 out of memory
Hi, I've emerged spamassassin 3.1.5 (mail-filter/spamassassin-3.1.5 USE=berkdb ipv6 mysql postgres sqlite ssl -doc -ldap -qmail -tools) but whenever I try to run it either via procmail or from the command line I get the following errors [21312] warn: Use of uninitialized value in numeric ge (=) at /usr/lib/perl5/5.8.8/i686-linux/DB_File.pm line 271. [21312] warn: Use of uninitialized value in numeric gt () at /usr/lib/perl5/5.8.8/i686-linux/DB_File.pm line 275. [21312] warn: Deep recursion on subroutine DB_File::AUTOLOAD at /usr/lib/perl5/5.8.8/i686-linux/DB_File.pm line 234. Then after another minute where memory and swap usage goes to 100% I get Out of memory! Has anyone seen this before? Is it a problem with the ebuild or spamassassin or one of the dependencies? Below is my emerge --info [EMAIL PROTECTED] ~ $ emerge --info spamassassin Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) = System Settings = System uname: 2.6.17-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.60GHz Gentoo Base System version 1.12.5 Last Sync: Fri, 15 Sep 2006 09:50:01 + distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: 0.4.2-r1 sys-apps/sandbox:1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS=x86 ~x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-O2 -march=i686 -pipe CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/X11/xkb CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo CXXFLAGS=-O2 -march=i686 -pipe DISTDIR=/usr/portage/distfiles FEATURES=autoconfig confcache distcc distlocks metadata-transfer sandbox sfperms strict GENTOO_MIRRORS=http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ LINGUAS= MAKEOPTS=-j4 PKGDIR=/usr/portage/packages PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages' PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage USE=x86 X alsa apache2 berkdb bitmap-fonts cli crypt dlloader dri dvd elibc_glibc fortran gdbm gnome gpm gtk input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ mysql ncurses nls nptl nptlonly pam pcre perl postgres ppds pppd python readline reflection session spl sqlite sqlite3 ssl tcpd tk truetype-fonts type1-fonts udev unicode userland_GNU video_cards_i810 xorg zlib Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Many thanks Kevin Fullerton -- gentoo-user@gentoo.org mailing list
[gentoo-user] Spamassassin: Ignoring setup ???
Hi, I am using spamassassin in combination with exim and Emacs/Mew to handle my mails. Everything seems to work well. Spamassassin recognizes spam and write a X-Spam_score: 5.1 X-Spam_score_int: 51 X-Spam_bar: + X-Spam_report: Spam detection software, running on the system solfire, has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Content-Type: text/plain Content-Transfer-Encoding: 8bit Mr.Bob Watts, [...] Content analysis details: (5.1 points, 5.0 required) pts rule name description -- -- 1.2 SUBJ_ALL_CAPS Subject is all capitals 0.9 DEAR_FRIEND BODY: Dear Friend? That's not very dear! 1.2 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines0.5 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see http://www.spamcop.net/bl.shtml?207.178.136.150! ] 0.0 ADVANCE_FEE_1 Appears to be advance fee fraud (Nigerian 419) -field into the header of suspicious mails (exact output depends on the spam contents itsself). Unfortunately I haven't figured out how to convince Mew to scan not only the official mail header parts like To:, From: and such but also any other entry in the header. What remains is: I have to look for spam myself and being happy, that spamassassin has judged this or that mail as spam also. It would be nice, if spamassassin would put a ***SPAM*** directly into the Subject:-field, which can be scanned by Mew. In /etc/spamassassin/local.cf I found the following entry: # Add *SPAM* to the Subject header of spam e-mails # rewrite_header Subject *SPAM* add-header but.it seems to achieve nothing. Do I have to enable this somewhere else? Or why is spamassassin silently ignoring my wishes. Am I spam mysself ? ;) ;O)) I would be hapy about any hint about this problem! Kind regards, Meino Cramer -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Spamassassin: Ignoring setup ???
On 5/30/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: Hi, I am using spamassassin in combination with exim and Emacs/Mew to handle my mails. Everything seems to work well. Spamassassin recognizes spam and write a X-Spam_score: 5.1 X-Spam_score_int: 51 X-Spam_bar: + X-Spam_report: Spam detection software, running on the system solfire, has identified this incoming email as possible spam.The original messagehas been attached to this so you can view it (if it isn't spam) or labelsimilar future email.If you have any questions, see the administrator of that system for details. Content preview:Content-Type: text/plain Content-Transfer-Encoding: 8bit Mr.Bob Watts, [...] Content analysis details: (5.1 points, 5.0 required)pts rule namedescription -- --1.2 SUBJ_ALL_CAPSSubject is all capitals 0.9 DEAR_FRIENDBODY: Dear Friend? That's not very dear! 1.2 BLANK_LINES_70_80BODY: Message body has 70-80% blank lines0.5 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net[Blocked - see http://www.spamcop.net/bl.shtml?207.178.136.150 ! ] 0.0 ADVANCE_FEE_1Appears to be advance fee fraud (Nigerian 419) -field into the header of suspicious mails (exact output depends on the spam contents itsself). Unfortunately I haven't figured out how to convince Mew to scan not only the official mail header parts like To:, From: and such but also any other entry in the header. What remains is: I have to look for spam myself and being happy, that spamassassin has judged this or that mail as spam also. It would be nice, if spamassassin would put a ***SPAM*** directly into the Subject:-field, which can be scanned by Mew. In /etc/spamassassin/local.cf I found the following entry:# Add *SPAM* to the Subject header of spam e-mails#rewrite_header Subject *SPAM*add-header but.it seems to achieve nothing. Do I have to enable this somewhere else? Or why is spamassassin silently ignoring my wishes. Am I spam mysself ? ;) ;O)) I would be hapy about any hint about this problem! Kind regards, Meino Cramer--gentoo-user@gentoo.org mailing listDid you install spam assassin from emerge, CPAN, or other source? My CPAN version looks for /etc/mail/spamassassin/* for example. If you do#vi `which spamd`you can see where it is looking for the config files. Might be a good start.-- ()The ASCII Ribbon Campaign - against HTML Email, /\vCards, and proprietary formats.
[gentoo-user] Spamassassin
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
[gentoo-user] Spamassassin 3.1 now fails...
A few days I 'updated world' and spamassassin 3.04 was replaced by spamassassin 3.1 - after a few minutes spent migrating my configuration (to enable Razor,Pyzor and DCC) all seemed to be working well... but then, after running fine for a day or two, the spamd daemon stopped responding and started writing an error about syswrite(7) to the system log every few seconds: -- Nov 24 00:31:12 gifu postfix/qmgr[3563]: 9ADC2137F91: removed Nov 24 00:31:12 gifu spamd[26279]: prefork: child states: BBBII Nov 24 00:31:14 gifu postfix/smtpd[24866]: disconnect from localhost[127.0.0.1] Nov 24 00:32:40 gifu spamd[26279]: prefork: syswrite(7) failed, retrying... at / usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/SpamdForkScaling.pm line 554. Nov 24 00:32:45 gifu spamd[26279]: prefork: syswrite(7) failed, retrying... at / usr/lib/perl5/vendor_perl/5.8.6/Mail/SpamAssassin/SpamdForkScaling.pm line 554. -- Subsequently mail was (as far as I can tell) delivered without tagging messages. When I restart spamasssassin (i.e. /etc/init.d/spamd restart) the problem disappears - at least temporarily This is not a one-off occurrence - but I do not know what triggers the failure. On this occasion spamassasssin failed reporting syswrite(7) last time it reported syswrite(8) but otherwise behaviour was similar. The time at which the failure occurred does not seem to be relevant as while this time it was at just past midnight, previously it failed at 15:30. Does anyone else have this problem with Spamassassin 3.1? -- gentoo-user@gentoo.org mailing list
[gentoo-user] SpamAssassin upgrade
Hello, I have recently upgrade spamassassin to 3.1.0-r1. That version should be run as spamd but system did not create this user automaticaly? is that a bug or? TNX -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SpamAssassin is letting everything through
The mail gateway user guide uses a separate email account (spamtrap) for spamassassin's use. I just copy/move spam and ham to the spam or ham folders of this account - a cron job does an sa-learn on these folders. In evolution its a no brainer to dragNdrop between accounts. BillK On Sat, 2005-08-27 at 18:15 +0100, Jonathan Wright wrote: Jarry wrote: I've trained it with sa-learn on a whole slew of ham and spam and it continues to let through nearly all the spam coming in. BTW, in which form do all emails have to be in order to use them as examples for spamassassin-learning? mbox (all mails in 1 file), or maildir (every mail is a separate file)? Or both are acceptable? ... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SpamAssassin is letting everything through
daniel wrote: I've trained it with sa-learn on a whole slew of ham and spam and it continues to let through nearly all the spam coming in. BTW, in which form do all emails have to be in order to use them as examples for spamassassin-learning? mbox (all mails in 1 file), or maildir (every mail is a separate file)? Or both are acceptable? What about MUA mail-folders? Can I use them? I have a lot of mails in mozilla/thunderbird mail-folder format, which is (I think) very close to mbox (every mailfolder is one file, e.g. one file for all Sent mails, etc), but I'm not sure if spamassassin would understand it as many mails in one file, separated by newline and From - date line... Jarry -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SpamAssassin is letting everything through
Jarry wrote: I've trained it with sa-learn on a whole slew of ham and spam and it continues to let through nearly all the spam coming in. BTW, in which form do all emails have to be in order to use them as examples for spamassassin-learning? mbox (all mails in 1 file), or maildir (every mail is a separate file)? Or both are acceptable? Either. By default, SpamAssassin will assume path given is a Maildir folder, unless passed with the -mbox statement. What about MUA mail-folders? Can I use them? I have a lot of mails in mozilla/thunderbird mail-folder format, which is (I think) very close to mbox (every mailfolder is one file, e.g. one file for all Sent mails, etc), but I'm not sure if spamassassin would understand it as many mails in one file, separated by newline and From - date line... So long as it's in the mbox style, SpamAssassin will work with it. I do remember seeing some references to the Thunderbird mail system, so I think it should be OK. -- Jonathan Wright ~ mail at djnauk.co.uk ~ www.djnauk.co.uk -- 2.6.12-gentoo-r9-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz up 2:58, 2 users, load average: 3.26, 1.86, 1.06 -- Trust a nitwit society like this one to think that there are only two categories - fag and straight. ~ Gore Vidal -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SpamAssassin is letting everything through
On Sat, Aug 27, 2005 at 04:47:57PM +0200, Jarry wrote: daniel wrote: I've trained it with sa-learn on a whole slew of ham and spam and it continues to let through nearly all the spam coming in. BTW, in which form do all emails have to be in order to use them as examples for spamassassin-learning? mbox (all mails in 1 file), or maildir (every mail is a separate file)? Or both are acceptable? I know mbox works since I've been using it. I don't know whether maildir works, but it is likely it does. What about MUA mail-folders? Can I use them? I have a lot of mails in mozilla/thunderbird mail-folder format, which is (I think) very close to mbox (every mailfolder is one file, e.g. one file for all Sent mails, etc), but I'm not sure if spamassassin would understand it as many mails in one file, separated by newline and From - date line... Isn't that what mbox is? a blankline and From - date? If the actual storage format is like that, I don't see why SpamAssassin won't work. W -- Do you all understand? At this point I'll settle for quiet acquiescence. ~DeathMech, S. Sondhi. P-town PHY 205 Sortir en Pantoufles: up 15 days, 20:51 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SpamAssassin is letting everything through
W.Kenworthy wrote: This works very well, though it can be set too zealous (as warned about in the spamassassin section) so needs checking of the trap directories every few days. I've just just it configured with the standard settings, and while it can pull in the occasional valid e-mail, they've always been of the mass mailing sort (usually from eBay, Amazon, etc.). In terms of personally-addresses e-mails, that's never been a problem. -- Jonathan Wright ~ mail at djnauk.co.uk ~ www.djnauk.co.uk -- 2.6.12-gentoo-r6-djnauk-b7 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz up 17:06, 2 users, load average: 0.14, 0.41, 0.56 -- There's this illusion that homosexuals have sex and heterosexuals fall in love. That's completely untrue. Everybody wants to be loved. ~ Boy George -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SpamAssassin is letting everything through
daniel wrote: I've been beating my head against my keyboard all day trying to figure out how get SpamAssassin working on our server and so far I've not had a lot of success. Once of the things I found that helped very quickly was the DCC system (Distributed Checksum Clearing). They store the checksum of all know spam mails. Once I enabled that, my level of false spam went down massively. I very rarely get any spam in my Inbox any more (although I do get the occasional genuine mail there, usually mass-mail like from eBay, but a white-list solves that one). -- Jonathan Wright ~ mail at djnauk.co.uk ~ www.djnauk.co.uk -- 2.6.12-gentoo-r6-djnauk-b7 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz up 14:34, 4 users, load average: 1.43, 0.66, 0.40 -- There is nothing wrong with going to bed with someone of your own sex. People should be very free with sex, they should draw the line at goats. ~ Elton John -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SpamAssassin is letting everything through
On Thursday 25 August 2005 23:41, Jonathan Wright wrote: Once of the things I found that helped very quickly was the DCC system (Distributed Checksum Clearing). They store the checksum of all know spam mails. Once I enabled that, my level of false spam went down massively. I very rarely get any spam in my Inbox any more (although I do get the occasional genuine mail there, usually mass-mail like from eBay, but a white-list solves that one). Any chance you could enlighten the rest of us to how you enabled DCC? Does spamassassin detect the client tools presence automagically, or is it a compile time thing, or a config change, etc? Ta -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SpamAssassin is letting everything through
This works very well, though it can be set too zealous (as warned about in the spamassassin section) so needs checking of the trap directories every few days. http://www.google.com.au/url?sa=tct=rescd=1url=http% 3A//www.gentoo.org/doc/en/mailfilter-guide.xmlei=o3kOQ5urCqesYbf74OoE BillK On Fri, 2005-08-26 at 00:37 +0100, Jonathan Wright wrote: Mike Williams wrote: Any chance you could enlighten the rest of us to how you enabled DCC? -- gentoo-user@gentoo.org mailing list
[gentoo-user] Spamassassin - the memory black hole
Gooday all, I have a little problem with Spamassassin. It is eating all my memory. I am useing SpamAssassin version 3.0.2 running on Perl version 5.8.5. It has been running quite fine for some time now, till today. I noticed my harddrive started swapping extremly. From top: 1785 root 18 0 2933m 695m 348 D 2.0 78.6 0:33.80 spamd Yes, that is almost 3 gig swap used (it is maxed out). And I thought that one gig of RAM would be enough... From my messages log: May 2 22:15:20 aquarius spamd[1783]: spamd starting May 2 22:15:21 aquarius spamd[1785]: Use of uninitialized value in numeric gt () at /usr/lib/perl5/5.8.5/i686-linux/DB_File.pm line 271. May 2 22:15:21 aquarius spamd[1785]: Deep recursion on subroutine DB_File::AUTOLOAD at /usr/lib/perl5/5.8.5/i686-linux/DB_File.pm line 234. That is the only thing I can find that is a problem, though I don´t know what it means. /etc/conf.d/spamd shows: # Config file for /etc/init.d/spamd SPAMD_OPTS=-m 2 -c -H Does anyone have a clue? Best regards, Andreas Karlsson Sweden pgpKIKnr03P5K.pgp Description: PGP signature
Re: [gentoo-user] Spamassassin - the memory black hole
Yes, that is almost 3 gig swap used (it is maxed out). And I thought that one gig of RAM would be enough... Does anyone have a clue? :O I would ask the folks on the SpamAssassin-users mailing list, actually. The developers live there and they are usually very helpful. :) -- gentoo-user@gentoo.org mailing list