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/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.
