LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help me - spamassassin (https://www.linuxquestions.org/questions/linux-software-2/help-me-spamassassin-224195/)

newnewnew 08-30-2004 03:16 AM

Help me - spamassassin
 
I configure spamassassin with postfix.


####/etc/mail/spamassassin/local.cf #####
required_hits 3
add_header all Level _STARS(X)_
rewrite_subject 1
subject_tag Spam [_HITS_]

#####################################
#####User Rules for testing#########################
#####################################
body LOCAL_DEMONSTRATION_RULE /test/
score LOCAL_DEMONSTRATION_RULE 10
#describe LOCAL_DEMONSTRATION_RULE This is a simple test rule
auto_white_list_path /etc/mail/spamassassign/auto_white_list
auto_whitelist_file_mode 0666


#####/usr/local/bin/sa-filter.sh#################
#!/bin/bash
/usr/local/bin/spamassassin –a | /usr/sbin/sendmail -i "$@"
exit $?


I send a mail (from test1@example.com to test2@example.com)
Subject: test
Body: test

Check mail for test2@example.com, receive a mail from test1@example.com
Mail's header:

X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on Testcomp
X-Spam-Level: XXXXX
X-Spam-Status: Yes, hits=10.9 required=8.0 tests=AWL, FROM_ENDS_IN_NUMS,
LOCAL_DEMONSTRATION_RULE autolearn=no version=2.63


Is my AWL good???? I can't see file /etc/mail/spamassassign/auto_white_list. This file is automatically created or i must create manually????
And how can i add a entry to auto_white_list ????

Thanks

slidesystems 08-30-2004 05:57 AM

can't get squid to initialize
 
hello everyone,
i just got squid installed and i tried to initialize as root and it gave me an error like

Initializing the Squid cache with the command squid -f /etc/squid/squid.conf -z ..
2004/08/29 23:31:59| parseConfigFile: line 52 unrecognized: 'downtown:8080'
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
CPU Usage: 0.010 seconds = 0.000 user + 0.010 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 395

My computer name is downtown. Am lost what can i do? thank for reading.


All times are GMT -5. The time now is 01:48 AM.