You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/04/25 21:57:11 UTC

[Bug 4281] New: Blacklist entries not getting blocked

http://bugzilla.spamassassin.org/show_bug.cgi?id=4281

           Summary: Blacklist entries not getting blocked
           Product: Spamassassin
           Version: 3.0.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: spamassassin
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: tony@homenet.tzo.com


Here is my user_prefs file:

# SpamAssassin config file for version 3.0

# How many hits before a message is considered spam.
required_score           3.5

# Whether to change the subject of suspected spam
rewrite_header         subject *****SPAM*****

# Text to prepend to subject if rewrite_subject is used
subject_tag             *****SPAM*****

# Encapsulate spam in an attachment
report_safe             1

# Use terse version of the spam report
use_terse_report        0

# Enable the Bayes system
use_bayes               1

# Enable Bayes auto-learning
auto_learn              1

# Enable or disable network checks
skip_rbl_checks         0
use_razor2              1
use_dcc                 1
use_pyzor               1

# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
# - english spanish
ok_languages            en es

# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales              en

# Set up trusted and internal networks
# These networks are hosts that are considered to not be potentially
# operated by spammers, open relays, or open proxies
trusted_networks        127.
trusted_networks        192.168/16
internal_networks       127.
internal_networks       192.168/16

whitelist_from address.com

#### Start of Manual Blacklist ####
#
blacklist_from *@0-0-mydomain.com
blacklist_from *@0-2u.com
blacklist_from *@0-products.net
blacklist_from *@000-debt-consolidation.com
blacklist_from *@00007.com
blacklist_from *@00747.com
blacklist_from *@007divas.tk
blacklist_from *@007meds.net
blacklist_from *@007recommend.com


Here is my .procmailrc file:

:0fw: spamassassin.lock
| /usr/bin/spamassassin -p /home/<user>/.spamassassin/user_prefs

Here is my .forward file:

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #<user>"



The entries in my blacklist_from are not getting blocked.  I'm not sure what 
I've done wrong.  I installed postfix (version 2.2.2) from source.  I have also 
installed Spamassassin using cpan (version 3.0.2).  Any help on this would be 
appreciated.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4281] Blacklist entries not getting blocked

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4281





------- Additional Comments From felicity@kluge.net  2005-04-25 13:29 -------
Subject: Re:   New: Blacklist entries not getting blocked

Do you have a sample mail that doesn't get flagged?  I just tested and it
works fine for me.





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4281] Blacklist entries not getting blocked

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4281


Bob@Menschel.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From Bob@Menschel.net  2005-04-26 00:16 -------
I would also suggest save the sample email as a file on your system, and then use
> spamassassin -D -p user_prefs <sample.txt >sample.out 
and check the debug output. Either the email will be flagged with your
blacklist, which indicates there's a problem with your calling of SpamAssassin,
or the debug output should indicate why the blacklist isn't being activated. 

In either case, since blacklist works for everyone else, it's extremely unlikely
that this is a bug, and almost certain to be a configuration error or
integration error. In either case it's something that should be asked in the
Users' discussion list, where you can have many people help you with the
problem, rather than within the bugzilla system. 

Closing the problem as INVALID on this basis. We can reopen it in the unlikely
case that you actually found a problem within SA. 



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.