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:[email protected]]
*Sent:* Thursday, August 12, 2010 11:22 AM
*To:* [email protected]
*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/qmail/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_WRONGRCPTLIMIT="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: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to