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.

 

Regards,

Suhag Desai.

From: Amit [mailto:a...@ikf.co.in] 
Sent: Wednesday, August 11, 2010 12:25 PM
To: qmailtoaster-list
Subject: Re: [qmailtoaster] How to complied specific package in
qmailtoaster-plus

 

Hi Suhag,

Please find steps below to compile Simscan with Enable-Spam-Auth-User:

1) Download src rpm file.
2) rpm -i simscan-toaster-*.src.rpm
3) cd /usr/src/redhat/SPEC
4) vim simscan-toaster.spec
5) Go to line number 490 i.e. authernticated users scanned = OFF and change
OFF to ON.
6) Now go to line number 563 i.e. --enable-custom-smtp-reject. Below this
line add 1 more line mentioning --enable-spam-auth-user
7) Close the SPEC file.
8) rpmbuild -ba --target-i386 simscan-toaster.spec
9) cd ../RPMS/i386
10) qmailctl stop
11) rpm -Uvh simscan*.rpm


Regards,

Amit
 

On Tue, Aug 10, 2010 at 10:28 AM, Amit <a...@ikf.co.in> wrote:

Hi Suhag,

 

Is it fine if I let you know by evening since I'm somewhere out today for
meeting.

 

Regards,

 

Amit

 

On Tue, Aug 10, 2010 at 7:17 AM, Suhag P Desai <spde...@gnvfc.net> wrote:

Hi Amit,

 

I can not find any option in SPEC file in qmailtoaster for simscan. If  you
can spare some time to let me know the excate procedure, it will be very
much helpful to me.

 

I want to recompile simscan with --enable-spam-auth-user=y option.

 

Thanks in advance..

 

Regards,

Suhag.

 

From: Amit Dalia [mailto:a...@ikf.co.in] 
Sent: Monday, August 02, 2010 5:20 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] How to complied specific package in
qmailtoaster-plus

 

Hi Suhag,

You can do this by modifying in SPEC file.

Regards,

Amit

At Monday, 02-08-2010 on 17:15 Suhag P Desai wrote:

Hi all,

 

By default, simscan does not run spamc on authenticated users.

 

If you want to scan authenticated users you will need to recompile simscan
adding the --enable-spam-auth-user=y configure value.

 

How to recompile simscan package with above option.

 

Regards,

 

Suhag.

 

 

 

Reply via email to