Koozali.org: home of the SME Server

Spamassissin not doing the work

Offline rmoria

  • ****
  • 78
  • +0/-0
    • http://www.osvorca.nl
Re: Spamassissin not doing the work
« Reply #15 on: September 28, 2017, 02:38:06 PM »
smeserver-wbl-0.3.0-17.el6.sme.noarch
...
Yes, I can ask more questions then you can answer  8-)
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Spamassissin not doing the work
« Reply #16 on: September 28, 2017, 02:43:11 PM »
ok.. you'd really use the wbl panel to block domains since the first email transaction.. using SpamAssassin will discard your email after you downloaded the email itself.

Offline rmoria

  • ****
  • 78
  • +0/-0
    • http://www.osvorca.nl
Re: Spamassissin not doing the work
« Reply #17 on: September 28, 2017, 02:50:51 PM »
I now have both (wbl panel and customspamrule).
...
Yes, I can ask more questions then you can answer  8-)
...

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Spamassissin not doing the work
« Reply #18 on: September 29, 2017, 01:17:25 AM »
What's the chances of getting a copy of your SpamCount.sh file?

I got it from wiki page and create a shell. It´s here:

[root@andorinha ~]# cat SpamCount.sh
if [ -z $DAYS ]; then DAYS=1; fi; echo -n "Days of logfiles to scan [$DAYS]: "; read NEWDAYS; if [ $NEWDAYS ]; then DAYS=$NEWDAYS; fi; awk -F"[\t]" ' /logterse/ { svc=$6; count[svc]++; count["Total"]++; }  END  { for (j in count) print count[j] "\t" j "\t" expr count[j]/count["Total"]*100"%" ; }' $(find /var/log/qpsmtpd /var/log/sqpsmtpd -ctime -$DAYS -type f) |sort -n


...