Hi,

Please find below tcp.smtp file.
I always done qmailctl cdb after any change made in tcp.smtp. Please
remember my attachment scanning is working ok.

[r...@spd ~]# 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="",QMAILQUEUE="/var/qmail/bin/simscan",BADLOADERTYPE="M",
CHKUSER_RCPTLIMIT="5",CHKUSER_WRONGRCPTLIMIT="10",DKSIGN="/var/qmail/control
/domainkeys/%/private"
[r...@spd ~]#

Please find below rpm -qi simscan-toaster results.

[r...@spd ~]# rpm -qi simscan-toaster
Name        : simscan-toaster              Relocations: (not relocatable)
Version     : 1.4.0                             Vendor: (none)
Release     : 1.3.8                         Build Date: Wed 11 Aug 2010
12:48:54 PM IST
Install Date: Fri 13 Aug 2010 12:57:47 PM IST      Build Host: spd
Group       : Networking/Other              Source RPM:
simscan-toaster-1.4.0-1.3.8.src.rpm
Size        : 113400                           License: GPL
Signature   : (none)
Packager    : Jake Vickers <[email protected]>
URL         : http://www.inter7.com/vpopmail
Summary     : Simscan for qmail-toaster
Description :

SimScan is a simplified scanner for qmail similar to qmail-scanner and
qscand.
It uses clamav, trophie, and/or spamassassin.  It also supports attachment
blocking by extension.  Simscan is written entirely in C to ensure maximum
speed.  There are several options to allow simscan to scan per domain, and
reject spam mail.


                Current settings
     ---------------------------------------
     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 = ON
     spam passthru         = OFF
     spam hits             = 40

                Current simcontrol config
     ----------------------------------------------------------
     :clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif


Please find below simcontrol file
[r...@spd ~]# cat /var/qmail/control/simcontrol
test.com:clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif:.xls


Many Thanks,
Suhag.

-----Original Message-----
From: Eric Shubert [mailto:[email protected]] 
Sent: Friday, August 13, 2010 10:31 PM
To: [email protected]
Subject: [qmailtoaster] Re: FW: Re: How to complied specific package in
qmailtoaster-plus

Please post your current tcp.smtp file.
(Did you remember to run "qmailctl cdb" after changing it?)

Also, post results of:
# rpm -qi simscan-toaster
# cat /var/qmail/control/simcontrol

-- 
-Eric 'shubes'

Suhag P Desai wrote:
> Finally I manage to enable authenticated users scanned to ON but still
> problem persist...
> 
> -----Original Message-----
> From: Suhag P Desai [mailto:[email protected]] 
> Sent: Friday, August 13, 2010 9:31 AM
> To: '[email protected]'
> Subject: FW: [qmailtoaster] Re: How to complied specific package in
> qmailtoaster-plus
> 
> TO add the below ...i want to add that even after successfully applying
all
> the steps mentioned by amit, jack.....still output show that
"authenticated
> users scanned = OFF"
> 
> -----Original Message-----
> From: Suhag P Desai [mailto:[email protected]] 
> Sent: Friday, August 13, 2010 7:28 AM
> To: [email protected]
> Subject: RE: [qmailtoaster] Re: How to complied specific package in
> qmailtoaster-plus
> 
> 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 <[email protected]>
> 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:[email protected]] 
> Sent: Thursday, August 12, 2010 9:01 PM
> To: [email protected]
> 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.
> 


----------------------------------------------------------------------------
-----
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: [email protected]
     For additional commands, e-mail:
[email protected]





---------------------------------------------------------------------------------
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: [email protected]
     For additional commands, e-mail: [email protected]


Reply via email to