Hi. I use the spamassassin that folows SuSE 8.1, and have problems getting SA to work.
I I manually enter the command spamc < spam.msg, it is working fine. I use the Kmail. erik@eurit:~/Documents> spamc < spam.msg From [EMAIL PROTECTED] Sat Nov 23 04:40:31 2002 Received: from mail.servermarket.dk (80.80.7.214) by NS1 (MailMax 4. 8. 3. 0) with ESMTP id 32572004 for [EMAIL PROTECTED]; Sat, 23 Nov 2002 04:47:38 +0100 RST Received: from 61.235.76.2 (61.235.76.2) by NS1 (MailMax 4. 8. 3. 0) with ESMTP id 32312004 for [EMAIL PROTECTED]; Sat, 23 Nov 2002 04:47:13 +0100 RST Received: from smtp-server6.tampabay.rr.com ([12.232.159.86]) by mailout2-eri1.midsouth.rr.com with asmtp; Nov, 22 2002 7:29:28 PM -0700 Received: from 213.54.67.154 ([213.54.67.154]) by sparc.isl.net with esmtp; Nov, 22 2002 6:37:28 PM +0300 Received: from unknown (HELO rly-xw01.mx.aol.com) (96.213.243.25) by n9.groups.yahoo.com with asmtp; Nov, 22 2002 5:17:22 PM +0700 From: Membership <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Subject: *****SPAM***** Fw: Free VIP Pass [EMAIL PROTECTED] Sender: Membership <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 22 Nov 2002 19:40:31 -0800 X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-Priority: 1 Status: R X-Status: N X-Spam-Status: Yes, hits=22.0 required=4.5 tests=FROM_NAME_NO_SPACES,X_PRIORITY_HIGH,ONE_HUNDRED_PC_FREE, FOR_INSTANT_ACCESS,FOR_FREE,CLICK_BELOW,PORN_10,PORN_14, PORN_11,DOUBLE_CAPSWORD,PORN_12,REMOVAL_INSTRUCTIONS, EXCUSE_14,EXCUSE_10,HTTP_USERNAME_USED,PORN_4,PORN_3,AWL version=2.31 X-Spam-Flag: YES X-Spam-Level: XXXXXXXXXXXXXXXXXXXXX X-Spam-Checker-Version: SpamAssassin 2.31 (devel $Id: SpamAssassin.pm,v 1.94.2.2 2002/06/20 17:20:29 hughescr Exp $) SPAM: -------------------- Start SpamAssassin results ---------------------- SPAM: This mail is probably spam. The original message has been altered SPAM: so you can recognise or block similar unwanted mail in future. SPAM: See http://spamassassin.org/tag/ for more details. SPAM: SPAM: Content analysis details: (22 hits, 4.5 required) SPAM: FROM_NAME_NO_SPACES (-0.1 points) From: no spaces in name SPAM: X_PRIORITY_HIGH (0.9 points) Sent with 'X-Priority' set to high SPAM: ONE_HUNDRED_PC_FREE (3.4 points) BODY: No such thing as a free lunch (2) SPAM: FOR_INSTANT_ACCESS (3.0 points) BODY: Instant Access button SPAM: FOR_FREE (1.1 points) BODY: No such thing as a free lunch (1) SPAM: CLICK_BELOW (1.5 points) BODY: Asks you to click below SPAM: PORN_10 (0.6 points) BODY: Uses words and phrases which indicate porn (10) SPAM: PORN_14 (0.2 points) BODY: Uses words and phrases which indicate porn (14) SPAM: PORN_11 (1.2 points) BODY: Uses words and phrases which indicate porn (11) SPAM: DOUBLE_CAPSWORD (1.1 points) BODY: A word in all caps repeated on the line SPAM: PORN_12 (0.7 points) BODY: Uses words and phrases which indicate porn (12) SPAM: REMOVAL_INSTRUCTIONS (4.2 points) BODY: Gives instructions for removal from list SPAM: EXCUSE_14 (0.4 points) BODY: Tells you how to stop further SPAM SPAM: EXCUSE_10 (0.4 points) BODY: "if you do not wish to receive any more" SPAM: HTTP_USERNAME_USED (1.5 points) URI: Uses a username in a URL SPAM: PORN_4 (1.4 points) URI: Uses words and phrases which indicate porn (4) SPAM: PORN_3 (0.5 points) Uses words and phrases which indicate porn (3) SPAM: AWL (0.0 points) AWL: Auto-whitelist adjustment SPAM: SPAM: -------------------- End of SpamAssassin results --------------------- I use a /etc/procmailrc: **************************** DROPPRIVS=yes # SpamAssassin sample procmailrc :0fw * < 256000 | spamc :0 H * ! ^From[ ] * ^rom[ ] { LOG="*** Dropped F off From_ header! Fixing up. " :0 fhw | sed -e 's/^rom /From /' } *************************************************************** The /root/.fetchmailrc: *************************************************************** # Configuration created Fri Jan 11 14:13:45 2002 by fetchmailconf set syslog set postmaster "root" set no bouncemail set no spambounce # ------------- be sure to set this at a reasonable intrval----- set daemon 360 # ------this is the first server we check-------------------------- poll mail.urbakken.dk aka urbakken.dk aka eurit.stine.hjem envelope "To:" with proto POP3 user "[EMAIL PROTECTED]" with password "*******" is erik here options pass8bits fetchall norewrite ********************************************************************** Fetchmail is set up in crontab: ************************************* Nov 23 15:52:00 eurit /USR/SBIN/CRON[2739]: (root) CMD ( /usr/bin/fetchmail # once / hour make sure fetchmail runs) Is a message in /var/log/messages ************************************************************************ /var/log/mail: ******************* Nov 23 14:22:22 eurit spamd[1298]: connection from localhost [ 127.0.0.1 ] at port 33517 Nov 23 14:22:22 eurit spamd[2456]: info: setuid to erik succeeded Nov 23 14:22:22 eurit spamd[2456]: clean message (-3.8/4.5) for erik:500 in 0 seconds, 3639 bytes. Nov 23 14:22:22 eurit sendmail[2452]: gANDML62002451: to=<erik@localhost>, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=141535, dsn=2.0.0, stat=Sent Nov 23 14:28:25 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 14:28:25 +0100 (CET) Nov 23 14:34:29 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 14:34:29 +0100 (CET) Nov 23 14:40:32 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 14:40:32 +0100 (CET) Nov 23 14:46:35 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 14:46:35 +0100 (CET) Nov 23 14:52:00 eurit fetchmail[1895]: awakened by User defined signal 1 Nov 23 14:52:00 eurit sendmail[2506]: gANDq0ZS002506: from=root, size=351, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, relay=root@localhost Nov 23 14:52:00 eurit sendmail[2507]: gANDq062002507: from=<[EMAIL PROTECTED]>, size=619, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Nov 23 14:52:00 eurit sendmail[2506]: gANDq0ZS002506: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30301, relay=localhost.stine.hjem. [127.0.0.1], dsn=2.0.0, stat=Sent (gANDq062002507 Message accepted for delivery) Nov 23 14:52:00 eurit spamd[1298]: connection from localhost [ 127.0.0.1 ] at port 33584 Nov 23 14:52:00 eurit spamd[2512]: info: setuid to root succeeded Nov 23 14:52:00 eurit spamd[2512]: Still running as root: user not specified, not found, or set to root. Fall back to nobody. Nov 23 14:52:03 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 14:52:03 +0100 (CET) Nov 23 14:52:06 eurit sendmail[2508]: gANDq062002507: to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> (0/0), delay=00:00:06, xdelay=00:00:06, mailer=local, pri=30839, dsn=2.0.0, stat=Sent Nov 23 14:58:07 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 14:58:07 +0100 (CET) Nov 23 15:04:10 eurit fetchmail[1895]: 1 message for [EMAIL PROTECTED] at server131.net-server.dk (2456 octets). Nov 23 15:04:10 eurit fetchmail[1895]: reading message [EMAIL PROTECTED]@server131.net-server.dk:1 of 1 (2456 octets) Nov 23 15:04:11 eurit sendmail[2540]: gANE4B62002540: from=<[EMAIL PROTECTED]>, size=2573, class=-60, nrcpts=1, msgid=<[EMAIL PROTECTED]>, bodytype=8BITMIME, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Nov 23 15:04:11 eurit fetchmail[1895]: flushed Nov 23 15:04:11 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 15:04:11 +0100 (CET) Nov 23 15:04:11 eurit spamd[1298]: connection from localhost [ 127.0.0.1 ] at port 33612 Nov 23 15:04:11 eurit spamd[2545]: info: setuid to erik succeeded Nov 23 15:04:12 eurit spamd[2545]: clean message (0.1/4.5) for erik:500 in 1 seconds, 2846 bytes. Nov 23 15:04:12 eurit sendmail[2541]: gANE4B62002540: to=<erik@localhost>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=140745, dsn=2.0.0, stat=Sent Nov 23 15:10:15 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 15:10:15 +0100 (CET) Nov 23 15:16:18 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 15:16:18 +0100 (CET) Nov 23 15:22:22 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 15:22:22 +0100 (CET) Nov 23 15:28:25 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 15:28:25 +0100 (CET) Nov 23 15:34:28 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 15:34:28 +0100 (CET) Nov 23 15:34:53 eurit spamd[1298]: connection from localhost [ 127.0.0.1 ] at port 33680 Nov 23 15:34:53 eurit spamd[2597]: info: setuid to erik succeeded Nov 23 15:34:55 eurit spamd[2597]: identified spam (27.5/4.5) for erik:500 in 2 seconds, 6432 bytes. Nov 23 15:38:38 eurit spamd[1298]: connection from localhost [ 127.0.0.1 ] at port 33687 Nov 23 15:38:38 eurit spamd[2638]: info: setuid to erik succeeded Nov 23 15:38:38 eurit spamd[2638]: identified spam (22.0/4.5) for erik:500 in 0 seconds, 5571 bytes. Nov 23 15:39:01 eurit spamd[1298]: connection from localhost [ 127.0.0.1 ] at port 33690 Nov 23 15:39:01 eurit spamd[2642]: info: setuid to erik succeeded Nov 23 15:39:02 eurit spamd[2642]: identified spam (7.3/4.5) for erik:500 in 1 seconds, 6679 bytes. Nov 23 15:40:32 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 15:40:32 +0100 (CET) Nov 23 15:46:35 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 15:46:35 +0100 (CET) Nov 23 15:52:00 eurit fetchmail[1895]: awakened by User defined signal 1 Nov 23 15:52:00 eurit sendmail[2740]: gANEq0eo002740: from=root, size=351, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, relay=root@localhost Nov 23 15:52:01 eurit sendmail[2741]: gANEq162002741: from=<[EMAIL PROTECTED]>, size=619, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Nov 23 15:52:01 eurit sendmail[2740]: gANEq0eo002740: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30301, relay=localhost.stine.hjem. [127.0.0.1], dsn=2.0.0, stat=Sent (gANEq162002741 Message accepted for delivery) Nov 23 15:52:01 eurit spamd[1298]: connection from localhost [ 127.0.0.1 ] at port 33722 Nov 23 15:52:01 eurit spamd[2746]: info: setuid to root succeeded Nov 23 15:52:01 eurit spamd[2746]: Still running as root: user not specified, not found, or set to root. Fall back to nobody. Nov 23 15:52:04 eurit fetchmail[1895]: sleeping at Sat, 23 Nov 2002 15:52:04 +0100 (CET) Nov 23 15:52:06 eurit sendmail[2742]: gANEq162002741: to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> (0/0), delay=00:00:05, xdelay=00:00:05, mailer=local, pri=30839, dsn=2.0.0, stat=Sent Can anybody tell me why the SA doesn't work automatic, but ok in manually ?. -- Med venlig hilsen - Best regards. Erik Jakobsen - [EMAIL PROTECTED] SuSE Linux 8.1 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk