Koozali.org: home of the SME Server

procmail not filtering all messages

Offline jahlewis

  • *
  • 151
  • +0/-0
    • http://www.arachnerd.com/
procmail not filtering all messages
« on: February 14, 2007, 04:00:46 PM »
I'm running dungog's userpanels and mailsorting to manage filtering email to specific folders.  It has been working great for years, but something recently changed where now many messages are not being filtered, while some are.  I've checked the headers etc., and nothing has changed with the messages, so it is definitely something on my side.

Are some of the messages being allowed through before being filtered, while others are not?  What would do this?

I'm running the following:
smeserver-mailsorting-1.2-3
smeserver-userpanel-0.9-9
smeserver-userpanels-1.0-3

I've installed, then uninstalled Darrell's wbl rpm thinking that might have done it. Problem still exists.

I've also enabled greylisting using the following commands:
Code: [Select]
- upgrade greylisting to work with qpsmtpd changes
        mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0
        echo greylisting black_timeout 60 > /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/09greylisting
        /sbin/e-smith/expand-template /var/service/qpsmtpd/config/peers/0


I also disabled checkbasic headers on local networks
Code: [Select]
- disable checkbasic headers on local networks to allow motorola email alerts to get through
        mkdir -p /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local
        cd /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local
        echo "# 17check_basicheaders disabled by custom template" > 17check_basicheaders
        signal-event email-update


I've also installed the spamassassin-features rpm

 
Code: [Select]
- enable BayesAutoLearnThreshhold and Blacklists
        cd /root/contribs
        wget http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/smeserver-spamassassin-features-0.0.2-0.noarch.rpm
        yum -y localinstall smeserver-spamassassin-features-0.0.2-0.noarch.rpm
                spamassassin properties:
                BayesAutoLearnThresholdNonspam=0.10
                BayesAutoLearnThresholdSpam=4.00
                UseBayes=1
                qpsmtpd properties:
                DNSBL=enabled
                RHSBL=enabled


And last but not least, here is what /etc/mail/spamassassin/local.cf looks like:
Code: [Select]
#------------------------------------------------------------
#              !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://wiki.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
dns_available yes
internal_networks 192.168.100.1
lock_method flock
ok_languages all
ok_locales all
bayes_path /var/spool/spamd/.spamassassin/bayes
bayes_file_mode 750
auto_whitelist_path /var/spool/spamd/.spamassassin/auto-whitelist
auto_whitelist_file_mode 750
report_safe 0
required_hits 3

skip_rbl_checks 0
clear_trusted_networks
trusted_networks 192.168.100.1 127.
use_auto_whitelist 0
use_bayes 1
whitelist_from *sans.org
whitelist_from maryhuffard@yahoo.com
whitelist_from marinhedge@hotmail.com
whitelist_from *prospace.org
whitelist_from *bcreative.local
whitelist_from ossecm@assurance.local
whitelist_from *yahoogroups.com

whitelist_to *@yahoogroups.com
whitelist_to *@sans.org
whitelist_to members@neonguild.org

/etc/mail/spamassassin/local.cf (END)


Any ideas before I reverse out some of the above changes to see which is impacting the procmail filtering?
............

Offline jahlewis

  • *
  • 151
  • +0/-0
    • http://www.arachnerd.com/
procmail not filtering all messages
« Reply #1 on: February 24, 2007, 03:01:01 AM »
another ping... can anyone suggest where I can look to see why procmail is sorting some messages but not others?  Messages from the same mailing list are treated differently, some get sorted based on the procmail rule, others arrive in my inbox.

Where can i look to see what is happening, what logs can I look at.  I'm stumped.

Thanks.
............

Offline raem

  • *
  • 3,972
  • +4/-0
procmail not filtering all messages
« Reply #2 on: February 24, 2007, 04:35:15 AM »
jahlewis

Look in
/home/e-smith/files/users/xxxxuser
...