Koozali.org: home of the SME Server

Spam Filter Server-Manager Panel

Offline ntblade

  • *
  • 252
  • +0/-0
Spam Filter Server-Manager Panel
« on: October 26, 2004, 08:40:08 PM »
Hi everyone,
I've installed the Spam Filter Server-Manager Panel contrib from Swerts-Knudsen.dk and it works just fine.  Thanks!
However, sending email is pretty slow when the real time black lists are enabled.
Would I be right in saying that smtp-front qmail checks to see that my own address is blacklisted before sending mail?
If so, is it possible to disable this behaviour?
I only need spam checking for incomming mail.

Many thanks for any help.

Offline charlien

  • ****
  • 88
  • +0/-0
    • http://www.rn-computing.com
Spam Filter Server-Manager Panel
« Reply #1 on: October 29, 2004, 03:51:47 PM »
I noticed the same thing. Have you found a fix for this, other than turning it off?
...

Offline ntblade

  • *
  • 252
  • +0/-0
Spam Filter Server-Manager Panel
« Reply #2 on: October 29, 2004, 04:21:53 PM »
Quote from: "charlien"
I noticed the same thing. Have you found a fix for this, other than turning it off?

Hi, Thanks for your reply.
No I haven't as I wasn't sure if this was the cause of slow email sending.
Have you tried turning it off?

Offline compdoc

  • *
  • 225
  • +0/-0
Spam Filter Server-Manager Panel
« Reply #3 on: November 02, 2004, 02:25:03 AM »
What Sensitivity is the panel set to? Mine gets kinda weird if its set higher than Medium(8).

Shouldnt have to, but try adding your domain to the white list:

*yourdomain.com

What RBL's do you use? I started out using three of them, but found sbl-xbl.spamhaus.org works fine by itself...

Offline jgates

  • **
  • 22
  • +0/-0
Spam Filter Server-Manager Panel
« Reply #4 on: November 03, 2004, 12:15:29 AM »
Hi,

FYI and as feedback (+'ve) I have always had my domain in the whitelist in that format and only use spamhaus.

Sending and delivery of mail has been quite acceptable.

John
...

Offline ntblade

  • *
  • 252
  • +0/-0
Spam Filter Server-Manager Panel
« Reply #5 on: November 03, 2004, 02:25:16 PM »
Adding my domain(s) to the whitelist fixed it.  Thanks!
N

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Spam Filter Server-Manager Panel
« Reply #6 on: November 05, 2004, 05:41:40 PM »
Quote from: "jgates"
Hi,

FYI and as feedback (+'ve) I have always had my domain in the whitelist in that format and only use spamhaus.
John


This doesnt' make any sense.  You don't need to do this because SA doesn't even scan mail sent from you to other users on your sys.  Have a look at tcp.smtp in /etc/tcprules.
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline brianr

  • *
  • 990
  • +2/-0
Spam Filter Server-Manager Panel
« Reply #7 on: November 06, 2004, 11:50:27 AM »
I spoke to Jesper about this, and he said that he had not been able to disable Spamassassin scanning outgoing email, unless Clamav was also disabled for outgoing mail (on his Calamv panel).  I can confirm that this is the case.

However i'll try enabling clamav on outgoing and putting my domain in the whitelist, and report back if that solves the problem.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Spam Filter Server-Manager Panel
« Reply #8 on: November 07, 2004, 07:14:49 PM »
Quote from: "brianr"
I spoke to Jesper about this, and he said that he had not been able to disable Spamassassin scanning outgoing email, unless Clamav was also disabled for outgoing mail


This may be a design flaw in his contrib as this is possible using the externalinterfacesfilter and internalinterfacesfilter SMTP configuration dbase keys.  On my sys, I have the external filter set to SA and the internal to my AV scanner.  Note from the following email header from a message sent to myself did not get scanned by SA:

Return-Path: <greg@leiinc.com>
Delivered-To: greg@server.leiinc.com
Received: (qmail 12230 invoked by alias); 7 Nov 2004 18:02:58 -0000
Delivered-To: alias-localdelivery-greg@leiinc.com
Received: (qmail 12227 invoked from network); 7 Nov 2004 18:02:58 -0000
Received: from 67-41-84-25.eugn.qwest.net (67.41.84.25)
  by server.leiinc.com (63.224.194.227) with ESMTP; 07 Nov 2004 18:02:58 -0000
Message-ID: <418E6482.5040705@leiinc.com>
Date: Sun, 07 Nov 2004 10:08:02 -0800
From: Greg Zartman <greg@leiinc.com>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To:  greg@leiinc.com
Subject: test
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Spam Filter Server-Manager Panel
« Reply #9 on: November 08, 2004, 12:49:34 AM »
Greg,

Could you post your output from:

/sbin/e-smith/db configuration show smtpfront-qmail
and what you have listed under the qmail section of  /etc/amavis-ng/amavis.conf (around line 152)
please?

I'd like to compare what you have set vs. what I currently have set to see if we can find a solution to this.

Thanks,

JB
......

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Spam Filter Server-Manager Panel
« Reply #10 on: November 08, 2004, 04:28:39 AM »
Following is my smtpfront-qmail dbase information.  I'm not using amavis, so can't send information with respect to this.

[root@server root]# /sbin/e-smith/db configuration show smtpfront-qmail
smtpfront-qmail=service
    ConcurrencyRemote=40
    ExternalInterfacesFilter=/var/qmail/bin/qmail-spamc
    Instances=40
    InternalInterfacesFilter=/var/qmail/bin/scanner
    Proxy=enabled
    RBLList=bl.spamcop.net:list.dsbl.org:sbl.spamhaus.org
    access=public
    authentication=disabled
    status=enabled
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline idyll

  • ****
  • 113
  • +0/-0
not sure about the option
« Reply #11 on: November 08, 2004, 09:04:17 PM »
I run the SA option and if you wildcard your own domain you will be flooded with SPAM.

My system blocks hundreds of email with "guess" names addressed to my domain.

regards,

patrick
...

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: not sure about the option
« Reply #12 on: November 08, 2004, 09:41:03 PM »
Quote from: "idyll"
I run the SA option and if you wildcard your own domain you will be flooded with SPAM.
My system blocks hundreds of email with "guess" names addressed to my domain.


I don't think we're speaking the same language here...  This isn't a whitelist issue, but an issue with when SA gets called to scan mail.  You should never put yourself in the SA whitelist or blacklist.  This defeats the purpose of what SA is doing.

Greg
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline idyll

  • ****
  • 113
  • +0/-0
I agree
« Reply #13 on: November 08, 2004, 09:47:20 PM »
Is there more than one whitelist? I was referring to the whitelist associated with incoming email filtered via SA.

I was responding to the two posts above indicating they had added their own domains to the "whitelist".

Were you addressing me or the two folks above?

?

patrick
...

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Spam Filter Server-Manager Panel
« Reply #14 on: November 09, 2004, 03:36:10 AM »
Quote from: "gzartman"
Following is my smtpfront-qmail dbase information.  I'm not using amavis, so can't send information with respect to this.

[root@server root]# /sbin/e-smith/db configuration show smtpfront-qmail
smtpfront-qmail=service
    ConcurrencyRemote=40
    ExternalInterfacesFilter=/var/qmail/bin/qmail-spamc
    Instances=40
    InternalInterfacesFilter=/var/qmail/bin/scanner
    Proxy=enabled
    RBLList=bl.spamcop.net:list.dsbl.org:sbl.spamhaus.org
    access=public
    authentication=disabled
    status=enabled


Thanks Greg,  what is /var/qmail/bin/scanner?  I don't have that on my system.  I am re-loading a test box now to confirm.  I don't know what I was thinking, but I thought amavis and clamav were part of the same package.  No, No, as I have learned.  I'll have to see what the differences are.

JB
......

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Spam Filter Server-Manager Panel
« Reply #15 on: November 09, 2004, 03:40:47 AM »
Quote from: "mrjhb3"

Thanks Greg,  what is /var/qmail/bin/scanner?  
JB


It's the routing script that sends email to my AV scanner.  Basically it works like Amavis.

The main thing to take not of here is the external and internal interfacefilters.  Assign amavis to the internal and SA to the external and mailfront will do the rest.

Greg
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Spam Filter Server-Manager Panel
« Reply #16 on: November 09, 2004, 04:03:23 AM »
That's what I figured, but just wanted to make sure.  Those are the settings I will be changing.  I wanted to do it on a fresh install.

JB
......

Offline NickCritten

  • *
  • 245
  • +0/-0
Spam Filter Server-Manager Panel
« Reply #17 on: November 11, 2004, 05:00:44 PM »
Hmmm..

How much RAM have you got in these SME's?

Don't know if this is connected, but I upgraded a 6.0 box with the Pagefault AV & Spam assasin to a 6.0-01 with the
http://no.longer.valid/phpwiki/index.php?Latest%20version%20of%20update%20scripts
script (Which uses knuddi's AV & Spam Assassin, plus many other things)

After the upgrade, sending email was torturously slow. (It even timed out when using webmail)  I upgraded the Ram from 128 -> 256
Cleared it up straight away.

Hope it helps! :-)
...
Nick

"No good deed goes unpunished." :-x...