Hi Eric,

Below are the output of some files amd commands.

[r...@spd control]# cat simcontrol
:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif
test.com:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif:.xls

[r...@spd tcprules.d]# cat tcp.smtp
127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan",DKSIGN="/var/q
mail/control/domainkeys/%/private"
192.168.10.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"
192.168.30.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"
:allow,BADMIMETYPE="",QMAILQUEUE="/var/qmail/bin/simscan",BADLOADERTYPE="M",
CHKUSER_RCPTLIMIT="5",CHKUSER_WRONGRCPTLIMIT="10",DKSIGN="/var/qmail/control
/domainkeys/%/private"


[r...@spd ~]# cd /usr/src/redhat/SRPMS/
[r...@spd SRPMS]# rpm -Uvh --replacepkgs simscan*.rpm
   1:simscan-toaster        ###########################################
[100%] 


[r...@spd SRPMS]# rpm -qi simscan-toaster
Name        : simscan-toaster              Relocations: (not relocatable)
Version     : 1.4.0                             Vendor: (none)
Release     : 1.3.8                         Build Date: Tue 03 Aug 2010
03:53:34 AM IST
Install Date: Tue 03 Aug 2010 06:55:02 AM IST      Build Host: spd
Group       : Networking/Other              Source RPM:
simscan-toaster-1.4.0-1.3.8.src.rpm
Size        : 113364                           License: GPL
Signature   : (none)
Packager    : Jake Vickers <j...@qmailtoaster.com>
URL         : http://www.inter7.com/vpopmail
Summary     : Simscan for qmail-toaster
     ---------------------------------------
     user                  = clamav
     qmail directory       = /var/qmail
     work directory        = /var/qmail/simscan
     control directory     = /var/qmail/control
     qmail queue program   = /var/qmail/bin/qmail-queue
     clamdscan program     = /usr/bin/clamdscan
     clamav scan           = ON
     trophie scanning      = OFF
     attachement scan      = ON
     ripmime program       = /usr/bin/ripmime
     custom smtp reject    = ON
     drop message          = OFF
     regex scanner         = OFF
     quarantine processing = OFF
     domain based checking = ON
     add received header   = ON
     spam scanning         = ON
     spamc program         = /usr/bin/spamc
     spamc arguments       =
     spamc user            = OFF
     authenticated users scanned = OFF
     spam passthru         = OFF
     spam hits             = 40

[r...@spd spamassassin]# cat test.cf
body LOCAL_DEMONSTRATION_RULE   /test/
score LOCAL_DEMONSTRATION_RULE 5
describe LOCAL_DEMONSTRATION_RULE       This is a simple test rule

[r...@spd ~]# qmailctl cdb
Reloaded /etc/tcprules.d/tcp.smtp
Reloaded /var/qmail/control/badmimetypes.cdb
Reloaded /var/qmail/control/badloadertypes.cdb
Reloaded /var/qmail/control/simversions.cdb
Reloaded /var/qmail/control/simcontrol.cdb

But still mail scanning not done whereas attachment scanning works fine.

Thanks,
Suhag.



-----Original Message-----
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Thursday, August 12, 2010 9:01 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: How to complied specific package in
qmailtoaster-plus

Did you add QMAILQUEUE parameter to all tcp.smtp lines as Jake mentioned?

Did you rebuild the binary rpm with the spec file modification as Amit 
directed?

Did you Update the simscan-toaster package on your system using the 
binary rpm that you built? (I'm guessing you may have missed this step)

If these have been done properly, your QMT should be scanning messages 
that were submitted with authentication.

-- 
-Eric 'shubes'

Suhag P Desai wrote:
> Is there any solution to scan internal mail ? As even I test without 
> authenticate option, It is not scanning the mail. Only attachment scan 
> is working fine in both the case for internal mail.
> 
>  
> 
> *From:* Jake Vickers [mailto:j...@qmailtoaster.com]
> *Sent:* Thursday, August 12, 2010 11:22 AM
> *To:* qmailtoaster-list@qmailtoaster.com
> *Subject:* Re: [qmailtoaster] How to complied specific package in 
> qmailtoaster-plus
> 
>  
> 
> On 08/11/2010 08:21 AM, Suhag P Desai wrote:
> 
> Thanks Amit,
> 
> I have followed your instructions on my setup.
> 
>  
> 
> I am trying to setup spamassassin and below is my test.cf file.
> 
> [r...@spd spamassassin]# pwd
> 
> /etc/mail/spamassassin
> 
> [r...@spd spamassassin]# cat test.cf
> 
> body LOCAL_DEMONSTRATION_RULE   /test/
> 
> score LOCAL_DEMONSTRATION_RULE 5
> 
> describe LOCAL_DEMONSTRATION_RULE       This is a simple test rule
> 
>  
> 
> Now, this rule is pretty simple as rules go. It will match "test" but 
> also "testing" and "attest" and assign the score to 5 and if score reach 
> to 5, subject should be replace with *******spam*******.
> 
>  
> 
> *But it is not working in my setup.*
> 
>  
> 
> Below is my tcp.smtp file.
> 
> [r...@spd spamassassin]# cat /etc/tcprules.d/tcp.smtp
> 
>
127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan",DKSIGN="/var/q
mail/control/domainkeys/%/private"
> 
> 192.168.10.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"
> 
> 192.168.30.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"
> 
>
:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="5",CHKUSER_WRONGR
CPTLIMIT="10",DKSIGN="/var/qmail/control/domainkeys/%/private"
> 
>  
> 
> Please let me know what to do to get it done.
> 
>  
> 
> I am testing the same in same domain.
> 
>  
> 
> 
> If you're testing withing the same domain with an authenticated user, it 
> won't work.
> Also your :allow line is missing the QMAILQUEUE variable, so emails 
> coming in from the outside are not being passed to simscan to score.
> 


----------------------------------------------------------------------------
-----
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
----------------------------------------------------------------------------
-----
     Please visit qmailtoaster.com for the latest news, updates, and
packages.
     
      To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
     For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com





---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
     For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to